source: pmb4.2/trunk/fuentes/pmb/classes/font/ttf2ufm/ttf2ufm-src/app/RPM/ttf2pt1.spec.src @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 963 bytes
Line 
1Summary: TrueType to Adobe Type 1 font converter
2Name: ttf2pt1
3Version: XXX
4Release: 1jv
5Source: %{name}-%{version}.tgz
6Copyright: Distributable
7Group: Utilities/Printing
8BuildRoot: /var/tmp/ttf2pt1
9
10%description
11 * True Type Font to Adobe Type 1 font converter
12 * By Mark Heath <mheath@netspace.net.au>
13 * Based on ttf2pfa by Andrew Weeks <ccsaw@bath.ac.uk>
14 * With help from Frank M. Siegert <fms@this.net>
15
16%prep
17%setup
18
19%build
20make all
21
22%install
23rm -fr $RPM_BUILD_ROOT
24mkdir -p $RPM_BUILD_ROOT/usr/local/bin
25mkdir -p $RPM_BUILD_ROOT/usr/local/share/%{name}
26mkdir -p $RPM_BUILD_ROOT/usr/local/doc
27
28install -s -m 0555 ttf2pt1 $RPM_BUILD_ROOT/usr/local/bin
29install -m 0555 scripts/* $RPM_BUILD_ROOT/usr/local/share/%{name}
30chmod 0444 $RPM_BUILD_ROOT/usr/local/share/%{name}/convert.cfg.sample
31
32%clean
33rm -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(644, root, root, 755)
37%doc README README.html INSTALL INSTALL.html
38/usr/local/bin/ttf2pt1
39/usr/local/share/%{name}
40
Note: See TracBrowser for help on using the repository browser.