]> git.pld-linux.org Git - packages/fonts-TTF-macfonts.git/blob - fonts-TTF-macfonts.spec
- BR: unzip; cleanups
[packages/fonts-TTF-macfonts.git] / fonts-TTF-macfonts.spec
1 Summary:        Mac OS X fonts
2 Name:           fonts-TTF-macfonts
3 Version:        0.1
4 Release:        1
5 License:        distributable
6 Group:          Fonts
7 Source0:        Fonts.zip
8 # Source0-md5:  9ec9adb4403b2f99cc0b0d1c70b0c178
9 URL:            http://www.osx-e.com/downloads/misc/macfonts.html
10 BuildRequires:  unzip
11 Requires(post,postun):  fontpostinst
12 Requires:       %{_fontsdir}/TTF
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _ttffontsdir    %{_fontsdir}/TTF
17
18 %description
19 Mac OS X fonts.
20
21 %prep
22 %setup -q -n Fonts
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
27
28 install *.ttf *.TTF $RPM_BUILD_ROOT%{_ttffontsdir}
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %post
34 fontpostinst TTF
35
36 %postun
37 fontpostinst TTF
38
39 %files
40 %defattr(644,root,root,755)
41 %doc *.txt
42 %{_ttffontsdir}/*
This page took 0.063232 seconds and 3 git commands to generate.