|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
%global priority 67
|
|
|
|
|
%global fontname paktype-tehreer
|
|
|
|
|
%global fontconf %{priority}-%{fontname}
|
|
|
|
|
%global fontconf 67-paktype
|
|
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
|
Version: 5.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 4.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Fonts for Arabic from PakType
|
|
|
|
|
Group: User Interface/X
|
|
|
|
|
License: GPLv2 with exceptions
|
|
|
|
|
URL: https://sourceforge.net/projects/paktype/
|
|
|
|
|
Source0: https://sourceforge.net/projects/paktype/files/PakType-Release-2019-03-11.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: %{fontconf}.conf
|
|
|
|
|
Source0: http://downloads.sourceforge.net/paktype/Individual-Release/PakType-Tehreer-%{version}.tar.gz
|
|
|
|
|
Source1: %{fontconf}-tehreer.conf
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
@ -23,11 +23,12 @@ Arabic from the PakType by Lateef Sagar.
|
|
|
|
|
%setup -q -c
|
|
|
|
|
rm -rf Code
|
|
|
|
|
# get rid of the white space (' ')
|
|
|
|
|
mv License\ files/PakType\ Tehreer\ License.txt PakType_Tehreer_License.txt
|
|
|
|
|
mv Features/PakType\ Tehreer\ Features.pdf PakTypeTehreerFeatures.pdf
|
|
|
|
|
mv PakType\ Tehreer.ttf PakType_Tehreer.ttf
|
|
|
|
|
mv PakType\ Tehreer\ License.txt PakType_Tehreer_License.txt
|
|
|
|
|
mv PakType\ Tehreer\ Features.pdf PakType_Tehreer_Features.pdf
|
|
|
|
|
|
|
|
|
|
%{__sed} -i 's/\r//' PakType_Tehreer_License.txt
|
|
|
|
|
chmod a-x PakType_Tehreer_License.txt PakTypeTehreerFeatures.pdf
|
|
|
|
|
chmod a-x PakType_Tehreer.ttf PakType_Tehreer_License.txt PakType_Tehreer_Features.pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -35,51 +36,22 @@ echo "Nothing to do in Build."
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
|
|
|
|
|
install -m 0644 -p PakTypeTehreer.ttf $RPM_BUILD_ROOT%{_fontdir}
|
|
|
|
|
install -m 0644 -p PakType_Tehreer.ttf $RPM_BUILD_ROOT%{_fontdir}
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-tehreer.conf
|
|
|
|
|
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf}-tehreer.conf \
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-tehreer.conf
|
|
|
|
|
|
|
|
|
|
%_font_pkg -f %{fontconf}.conf PakTypeTehreer.ttf
|
|
|
|
|
%ghost %attr(644, root, root) %{_fontdir}/.uuid
|
|
|
|
|
%_font_pkg -f %{fontconf}-tehreer.conf PakType_Tehreer.ttf
|
|
|
|
|
|
|
|
|
|
%doc PakType_Tehreer_License.txt PakTypeTehreerFeatures.pdf
|
|
|
|
|
%doc PakType_Tehreer_License.txt PakType_Tehreer_Features.pdf
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 5.0-1
|
|
|
|
|
- Upstream 5.0 Release
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|