- release 7 (by relup.sh)
[packages/fonts-TTF-bitstream-vera.git] / fonts-TTF-bitstream-vera.spec
1 %define tarname ttf-bitstream-vera
2 Summary:        Bitstream Vera TrueType fonts
3 Summary(pl.UTF-8):      Fonty TrueType Bitstream Vera
4 Name:           fonts-TTF-bitstream-vera
5 Version:        1.10
6 Release:        7
7 License:        distributable
8 Group:          Fonts
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/%{tarname}-%{version}.tar.bz2
10 # Source0-md5:  bb22bd5b4675f5dbe17c6963d8c00ed6
11 Source1:        %{name}.fontconfig
12 URL:            http://www.gnome.org/fonts/
13 Requires(post,postun):  fontpostinst
14 Requires:       %{_fontsdir}/TTF
15 Requires:       fontconfig >= 1:2.10.1
16 Obsoletes:      fonts-ttf-bitstream-vera
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _ttffontsdir    %{_fontsdir}/TTF
21
22 %description
23 This package contains Bitstream Vera TrueType fonts (TTF).
24
25 %description -l pl.UTF-8
26 Pakiet ten zawiera fonty TrueType (TTF) Bitstream Vera.
27
28 %prep
29 %setup -q -n %{tarname}-%{version}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
34 install -d $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail
35 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
36
37 install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
38 install %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/60-verdana.conf
39 ln -s %{_datadir}/fontconfig/conf.avail/60-verdana.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %post
45 fontpostinst TTF
46
47 %postun
48 fontpostinst TTF
49
50 %files
51 %defattr(644,root,root,755)
52 # README.TXT is almost empty
53 %doc COPYRIGHT.TXT RELEASENOTES.TXT
54 %{_ttffontsdir}/*
55 %{_datadir}/fontconfig/conf.avail/60-verdana.conf
56 %{_sysconfdir}/fonts/conf.d/60-verdana.conf
This page took 0.089553 seconds and 3 git commands to generate.