ced4c68
%global fontname cdac-sakal-marathi
ced4c68
%global fontconf 68-%{fontname}.conf
ced4c68
ced4c68
Name:        %{fontname}-fonts
ced4c68
Version:     9.21
e0a721c
Release:     4%{?dist}
ced4c68
Summary:     Marathi language font from CDAC
ced4c68
ced4c68
License:     OFL
ced4c68
URL:         http://sakalmarathi.cdac.in/
ced4c68
Source0:     http://sakalmarathi.cdac.in/fr/svnapi/svndata/download/binary/Sakal_Marathi_N_Ship.TTF
ced4c68
#http://sakalmarathi.cdac.in/fr/licences.php
ced4c68
Source1:     LICENSE
ced4c68
Source2:     %{fontconf}
ced4c68
BuildArch:   noarch
ced4c68
BuildRequires: fontpackages-devel
ced4c68
Requires: fontpackages-filesystem
ced4c68
ced4c68
%description 
ced4c68
Open type font for Marathi language released by CDAC.
ced4c68
ced4c68
%prep
ced4c68
%setup -q -T -c 
ced4c68
cp -p %{SOURCE1} .
ced4c68
ced4c68
%build
ced4c68
# nothing to build here
ced4c68
ced4c68
%install
ced4c68
install -m 0755 -d %{buildroot}%{_fontdir}
ced4c68
install -m 0644 -p %{SOURCE0} %{buildroot}%{_fontdir}
ced4c68
ced4c68
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
ced4c68
                   %{buildroot}%{_fontconfig_confdir}
ced4c68
ced4c68
install -m 0644 -p %{SOURCE2} \
ced4c68
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ced4c68
ln -s %{_fontconfig_templatedir}/%{fontconf} \
ced4c68
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
ced4c68
ced4c68
%_font_pkg -f %{fontconf} *.TTF
ced4c68
%doc LICENSE
ced4c68
ced4c68
ced4c68
ced4c68
%changelog
e0a721c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.21-4
e0a721c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0a721c
ced4c68
* Tue Dec 03 2013 Pravin Satpute <psatpute@redhat.com> - 9.21-3
ced4c68
- Improved summary
ced4c68
ced4c68
* Thu Nov 28 2013 Pravin Satpute <psatpute@redhat.com> - 9.21-2
ced4c68
- Removed echo from build
ced4c68
- Improved summary
ced4c68
ced4c68
* Mon Nov 18 2013 Pravin Satpute <psatpute@redhat.com> - 9.21-1
ced4c68
- Initial build