source: projects/specs/trunk/T/TrueType-bitstream-vera/TrueType-bitstream-vera-vl.spec @ 8178

Revision 8178, 2.1 KB checked in by tanakanata, 7 years ago (diff)

only rebuild

Line 
1%define archivename     ttf-bitstream-vera
2%define fontdir         %{_datadir}/fonts/bitstream-vera
3%define __fccache       umask 133; which fc-cache >& /dev/null && fc-cache
4
5Name:      TrueType-bitstream-vera
6Version:   1.10
7Release:   3%{?_dist_release}
8Summary:   Bitstream Vera Fonts
9Summary:   Bitstream Vera フォント
10Group:     User Interface/X
11License:   Redistributable, with restrictions
12URL:       http://www.gnome.org/fonts/
13Source:    ftp://ftp.gnome.org/pub/GNOME/sources/%{archivename}/%{version}/%{archivename}-%{version}.tar.bz2
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
15BuildArch: noarch
16Provides:  bitstream-vera-fonts
17
18%description
19The Vera fonts are high-quality latin fonts donated by Bitstream.
20These fonts have been released under a liberal license, see
21the licensing FAQ in %{_docdir}/%{name}-%{version}/COPYRIGHT.TXT or the
22online up-to-date version at %{url} for details.
23
24
25%prep
26%setup -q -n %{archivename}-%{version}
27
28%build
29
30%install
31/bin/rm -rf $RPM_BUILD_ROOT
32
33#fonts
34install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
35install -m 0644 *.ttf  $RPM_BUILD_ROOT%{fontdir}
36
37# "touch" all files we've got flagged as %ghost  but which are not
38# present in the RPM_BUILD_ROOT when RPM looks for files
39/bin/touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1
40
41
42%clean
43/bin/rm -rf $RPM_BUILD_ROOT
44
45
46%post
47%__fccache %{fontdir} ||:
48
49
50%postun
51if [ "$1" = "0" ]; then
52   %__fccache %{_fontdir} ||:
53fi
54
55
56%files
57%defattr(0644,root,root,0755)
58%doc *.TXT
59%dir %{fontdir}
60%{fontdir}/*.ttf
61%ghost %{fontdir}/fonts.cache-1
62
63
64%changelog
65* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.10-3
66- built with gcc-4.8
67
68* Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-2
69- rebuild with rpm-4.8.1
70
71* Sun Oct 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.10-1vl5
72- applied new versioning policy, spec in utf-8
73
74* Sun Dec 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-0vl1
75- initial build for Vine Linux
76
77* Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 1.10-1
78- Base package on spec file from Nicolas Mailhot <Nicolas.Mailhot at laPoste.net>
79- Cleanups from Warren Togami and Nicolas Mailhot
Note: See TracBrowser for help on using the repository browser.