]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/commitdiff
- new
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Tue, 22 Feb 2011 12:52:51 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fonts-OTF-Cantarell.spec -> 1.1

fonts-OTF-Cantarell.spec [new file with mode: 0644]

diff --git a/fonts-OTF-Cantarell.spec b/fonts-OTF-Cantarell.spec
new file mode 100644 (file)
index 0000000..ad140e1
--- /dev/null
@@ -0,0 +1,51 @@
+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
This page took 0.051643 seconds and 4 git commands to generate.