|
nim |
77c358 |
%global spectemplatedir %{_sysconfdir}/rpmdevtools/
|
|
nim |
77c358 |
%global ftcgtemplatedir %{_datadir}/fontconfig/templates/
|
|
nim |
77c358 |
%global rpmmacrodir %{_sysconfdir}/rpm/
|
|
nim |
683a08 |
|
|
nim |
683a08 |
Name: fontpackages
|
|
nim |
638052 |
Version: 1.23
|
|
nim |
638052 |
Release: 1%{?dist}
|
|
nim |
683a08 |
Summary: Common directory and macro definitions used by font packages
|
|
nim |
683a08 |
|
|
nim |
683a08 |
Group: Development/System
|
|
nim |
683a08 |
# Mostly means the scriptlets inserted via this package do not change the
|
|
nim |
683a08 |
# license of the packages they're inserted in
|
|
nim |
683a08 |
License: LGPLv3+
|
|
nim |
42b015 |
URL: http://fedoraproject.org/wiki/fontpackages/
|
|
nim |
638052 |
Source0: http://fedorahosted.org/releases/f/o/%{name}/%{name}-%{version}.tar.xz
|
|
nim |
63e596 |
|
|
nim |
1251f1 |
BuildArch: noarch
|
|
nim |
1251f1 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
nim |
63e596 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%description
|
|
nim |
683a08 |
This package contains the basic directory layout, spec templates, rpm macros
|
|
nim |
683a08 |
and other materials used to create font packages.
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%package filesystem
|
|
nim |
683a08 |
Summary: Directories used by font packages
|
|
nim |
683a08 |
License: Public Domain
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%description filesystem
|
|
nim |
683a08 |
This package contains the basic directory layout used by font packages,
|
|
nim |
683a08 |
including the correct permissions for the directories.
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%package devel
|
|
nim |
683a08 |
Summary: Templates and macros used to create font packages
|
|
nim |
683a08 |
|
|
nim |
63e596 |
Requires: rpmdevtools, %{name}-filesystem = %{version}-%{release}
|
|
nim |
86cf58 |
Requires: fontconfig, rpmlint
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%description devel
|
|
nim |
683a08 |
This package contains spec templates, rpm macros and other materials used to
|
|
nim |
683a08 |
create font packages.
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%prep
|
|
nim |
683a08 |
%setup -q
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%build
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%install
|
|
nim |
683a08 |
rm -fr %{buildroot}
|
|
nim |
683a08 |
|
|
nim |
683a08 |
# Pull macros out of macros.fonts and emulate them during install
|
|
nim |
2e47af |
for dir in fontbasedir fontconfig_masterdir \
|
|
nim |
2e47af |
fontconfig_confdir fontconfig_templatedir ; do
|
|
nim |
683a08 |
export _${dir}=$(rpm --eval $(%{__grep} -E "^%_${dir}\b" \
|
|
nim |
68a710 |
rpm/macros.fonts | %{__awk} '{ print $2 }'))
|
|
nim |
683a08 |
done
|
|
nim |
683a08 |
|
|
nim |
683a08 |
install -m 0755 -d %{buildroot}${_fontbasedir} \
|
|
nim |
2e47af |
%{buildroot}${_fontconfig_masterdir} \
|
|
nim |
683a08 |
%{buildroot}${_fontconfig_confdir} \
|
|
nim |
683a08 |
%{buildroot}${_fontconfig_templatedir} \
|
|
nim |
683a08 |
%{buildroot}%{spectemplatedir} \
|
|
nim |
46b94f |
%{buildroot}%{rpmmacrodir} \
|
|
nim |
86cf58 |
%{buildroot}%{_datadir}/fontconfig/templates \
|
|
nim |
86cf58 |
%{buildroot}%{_bindir}
|
|
nim |
46b94f |
install -m 0644 -p spec-templates/*.spec %{buildroot}%{spectemplatedir}
|
|
nim |
46b94f |
install -m 0644 -p fontconfig-templates/* %{buildroot}%{ftcgtemplatedir}
|
|
nim |
68a710 |
install -m 0644 -p rpm/macros* %{buildroot}%{rpmmacrodir}
|
|
nim |
86cf58 |
install -m 0755 -p bin/* %{buildroot}%{_bindir}
|
|
nim |
683a08 |
|
|
nim |
683a08 |
cat <<EOF > %{name}-%{version}.files
|
|
nim |
683a08 |
%defattr(0644,root,root,0755)
|
|
nim |
683a08 |
%dir ${_fontbasedir}
|
|
nim |
2e47af |
%dir ${_fontconfig_masterdir}
|
|
nim |
683a08 |
%dir ${_fontconfig_confdir}
|
|
nim |
683a08 |
%dir ${_fontconfig_templatedir}
|
|
nim |
683a08 |
EOF
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%clean
|
|
nim |
683a08 |
rm -fr %{buildroot}
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%files filesystem -f %{name}-%{version}.files
|
|
nim |
46b94f |
%defattr(0644,root,root,0755)
|
|
nim |
46b94f |
%dir %{_datadir}/fontconfig
|
|
nim |
683a08 |
%files devel
|
|
nim |
683a08 |
%defattr(0644,root,root,0755)
|
|
nim |
46b94f |
%doc license.txt readme.txt
|
|
nim |
683a08 |
%config(noreplace) %{spectemplatedir}/*.spec
|
|
nim |
683a08 |
%config(noreplace) %{rpmmacrodir}/macros*
|
|
nim |
46b94f |
%dir %{ftcgtemplatedir}
|
|
nim |
68a710 |
%{ftcgtemplatedir}/*conf
|
|
nim |
68a710 |
%{ftcgtemplatedir}/*txt
|
|
nim |
86cf58 |
%attr(0755,root,root) %{_bindir}/*
|
|
nim |
683a08 |
|
|
nim |
683a08 |
|
|
nim |
683a08 |
%changelog
|
|
nim |
638052 |
* Sun Sep 13 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
638052 |
- 1.23-1
|
|
nim |
638052 |
— cleanups + add merging/remapping templates
|
|
nim |
638052 |
|
|
nim |
638052 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
nim |
638052 |
- 1.22-2
|
|
nim |
638052 |
— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
01757c |
|
|
nim |
86cf58 |
* Sat Jun 20 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
86cf58 |
- 1.22-1
|
|
nim |
86cf58 |
– workaround rpm eating end-of-line after %%_font_pkg calls
|
|
nim |
86cf58 |
– add script to audit font sanity of yum repositories
|
|
nim |
86cf58 |
|
|
nim |
1aa2c5 |
* Tue Jun 2 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
1aa2c5 |
- 1.21-1
|
|
nim |
1aa2c5 |
— try to handle more corner naming cases in lua macro – expect some fallout
|
|
nim |
1aa2c5 |
if your spec uses weird naming
|
|
nim |
1aa2c5 |
|
|
nim |
1aa2c5 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
nim |
1aa2c5 |
- 1.20-2
|
|
nim |
1aa2c5 |
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
df9652 |
|
|
nim |
177707 |
* Wed Feb 18 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
177707 |
- 1.20-1
|
|
nim |
177707 |
— global-ization
|
|
nim |
177707 |
|
|
nim |
63e596 |
* Mon Feb 16 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
1251f1 |
- 1.19-3
|
|
nim |
1251f1 |
— remove workaround and explicit version checks
|
|
nim |
249909 |
- 1.19-2
|
|
nim |
249909 |
— workaround the fact koji is not ready yet
|
|
nim |
63e596 |
- 1.19-1
|
|
nim |
63e596 |
— Add a fontconfig dep to -devel so font autoprovides work (bz#485702)
|
|
nim |
63e596 |
— Drop duplicated group declarations, rpm has been fixed (bz#470714)
|
|
nim |
63e596 |
— Add partial templates for fonts subpackages of non-font source packages
|
|
nim |
63e596 |
— Make them noarch (http://fedoraproject.org/wiki/Features/NoarchSubpackages)
|
|
nim |
63e596 |
|
|
nim |
68a710 |
* Thu Feb 5 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
68a710 |
- 1.18-1
|
|
nim |
68a710 |
✓ Panu wants autoprovides in rpm proper, drop it
|
|
nim |
68a710 |
✓ Guidelines people are ok with multiple ownership of directories, make the
|
|
nim |
68a710 |
fonts macro auto-own the directory font files are put into
|
|
nim |
68a710 |
|
|
nim |
68a710 |
* Sat Jan 31 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
68a710 |
- 1.17-1
|
|
nim |
68a710 |
⁇ Tweak and complete documentation
|
|
nim |
68a710 |
☤ Merge the autoprovides stuff and try to make it actually work
|
|
nim |
68a710 |
|
|
Richard Hughes |
b5363e |
* Tue Jan 27 2009 Richard Hughes <rhughes@redhat.com>
|
|
Richard Hughes |
b5363e |
- 1.16-2
|
|
Richard Hughes |
b5363e |
- Add fontconfig.prov and macros.fontconfig so that we can automatically
|
|
Richard Hughes |
b5363e |
generate font provides for packages at build time.
|
|
Richard Hughes |
b5363e |
This lets us do some cool things with PackageKit in the future.
|
|
Richard Hughes |
b5363e |
|
|
nim |
896186 |
* Wed Jan 22 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
896186 |
- 1.16-1
|
|
nim |
896186 |
|
|
nim |
53e857 |
* Thu Jan 15 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
53e857 |
- 1.15-1
|
|
nim |
53e857 |
➜ lua-ize the main macro
|
|
nim |
53e857 |
|
|
nim |
218640 |
* Wed Jan 14 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
53e857 |
- 1.14-1
|
|
nim |
218640 |
➽ Update for subpackage naming changes requested by FPC
|
|
nim |
218640 |
|
|
nim |
46b94f |
* Mon Dec 22 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
46b94f |
- 1.13-1
|
|
nim |
46b94f |
⟃ Add another directory to avoid depending on unowned stuff
|
|
nim |
46b94f |
❤ use it to put the fontconfig examples in a better place
|
|
nim |
218640 |
|
|
nim |
42b015 |
* Sun Dec 21 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
42b015 |
- 1.12-2
|
|
nim |
42b015 |
⌂ Change homepage
|
|
nim |
218640 |
|
|
nim |
2e47af |
* Fri Dec 19 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
2e47af |
- 1.12-1
|
|
nim |
2e47af |
☺ Add another macro to allow building fontconfig without cycling
|
|
nim |
218640 |
|
|
nim |
683a08 |
* Wed Dec 10 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.11-1
|
|
nim |
683a08 |
☺ Add actual fedorahosted references
|
|
nim |
218640 |
|
|
nim |
683a08 |
* Sun Nov 23 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.10-1
|
|
nim |
683a08 |
☺ renamed to “fontpackages”
|
|
nim |
218640 |
|
|
nim |
683a08 |
* Fri Nov 14 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.9-1
|
|
nim |
683a08 |
☺ fix and complete fontconfig doc
|
|
nim |
683a08 |
- 1.8-1
|
|
nim |
683a08 |
☺ simplify multi spec template: codify general case
|
|
nim |
683a08 |
- 1.7-1
|
|
nim |
683a08 |
☺ split fontconfig template documentation is separate files
|
|
nim |
683a08 |
- 1.6-1
|
|
nim |
683a08 |
☺ simplify spec templates
|
|
nim |
683a08 |
- 1.5-1
|
|
nim |
683a08 |
☺ use ".conf" extension for fontconfig templates
|
|
nim |
683a08 |
- 1.4-1
|
|
nim |
683a08 |
☺ small multi spec template fix
|
|
nim |
683a08 |
|
|
nim |
683a08 |
* Wed Nov 12 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.3-1
|
|
nim |
683a08 |
☺ remove trailing slashes in directory macros
|
|
nim |
683a08 |
|
|
nim |
683a08 |
* Tue Nov 11 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.2-1
|
|
nim |
683a08 |
☺ add fontconfig templates
|
|
nim |
683a08 |
☺ fix a few typos
|
|
nim |
683a08 |
|
|
nim |
683a08 |
* Mon Nov 10 2008 Nicolas Mailhot <nim at fedoraproject dot org>
|
|
nim |
683a08 |
- 1.0-1
|
|
nim |
683a08 |
☺ initial release
|