saab-fonts/saab-fonts.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

2009-06-03 01:26:46 +00:00
%global fontname saab
2009-09-04 04:49:31 +00:00
%global fontconf 67-%{fontname}.conf
2009-06-03 01:26:46 +00:00
Name: %{fontname}-fonts
Version: 0.91
2009-09-04 04:18:28 +00:00
Release: 3%{?dist}
2009-06-03 01:26:46 +00:00
Summary: Free Punjabi Unicode OpenType Font
Group: User Interface/X
License: GPLv2+ with exceptions
URL: http://guca.sourceforge.net/typography/fonts/saab/
Source0: http://downloads.sf.net/guca/saab.0.91.zip
2009-09-04 04:18:28 +00:00
Source1: %{name}-fontconfig.conf
2009-06-03 01:26:46 +00:00
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
This package provides a free OpenType Punjabi (Gurmukhi) font.
Developed by Bhupinder Singh
%prep
%setup -q -c
%build
echo "Nothing to do in Build."
%install
rm -rf $RPM_BUILD_ROOT
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p Saab.otf $RPM_BUILD_ROOT%{_fontdir}
2009-09-04 04:18:28 +00:00
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
2009-06-03 01:26:46 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
2009-09-04 04:49:31 +00:00
%_font_pkg Saab.otf -f %{fontconf}
2009-06-03 01:26:46 +00:00
%doc
%changelog
2009-09-04 04:18:28 +00:00
* Tue Sep 04 2009 A S Alam <aalam@redhat.com> - 0.91-3
- Add fontconfig conf file
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-06-03 01:26:46 +00:00
* Tue Jun 2 2009 A S Alam <aalam@redhat.com> - 0.91-1
- New Package Build for Punjabi Unicode Font