packages: fonts-OTF-Cantarell/fonts-OTF-Cantarell.spec (NEW) - new

megabajt megabajt at pld-linux.org
Tue Feb 22 13:52:56 CET 2011


Author: megabajt                     Date: Tue Feb 22 12:52:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/fonts-OTF-Cantarell:
   fonts-OTF-Cantarell.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/fonts-OTF-Cantarell/fonts-OTF-Cantarell.spec
diff -u /dev/null packages/fonts-OTF-Cantarell/fonts-OTF-Cantarell.spec:1.1
--- /dev/null	Tue Feb 22 13:52:56 2011
+++ packages/fonts-OTF-Cantarell/fonts-OTF-Cantarell.spec	Tue Feb 22 13:52:51 2011
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	Cantarell fonts
+Name:		fonts-OTF-Cantarell
+Version:	0.0.3
+Release:	1
+License:	OFL
+Group:		Fonts
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-%{version}.tar.bz2
+# Source0-md5:	c8fa9efd26ada192ec337f9f7b7465b5
+URL:		http://abattis.org/cantarell/
+Requires(post,postun):	fontpostinst
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_otffontsdir	%{_fontsdir}/OTF
+
+%description
+Cantarell is a set of fonts designed by Dave Crossland. It is a
+sans-serif Humanist typeface family.
+
+%prep
+%setup -q -n cantarell-fonts-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_otffontsdir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+
+cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir}
+cp fontconfig/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+ln -s ../conf.avail/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst OTF
+
+%postun
+fontpostinst OTF
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
+%{_sysconfdir}/fonts/conf.d/31-cantarell.conf
+%{_otffontsdir}/*.otf
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/02/22 12:52:51  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list