52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
Name: ttf-bitstream-vera
|
|
Version: 1.10
|
|
Release: 2mamba
|
|
Summary: Bitstream Vera TrueType Fonts
|
|
Group: System/Fonts
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.gnome.org/fonts/
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/%{version}/ttf-bitstream-vera-%{version}.tar.bz2
|
|
License: no OSI Approved
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Bitstream Vera TrueType Fonts.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -d %{buildroot}%{_datadir}/fonts/truetype
|
|
install -m 0644 *.ttf %{buildroot}%{_datadir}/fonts/truetype
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
# something has probably changed, update the font-config cache
|
|
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
|
exit 0
|
|
|
|
%preun
|
|
# erase
|
|
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/fonts/truetype/Vera*.ttf
|
|
%doc README.TXT COPYRIGHT.TXT
|
|
|
|
%changelog
|
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 1.10-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed May 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1mamba
|
|
- package created by autospec
|