From bafd139041cc83eb76e3849a95edd1702c3a0d1e Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 12:37:59 -0400 Subject: [PATCH] Auto sync2gitlab import of paktype-tehreer-fonts-4.1-8.el8.src.rpm --- .gitignore | 1 + 67-paktype-tehreer.conf | 47 +++++++++++++++ EMPTY | 1 - paktype-tehreer-fonts.spec | 116 +++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 67-paktype-tehreer.conf delete mode 100644 EMPTY create mode 100644 paktype-tehreer-fonts.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbeb9d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/PakType-Tehreer-4.1.tar.gz diff --git a/67-paktype-tehreer.conf b/67-paktype-tehreer.conf new file mode 100644 index 0000000..6b839ed --- /dev/null +++ b/67-paktype-tehreer.conf @@ -0,0 +1,47 @@ + + + + + + pa-pk + + + sans-serif + + + PakType Tehreer + + + + + + ur-pk + + + sans-serif + + + PakType Tehreer + + + + + + ur-in + + + sans-serif + + + PakType Tehreer + + + + + PakType Tehreer + + sans-serif + + + + diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/paktype-tehreer-fonts.spec b/paktype-tehreer-fonts.spec new file mode 100644 index 0000000..a3a50e0 --- /dev/null +++ b/paktype-tehreer-fonts.spec @@ -0,0 +1,116 @@ +%global fontname paktype-tehreer +%global fontconf 67-paktype + +Name: %{fontname}-fonts +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: http://downloads.sourceforge.net/paktype/Individual-Release/PakType-Tehreer-%{version}.tar.gz +Source1: %{fontconf}-tehreer.conf +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem +Obsoletes: paktype-fonts-common < %{version}i-%{release} + +%description +The paktype-tehreer-fonts package contains fonts for the display of \ +Arabic from the PakType by Lateef Sagar. + +%prep +%setup -q -c +rm -rf Code +# get rid of the white space (' ') +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.ttf PakType_Tehreer_License.txt PakType_Tehreer_Features.pdf + + +%build +echo "Nothing to do in Build." + +%install +install -m 0755 -d $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}-tehreer.conf + +ln -s %{_fontconfig_templatedir}/%{fontconf}-tehreer.conf \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf}-tehreer.conf + +%_font_pkg -f %{fontconf}-tehreer.conf PakType_Tehreer.ttf + +%doc PakType_Tehreer_License.txt PakType_Tehreer_Features.pdf + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 4.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Apr 22 2013 Pravin Satpute - 4.1-1 +- Upstream 4.1 release + +* Tue Feb 05 2013 Pravin Satpute - 4.0-3 +- upstream changed tarball + +* Wed Nov 21 2012 Pravin Satpute - 4.0-2 +- corrected upstream source url + +* Tue Nov 20 2012 Pravin Satpute - 4.0-1 +- upstream 4.0 release + +* Mon Sep 03 2012 Pravin Satpute - 2.1-1 +- upstream 2.1 release + +* Fri Jul 20 2012 Fedora Release Engineering - 2.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Nov 24 2010 Pravin Satpute - 2.0-10 +- obsoleted paktype-fonts-common, bug 656375 + +* Tue May 11 2010 Pravin Satpute - 2.0-9 +- improved .conf file, bug 586799 + +* Thu Mar 04 2010 Pravin Satpute - 2.0-8 +- new upstream release with license, rh bugfix 567300 +- added .conf file + +* Fri Feb 05 2010 Pravin Satpute - 2.0-7 +- updated as per package review bug #561271 + +* Wed Feb 03 2010 Pravin Satpute - 2.0-6 +- Initial build +- Split from paktype fonts +- keeping release 6, since paktype producing rpm with 2.0-5 diff --git a/sources b/sources new file mode 100644 index 0000000..376d458 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (PakType-Tehreer-4.1.tar.gz) = 826e666508d84b96d03f8ba49503b8a8be4cb1226be11709f97052c0925a0f9d2eb95aca6c2355e4be971c8b7672b96eba3a625744f4b0a99f501d0a7d86c759