|
|
a61c19 |
%global spectemplatedir %{_sysconfdir}/rpmdevtools/
|
|
|
a61c19 |
%global ftcgtemplatedir %{_datadir}/fontconfig/templates/
|
|
|
a61c19 |
%global rpmmacrodir %{_sysconfdir}/rpm/
|
|
|
a61c19 |
|
|
|
a61c19 |
Name: fontpackages
|
|
|
a61c19 |
Version: 1.44
|
|
|
a61c19 |
Release: 8%{?dist}
|
|
|
a61c19 |
Summary: Common directory and macro definitions used by font packages
|
|
|
a61c19 |
|
|
|
a61c19 |
Group: Development/System
|
|
|
a61c19 |
# Mostly means the scriptlets inserted via this package do not change the
|
|
|
a61c19 |
# license of the packages they're inserted in
|
|
|
a61c19 |
License: LGPLv3+
|
|
|
a61c19 |
URL: http://fedoraproject.org/wiki/fontpackages
|
|
|
a61c19 |
Source0: http://fedorahosted.org/releases/f/o/%{name}/%{name}-%{version}.tar.xz
|
|
|
a61c19 |
|
|
|
a61c19 |
BuildArch: noarch
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%description
|
|
|
a61c19 |
This package contains the basic directory layout, spec templates, rpm macros
|
|
|
a61c19 |
and other materials used to create font packages.
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%package filesystem
|
|
|
a61c19 |
Summary: Directories used by font packages
|
|
|
a61c19 |
License: Public Domain
|
|
|
a61c19 |
|
|
|
a61c19 |
%description filesystem
|
|
|
a61c19 |
This package contains the basic directory layout used by font packages,
|
|
|
a61c19 |
including the correct permissions for the directories.
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%package devel
|
|
|
a61c19 |
Summary: Templates and macros used to create font packages
|
|
|
a61c19 |
|
|
|
a61c19 |
Requires: rpmdevtools, %{name}-filesystem = %{version}-%{release}
|
|
|
a61c19 |
Requires: fontconfig
|
|
|
a61c19 |
|
|
|
a61c19 |
%description devel
|
|
|
a61c19 |
This package contains spec templates, rpm macros and other materials used to
|
|
|
a61c19 |
create font packages.
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%package tools
|
|
|
a61c19 |
Summary: Tools used to check fonts and font packages
|
|
|
a61c19 |
|
|
|
a61c19 |
Requires: fontconfig, fontforge
|
|
|
a61c19 |
Requires: curl, make, mutt
|
|
|
a61c19 |
Requires: rpmlint, yum-utils
|
|
|
a61c19 |
|
|
|
a61c19 |
# repo-font-audit script need to run fedoradev-pkgowners command
|
|
|
a61c19 |
# which is available on Fedora only and not on RHEL.
|
|
|
a61c19 |
%if 0%{?fedora}
|
|
|
a61c19 |
Requires: fedora-packager
|
|
|
a61c19 |
%endif
|
|
|
a61c19 |
|
|
|
a61c19 |
%description tools
|
|
|
a61c19 |
This package contains tools used to check fonts and font packages
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%prep
|
|
|
a61c19 |
%setup -q
|
|
|
a61c19 |
%if 0%{?rhel}
|
|
|
a61c19 |
sed -i 's|/usr/bin/fedoradev-pkgowners|""|g' bin/repo-font-audit
|
|
|
a61c19 |
%endif
|
|
|
a61c19 |
|
|
|
a61c19 |
%build
|
|
|
a61c19 |
for file in bin/repo-font-audit bin/compare-repo-font-audit ; do
|
|
|
a61c19 |
sed -i "s|^DATADIR\([[:space:]]*\)\?=\(.*\)$|DATADIR=%{_datadir}/%{name}|g" \
|
|
|
a61c19 |
$file
|
|
|
a61c19 |
done
|
|
|
a61c19 |
|
|
|
a61c19 |
%install
|
|
|
a61c19 |
rm -fr %{buildroot}
|
|
|
a61c19 |
|
|
|
a61c19 |
# Pull macros out of macros.fonts and emulate them during install
|
|
|
a61c19 |
for dir in fontbasedir fontconfig_masterdir \
|
|
|
a61c19 |
fontconfig_confdir fontconfig_templatedir ; do
|
|
|
a61c19 |
export _${dir}=$(rpm --eval $(%{__grep} -E "^%_${dir}\b" \
|
|
|
a61c19 |
rpm/macros.fonts | %{__awk} '{ print $2 }'))
|
|
|
a61c19 |
done
|
|
|
a61c19 |
|
|
|
a61c19 |
install -m 0755 -d %{buildroot}${_fontbasedir} \
|
|
|
a61c19 |
%{buildroot}${_fontconfig_masterdir} \
|
|
|
a61c19 |
%{buildroot}${_fontconfig_confdir} \
|
|
|
a61c19 |
%{buildroot}${_fontconfig_templatedir} \
|
|
|
a61c19 |
%{buildroot}%{spectemplatedir} \
|
|
|
a61c19 |
%{buildroot}%{rpmmacrodir} \
|
|
|
a61c19 |
%{buildroot}%{_datadir}/fontconfig/templates \
|
|
|
a61c19 |
%{buildroot}/%_datadir/%{name} \
|
|
|
a61c19 |
%{buildroot}%{_bindir}
|
|
|
a61c19 |
install -m 0644 -p spec-templates/*.spec %{buildroot}%{spectemplatedir}
|
|
|
a61c19 |
install -m 0644 -p fontconfig-templates/* %{buildroot}%{ftcgtemplatedir}
|
|
|
a61c19 |
install -m 0644 -p rpm/macros* %{buildroot}%{rpmmacrodir}
|
|
|
a61c19 |
install -m 0644 -p private/repo-font-audit.mk %{buildroot}/%{_datadir}/%{name}
|
|
|
a61c19 |
install -m 0755 -p private/core-fonts-report \
|
|
|
a61c19 |
private/font-links-report \
|
|
|
a61c19 |
private/fonts-report \
|
|
|
a61c19 |
private/process-fc-query \
|
|
|
a61c19 |
private/test-info %{buildroot}/%{_datadir}/%{name}
|
|
|
a61c19 |
install -m 0755 -p bin/* %{buildroot}%{_bindir}
|
|
|
a61c19 |
|
|
|
a61c19 |
cat <<EOF > %{name}-%{version}.files
|
|
|
a61c19 |
%defattr(0644,root,root,0755)
|
|
|
a61c19 |
%dir ${_fontbasedir}
|
|
|
a61c19 |
%dir ${_fontconfig_masterdir}
|
|
|
a61c19 |
%dir ${_fontconfig_confdir}
|
|
|
a61c19 |
%dir ${_fontconfig_templatedir}
|
|
|
a61c19 |
EOF
|
|
|
a61c19 |
|
|
|
a61c19 |
%clean
|
|
|
a61c19 |
rm -fr %{buildroot}
|
|
|
a61c19 |
|
|
|
a61c19 |
|
|
|
a61c19 |
%files filesystem -f %{name}-%{version}.files
|
|
|
a61c19 |
%defattr(0644,root,root,0755)
|
|
|
a61c19 |
%dir %{_datadir}/fontconfig
|
|
|
a61c19 |
|
|
|
a61c19 |
%files devel
|
|
|
a61c19 |
%defattr(0644,root,root,0755)
|
|
|
a61c19 |
%doc license.txt readme.txt
|
|
|
a61c19 |
%config(noreplace) %{spectemplatedir}/*.spec
|
|
|
a61c19 |
%{rpmmacrodir}/macros*
|
|
|
a61c19 |
%dir %{ftcgtemplatedir}
|
|
|
a61c19 |
%{ftcgtemplatedir}/*conf
|
|
|
a61c19 |
%{ftcgtemplatedir}/*txt
|
|
|
a61c19 |
|
|
|
a61c19 |
%files tools
|
|
|
a61c19 |
%defattr(0644,root,root,0755)
|
|
|
a61c19 |
%doc license.txt readme.txt
|
|
|
a61c19 |
%dir %{_datadir}/%{name}
|
|
|
a61c19 |
%{_datadir}/%{name}/repo-font-audit.mk
|
|
|
a61c19 |
%defattr(0755,root,root,0755)
|
|
|
a61c19 |
%{_datadir}/%{name}/core-fonts-report
|
|
|
a61c19 |
%{_datadir}/%{name}/font-links-report
|
|
|
a61c19 |
%{_datadir}/%{name}/fonts-report
|
|
|
a61c19 |
%{_datadir}/%{name}/process-fc-query
|
|
|
a61c19 |
%{_datadir}/%{name}/test-info
|
|
|
a61c19 |
%{_bindir}/*
|
|
|
a61c19 |
|
|
|
a61c19 |
%changelog
|
|
|
a61c19 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.44-8
|
|
|
a61c19 |
- Mass rebuild 2013-12-27
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Mar 09 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.44-7
|
|
|
a61c19 |
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
|
|
|
a61c19 |
(https://fedorahosted.org/fpc/ticket/259).
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-6
|
|
|
a61c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-5
|
|
|
a61c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue May 22 2012 Parag <panemade AT fedoraproject DOT org> - 1.44-4
|
|
|
a61c19 |
- Resolves:rh#761409:remove fedora-packager dependency from -tools in RHEL
|
|
|
a61c19 |
|
|
|
a61c19 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-3
|
|
|
a61c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-2
|
|
|
a61c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Jun 13 2010 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.44-1
|
|
|
a61c19 |
— Cleanup release
|
|
|
a61c19 |
|
|
|
a61c19 |
* Fri May 28 2010 Akira TAGOH <tagoh@redhat.com>
|
|
|
a61c19 |
- 1.42-2
|
|
|
a61c19 |
— Get rid of binding="same" from l10n-font-template.conf (#578015)
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Feb 13 2010 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.42-1
|
|
|
a61c19 |
— Update mailing list references
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Dec 01 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.41-1
|
|
|
a61c19 |
— Bugfix release
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Nov 28 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.40-1
|
|
|
a61c19 |
— Bugfix release
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Nov 23 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.35-1
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Nov 22 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.34-1
|
|
|
a61c19 |
— compare-repo-font-audit: make output more comprehensive
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Nov 21 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.33-1
|
|
|
a61c19 |
— repo-font-audit: add ancilliary script to compare the results of two
|
|
|
a61c19 |
different runs
|
|
|
a61c19 |
- 1.32-1
|
|
|
a61c19 |
— repo-font-audit: add test for core fonts direct use
|
|
|
a61c19 |
— repo-font-audit: replace font naming tests by a more comprehensive one
|
|
|
a61c19 |
(in a separate utility)
|
|
|
a61c19 |
— repo-font-audit: add fedora packager detection
|
|
|
a61c19 |
— repo-font-audit: parallelize (at the cost of more filesystem space use)
|
|
|
a61c19 |
— repo-font-audit: misc output and reliability fixes
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Nov 1 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.31-2
|
|
|
a61c19 |
— add yum-utils to deps
|
|
|
a61c19 |
- 1.31-1
|
|
|
a61c19 |
— Rework repo-font-audit messages based on packager feedback
|
|
|
a61c19 |
|
|
|
a61c19 |
* Thu Oct 29 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.30-1
|
|
|
a61c19 |
— Bugfix release
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Oct 27 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.29-1
|
|
|
a61c19 |
— Split out tools as repo-font-audit requirements grow
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Oct 19 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.28-1
|
|
|
a61c19 |
— Rework repo-font-audit to also generate individual packager nagmails
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Sep 28 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.27-1
|
|
|
a61c19 |
— Brownpaper bag release ×2
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Sep 27 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.26-1
|
|
|
a61c19 |
— Brownpaper bag release
|
|
|
a61c19 |
- 1.25-1
|
|
|
a61c19 |
– Add short test summary to repo-font-audit
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Sep 26 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.24-1
|
|
|
a61c19 |
– improve repo-font-audit (make WWS check more accurate, support file://
|
|
|
a61c19 |
local repositories…)
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Sep 13 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.23-1
|
|
|
a61c19 |
— cleanups + add merging/remapping templates
|
|
|
a61c19 |
|
|
|
a61c19 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
a61c19 |
- 1.22-2
|
|
|
a61c19 |
— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Jun 20 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.22-1
|
|
|
a61c19 |
– workaround rpm eating end-of-line after %%_font_pkg calls
|
|
|
a61c19 |
– add script to audit font sanity of yum repositories
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Jun 2 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.21-1
|
|
|
a61c19 |
— try to handle more corner naming cases in lua macro – expect some fallout
|
|
|
a61c19 |
if your spec uses weird naming
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
a61c19 |
- 1.20-2
|
|
|
a61c19 |
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Feb 18 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.20-1
|
|
|
a61c19 |
— global-ization
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Feb 16 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.19-3
|
|
|
a61c19 |
— remove workaround and explicit version checks
|
|
|
a61c19 |
- 1.19-2
|
|
|
a61c19 |
— workaround the fact koji is not ready yet
|
|
|
a61c19 |
- 1.19-1
|
|
|
a61c19 |
— Add a fontconfig dep to -devel so font autoprovides work (bz#485702)
|
|
|
a61c19 |
— Drop duplicated group declarations, rpm has been fixed (bz#470714)
|
|
|
a61c19 |
— Add partial templates for fonts subpackages of non-font source packages
|
|
|
a61c19 |
— Make them noarch (http://fedoraproject.org/wiki/Features/NoarchSubpackages)
|
|
|
a61c19 |
|
|
|
a61c19 |
* Thu Feb 5 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.18-1
|
|
|
a61c19 |
✓ Panu wants autoprovides in rpm proper, drop it
|
|
|
a61c19 |
✓ Guidelines people are ok with multiple ownership of directories, make the
|
|
|
a61c19 |
fonts macro auto-own the directory font files are put into
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sat Jan 31 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.17-1
|
|
|
a61c19 |
⁇ Tweak and complete documentation
|
|
|
a61c19 |
☤ Merge the autoprovides stuff and try to make it actually work
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Jan 27 2009 Richard Hughes <rhughes@redhat.com>
|
|
|
a61c19 |
- 1.16-2
|
|
|
a61c19 |
- Add fontconfig.prov and macros.fontconfig so that we can automatically
|
|
|
a61c19 |
generate font provides for packages at build time.
|
|
|
a61c19 |
This lets us do some cool things with PackageKit in the future.
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Jan 22 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.16-1
|
|
|
a61c19 |
|
|
|
a61c19 |
* Thu Jan 15 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.15-1
|
|
|
a61c19 |
➜ lua-ize the main macro
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Jan 14 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.14-1
|
|
|
a61c19 |
➽ Update for subpackage naming changes requested by FPC
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Dec 22 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.13-1
|
|
|
a61c19 |
⟃ Add another directory to avoid depending on unowned stuff
|
|
|
a61c19 |
❤ use it to put the fontconfig examples in a better place
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Dec 21 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.12-2
|
|
|
a61c19 |
⌂ Change homepage
|
|
|
a61c19 |
|
|
|
a61c19 |
* Fri Dec 19 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.12-1
|
|
|
a61c19 |
☺ Add another macro to allow building fontconfig without cycling
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Dec 10 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.11-1
|
|
|
a61c19 |
☺ Add actual fedorahosted references
|
|
|
a61c19 |
|
|
|
a61c19 |
* Sun Nov 23 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.10-1
|
|
|
a61c19 |
☺ renamed to “fontpackages”
|
|
|
a61c19 |
|
|
|
a61c19 |
* Fri Nov 14 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.9-1
|
|
|
a61c19 |
☺ fix and complete fontconfig doc
|
|
|
a61c19 |
- 1.8-1
|
|
|
a61c19 |
☺ simplify multi spec template: codify general case
|
|
|
a61c19 |
- 1.7-1
|
|
|
a61c19 |
☺ split fontconfig template documentation is separate files
|
|
|
a61c19 |
- 1.6-1
|
|
|
a61c19 |
☺ simplify spec templates
|
|
|
a61c19 |
- 1.5-1
|
|
|
a61c19 |
☺ use ".conf" extension for fontconfig templates
|
|
|
a61c19 |
- 1.4-1
|
|
|
a61c19 |
☺ small multi spec template fix
|
|
|
a61c19 |
|
|
|
a61c19 |
* Wed Nov 12 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.3-1
|
|
|
a61c19 |
☺ remove trailing slashes in directory macros
|
|
|
a61c19 |
|
|
|
a61c19 |
* Tue Nov 11 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.2-1
|
|
|
a61c19 |
☺ add fontconfig templates
|
|
|
a61c19 |
☺ fix a few typos
|
|
|
a61c19 |
|
|
|
a61c19 |
* Mon Nov 10 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
|
a61c19 |
- 1.0-1
|
|
|
a61c19 |
☺ initial release
|