From 78ae1fd9b4dbf60128c6453cf168cdc3041ae95b Mon Sep 17 00:00:00 2001 From: nim Date: Thu, 23 Jun 2005 19:10:12 +0000 Subject: [PATCH] auto-import dejavu-fonts-1.11-1 on branch devel from dejavu-fonts-1.11-1.src.rpm --- .cvsignore | 1 + dejavu-fonts.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 81 insertions(+) create mode 100644 dejavu-fonts.spec diff --git a/.cvsignore b/.cvsignore index e69de29..6b7230b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dejavu-ttf-1.11.tar.gz diff --git a/dejavu-fonts.spec b/dejavu-fonts.spec new file mode 100644 index 0000000..7dbb0f8 --- /dev/null +++ b/dejavu-fonts.spec @@ -0,0 +1,79 @@ +%define archivename dejavu-ttf +%define fontdir %{_datadir}/fonts/dejavu + +Name: dejavu-fonts +Version: 1.11 +Release: 1%{?dist} +Summary: DejaVu Fonts +Group: User Interface/X +License: Redistributable, with restrictions +URL: http://dejavu.sf.net/ +Source: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +%description +The DejaVu fonts are a font family based on the Bitstream Vera Fonts release +1.10. Its purpose is to provide a wider range of characters (see Current status +page for more information) while maintaining the original look and feel through +the process of collaborative develop + +%prep +%setup -q -n %{archivename}-%{version} + +%build + +%install +/bin/rm -rf %{buildroot} + +#fonts +install -d -m 0755 %{buildroot}%{fontdir} +install -m 0644 *.ttf %{buildroot}%{fontdir} + +# "touch" all files we've got flagged as %ghost but which are not +# present in the RPM_BUILD_ROOT when RPM looks for files +/bin/touch %{buildroot}%{fontdir}/fonts.cache-1 + + +%clean +/bin/rm -rf %{buildroot} + + +%post +if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{_datadir}/fonts +fi + +%postun +if [ "$1" = "0" ]; then + if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{_datadir}/fonts + fi +fi + + +%files +%defattr(0644,root,root,0755) +%doc *.txt AUTHORS BUGS LICENSE NEWS README + +%dir %{fontdir} +%{fontdir}/*.ttf +%ghost %{fontdir}/fonts.cache-1 + + +%changelog +* Thu Jun 23 2005 Nicolas Mailhot 1.11-1 +- 1.11 + +* Mon May 22 2005 Nicolas Mailhot 1.10-1 +- 1.10 + +* Sat May 21 2005 Nicolas Mailhot 1.9-2 +- 1.9 +- submission to FCE + +* Sat Feb 19 2005 Nicolas Mailhot 1.7-1 +- initial build - using vera as template + +* Sat Jan 08 2005 Florian La Roche +- rebuilt to get rid of legacy selinux filecontexts diff --git a/sources b/sources index e69de29..fa32926 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7dc69c0afc8fd28b74720413d17e78f4 dejavu-ttf-1.11.tar.gz