Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
66b5704666
!9 [sync] PR-7: 替换成source地址指定的tar包,让md5值和上游保持一致
From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-03-29 06:32:20 +00:00
lyn1001
63939dab19 Change source
(cherry picked from commit 7ae51c89d347026c27182e47dbbd062b7b848303)
2024-03-29 11:15:38 +08:00
openeuler-ci-bot
410bc6f43a
!4 Upgrade to version 6.0
From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-21 08:57:21 +00:00
lyn1001
80a44a6bf6 update to 6.0 2022-06-21 16:25:15 +08:00
openeuler-ci-bot
891321b1ac !3 【轻量级 PR】:修正yaml错误
Merge pull request !3 from Shinwell_Hu/N/A
2020-07-08 14:38:38 +08:00
Shinwell_Hu
479464717a 修正yaml错误 2020-06-24 16:18:06 +08:00
openeuler-ci-bot
1a73734c42 !2 Add yaml file
Merge pull request !2 from 李振华/master
2020-05-07 17:12:26 +08:00
lizhenhua
df5b7a1ea9 Add yaml file 2020-05-07 16:54:21 +08:00
openeuler-ci-bot
6a4e999358 !1 package init
Merge pull request !1 from ultra_planet/new
2020-02-14 17:48:48 +08:00
ultra_planet
b12f3fcd24 package init 2020-02-14 11:20:21 +08:00
4 changed files with 107 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>pa-pk</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>PakType Naskh Basic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ur</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>PakType Naskh Basic</string>
</edit>
</match>
<alias>
<family>PakType Naskh Basic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,68 @@
%global fontname paktype-naskh-basic
%global fontconf 65-0-paktype-naskh-basic.conf
Name: paktype-naskh-basic-fonts
Version: 6.0
Release: 2
Summary: Font supporting Arabic Script
License: GPLv2 with exceptions
URL: https://sourceforge.net/projects/paktype/
Source0: https://sourceforge.net/p/paktype/code/HEAD/tree/Fonts/Release/PakType-Naskh-Basic-%{version}.tar.gz?format=raw#/%{name}-%{version}.tar.gz
Source1: paktype-naskh-basic-fonts.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
Unicode based open source OpenType font supporting Arabic Script under the terms \
of the GNU General Public License as published by the Free Software Foundation.
%package_help
%prep
%autosetup -c -n %{name}-%{version}
rm -rf Code
mv PakType\ Naskh\ Basic\ License.txt PakType_Naskh_Basic_License.txt
mv PakType\ Naskh\ Basic\ Features.pdf PakTypeNaskhBasicFeatures.pdf
%{__sed} -i 's/\r//' PakType_Naskh_Basic_License.txt
chmod a-x PakType_Naskh_Basic_License.txt PakTypeNaskhBasicFeatures.pdf
%build
%install
pushd %{buildroot}
install -m 0755 -d .%{_fontdir}
install -m 0644 -p %{_builddir}/%{buildsubdir}/PakTypeNaskhBasic.ttf .%{_fontdir}
install -m 0755 -d .%{_fontconfig_templatedir} \
.%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} .%{_fontconfig_templatedir}/%{fontconf}
popd
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%files
%defattr(-,root,root)
%doc PakType_Naskh_Basic_License.txt
%{_sysconfdir}/fonts/conf.d/%{fontconf}
%{_datadir}/fonts/%{fontname}/*.ttf
%{_datadir}/fontconfig/conf.avail/%{fontconf}
%files help
%defattr(-,root,root)
%doc PakTypeNaskhBasicFeatures.pdf
%changelog
* Mon Nov 21 2022 liyanan <liyanan32@h-partners.com> - 6.0-2
- Change source
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 6.0-1
- Upgrade to version 6.0
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 4.1-12
- Package init

View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: https://svn.code.sf.net/p/paktype/code/Fonts
tag_prefix: ""
seperator: ""