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