1 Star 0 Fork 0

jhon-hsu/bitstream-vera-fonts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bitstream-vera-fonts.spec 6.52 KB
一键复制 编辑 原始数据 按行查看 历史
jhon-hsu 提交于 2021-08-12 15:38 . commit source packages and SPEC file
%global fontname bitstream-vera
%global archivename ttf-bitstream-vera
%global common_desc \
The Vera fonts are high-quality Latin fonts donated by Bitstream. \
These fonts have been released under a liberal license, see the \
licensing FAQ in COPYRIGHT.TXT or the online up-to-date version \
at %{url} for details.
Name: %{fontname}-fonts
Version: 1.10
Release: 29%{?dist}
Summary: Bitstream Vera fonts
Group: User Interface/X
License: Bitstream Vera
URL: http://www.gnome.org/fonts/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{archivename}/%{version}/%{archivename}-%{version}.tar.bz2
Source1: %{fontname}.metainfo.xml
Source2: %{fontname}-sans.metainfo.xml
Source3: %{fontname}-serif.metainfo.xml
Source4: %{fontname}-sans-mono.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
%description
%common_desc
%package common
Summary: Common files of the Bitstream Vera font set
Requires: fontpackages-filesystem
Obsoletes: %{name}-compat < 1.10-17
%description common
%common_desc
This package consists of files used by other %{name} packages.
%package -n %{fontname}-sans-fonts
Summary: Variable-width sans-serif Bitstream Vera fonts
Requires: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-sans < 1.10-13
%description -n %{fontname}-sans-fonts
%common_desc
This package consists of the Bitstream Vera sans-serif variable-width font
faces.
%_font_pkg -n sans Vera.ttf VeraBd.ttf VeraIt.ttf VeraBI.ttf
%{_datadir}/appdata/%{fontname}-sans.metainfo.xml
%package -n %{fontname}-serif-fonts
Summary: Variable-width serif Bitstream Vera fonts
Requires: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-serif < 1.10-13
%description -n %{fontname}-serif-fonts
%common_desc
This package consists of the Bitstream Vera serif variable-width font faces.
%_font_pkg -n serif VeraSe*ttf
%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
%package -n %{fontname}-sans-mono-fonts
Summary: Monospace sans-serif Bitstream Vera fonts
Requires: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-sans-mono < 1.10-13
%description -n %{fontname}-sans-mono-fonts
%common_desc
This package consists of the Bitstream Vera sans-serif monospace font faces.
%_font_pkg -n sans-mono VeraMo*ttf
%{_datadir}/appdata/%{fontname}-sans-mono.metainfo.xml
%prep
%setup -q -n %{archivename}-%{version}
%build
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE1} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
install -Dm 0644 -p %{SOURCE2} \
%{buildroot}%{_datadir}/appdata/%{fontname}-sans.metainfo.xml
install -Dm 0644 -p %{SOURCE3} \
%{buildroot}%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
install -Dm 0644 -p %{SOURCE4} \
%{buildroot}%{_datadir}/appdata/%{fontname}-sans-mono.metainfo.xml
%clean
rm -fr %{buildroot}
%files common
%defattr(0644,root,root,0755)
%{_datadir}/appdata/%{fontname}.metainfo.xml
%doc *.TXT
%changelog
* Fri Feb 10 2017 Fedora Release Engineering <[email protected]> - 1.10-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <[email protected]> - 1.10-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 1.10-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Oct 17 2014 Richard Hughes <[email protected]> - 1.10-26
- Fix the metainfo description...
* Fri Oct 17 2014 Richard Hughes <[email protected]> - 1.10-25
- Add a MetaInfo file for the software center; this is a font we want to show.
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 1.10-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 1.10-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <[email protected]> - 1.10-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <[email protected]> - 1.10-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jan 12 2012 Fedora Release Engineering <[email protected]> - 1.10-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <[email protected]> - 1.10-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 1.10-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat May 23 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.10-17
— remove pre-F11 compatibility metapackage
* Mon Feb 23 2009 Fedora Release Engineering <[email protected]>
- 1.10-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.10-15
— prepare for F11 mass rebuild, new rpm and new fontpackages
* Thu Jan 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.10-14
– update for new naming guidelines
– build with new fontpackages (1.15)
* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
- 1.10-12
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
* Fri Nov 14 2008 <nicolas.mailhot at laposte.net>
- 1.10-11
▤ Rebuild using new « rpm-fonts »
* Fri Aug 10 2007 Matthias Clasen <[email protected]> - 1.10-8
- Update license field
- Shorten description line
* Fri Sep 08 2006 Behdad Esfahbod <[email protected]> - 1.10-7
- s/latin/Latin/ in package description (#205693)
* Fri Jul 14 2006 Behdad Esfahbod <[email protected]> - 1.10-6
- remove ghost file fonts.cache-1 as fontconfig uses out of tree
cache files now.
* Wed Jul 12 2006 Jesse Keating <[email protected]> - 1.10-5.1.1
- rebuild
* Fri Dec 09 2005 Jesse Keating <[email protected]>
- rebuilt
* Sat Jan 08 2005 Florian La Roche <[email protected]>
- rebuilt to get rid of legacy selinux filecontexts
* Sun May 30 2004 Florian La Roche <[email protected]>
- change post/postun scripts
* Fri Feb 13 2004 Elliot Lee <[email protected]>
- rebuilt
* Tue Jun 10 2003 Owen Taylor <[email protected]> 1.10-1
- Base package on spec file from Nicolas Mailhot <Nicolas.Mailhot at laPoste.net>
- Cleanups from Warren Togami and Nicolas Mailhot
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jhon-hsu/bitstream-vera-fonts.git
[email protected]:jhon-hsu/bitstream-vera-fonts.git
jhon-hsu
bitstream-vera-fonts
bitstream-vera-fonts
master

搜索帮助