Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f74ee36f00
!17 [sync] PR-16: repair SOURCE file loss
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2024-09-29 03:13:57 +00:00
wk333
8a788e4e14 repair SOURCE file loss
(cherry picked from commit c2339a7ff5a51ddb93c3c714633c86c31415afd9)
2024-09-29 10:31:19 +08:00
openeuler-ci-bot
21719c8792
!15 [sync] PR-7: 【轻量级 PR】:Rebuild for next release
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2024-09-29 01:45:54 +00:00
zhouwenpei
c46556cfc9 Rebuild for next release
Signed-off-by: zhouwenpei <zhouwenpei050@chinasoftinc.com>
(cherry picked from commit 2d7ec585ec1c818f316743060497f8272c37e72e)
2024-09-29 09:22:20 +08:00
openeuler-ci-bot
92f36058c7 !5 [sync] PR-4: Version upgrade to dejavu-fonts-2.37
From: @openeuler-sync-bot
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-03-09 09:40:27 +08:00
yeah_wang
8236dbe947 Upgrade version to 2.37
(cherry picked from commit 5803be3004fd9b3c6f81f0c5d0bc0d9ef31adc8a)
2021-02-02 20:15:50 +08:00
openeuler-ci-bot
5da2511a02 !2 change files path
Merge pull request !2 from 码云爸爸/master
2020-01-09 14:35:25 +08:00
eric14chan
ee82b51285 modify 2020-01-08 21:53:46 +08:00
openeuler-ci-bot
a01d121085 !1 add sources files
Merge pull request !1 from 码云爸爸/master
2019-12-10 16:16:27 +08:00
eric14chan
a64187aae9 add sources files 2019-12-10 15:41:10 +08:00
6 changed files with 107 additions and 0 deletions

BIN
dejavu-fonts-2.37.tar.bz2 Normal file

Binary file not shown.

78
dejavu-fonts.spec Normal file
View File

@ -0,0 +1,78 @@
Name: dejavu-fonts
Version: 2.37
Release: 3
Summary: DejaVu fonts
License: Bitstream Vera and Public Domain
URL: http://%{name}.org/
Source0: https://sourceforge.net/projects/dejavu/files/dejavu/%{version}/%{name}-%{version}.tar.bz2
Source1: dejavu.metainfo.xml
Source2: dejavu-sans.metainfo.xml
Source3: dejavu-sans-mono.metainfo.xml
Source4: dejavu-serif.metainfo.xml
BuildArch: noarch
BuildRequires: fontforge >= 20080429 perl(Font::TTF) unicode-ucd fontpackages-devel
Requires: fontpackages-filesystem
Provides: %{name}-common dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts
Obsoletes: %{name}-common dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts
Provides: dejavu-lgc-sans-fonts dejavu-lgc-serif-fonts dejavu-lgc-sans-mono-fonts
Obsoletes: dejavu-lgc-sans-fonts dejavu-lgc-serif-fonts dejavu-lgc-sans-mono-fonts
Obsoletes: %{name}-lgc-compat < 2.29-3 %{name}-sans < 2.28-2 %{name}-serif < 2.28-2 %{name}-doc < 2.26-6 %{name}-compat < 2.29-3
Obsoletes: %{name}-sans-mono < 2.28-2 %{name}-lgc-sans < 2.28-2 %{name}-lgc-serif < 2.28-2 %{name}-lgc-sans-mono < 2.28-2
%description
The DejaVu fonts are a font family based on the Vera Fonts.
Its purpose is to provide a wider range of characters while maintaining the original look
and feel through the process of collaborative development, under a Free license.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build VERSION=%{version} FC-LANG="" BLOCKS=%{_datadir}/unicode/ucd/Blocks.txt \
UNICODEDATA=%{_datadir}/unicode/ucd/UnicodeData.txt
bzip2 -9 build/status.txt
%check
make check
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_datadir}/fonts/dejavu
install -m 0644 -p build/*.ttf %{buildroot}%{_datadir}/fonts/dejavu
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
cd fontconfig
for fontconf in *conf ; do
install -m 0644 -p $fontconf %{buildroot}%{_fontconfig_templatedir}
ln -s %{_fontconfig_templatedir}/$fontconf %{buildroot}%{_fontconfig_confdir}/$fontconf
done
install -Dm 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/appdata/dejavu.metainfo.xml
install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata/dejavu-sans.metainfo.xml
install -Dm 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/appdata/dejavu-sans-mono.metainfo.xml
install -Dm 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/appdata/dejavu-serif.metainfo.xml
%files
%{_fontconfig_templatedir}/*-dejavu-*.conf
%{_fontconfig_confdir}/*-dejavu-*.conf
%{_datadir}/fonts/dejavu/DejaVu*.ttf
%{_datadir}/appdata/*.metainfo.xml
%doc AUTHORS BUGS LICENSE NEWS README.md
%doc build/unicover.txt build/status.txt.bz2
%changelog
* Thu Aug 1 2024 zhangpan <zhangpan103@h-partners.com> - 2.37-3
- repair SOURCE file loss
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.37-2
- Rebuild for next release
* Tue Feb 2 2021 yanglu <yanglu60@huawei.com> - 2.37-1
- update to 2.37
* Wed Jan 8 2020 chenzhenyu <chenzhenyu13@huawei.com> - 2.35-8
- change %files
* Wed Nov 27 2019 chenzhenyu <chenzhenyu13@huawei.com> - 2.35-8
- Package init

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>dejavu-sans-mono</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>dejavu</extends>
</component>

7
dejavu-sans.metainfo.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>dejavu-sans</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>dejavu</extends>
</component>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>dejavu-serif</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>dejavu</extends>
</component>

8
dejavu.metainfo.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>dejavu</id>
<metadata_license>CC0-1.0</metadata_license>
<name>DejaVu</name>
<summary>A set of sans-serif font faces</summary>
</component>