auto-import dejavu-fonts-2.3-3.fc5 on branch devel from dejavu-fonts-2.3-3.fc5.src.rpm
split fontconfig reg in separate package
This commit is contained in:
parent
a286b1431e
commit
caf116443e
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: dejavu-fonts
|
Name: dejavu-fonts
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: DejaVu Fonts
|
Summary: DejaVu Fonts
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: Redistributable, with restrictions
|
License: Redistributable, with restrictions
|
||||||
@ -23,8 +23,6 @@ BuildRequires: fontforge
|
|||||||
BuildRequires: perl-Font-TTF
|
BuildRequires: perl-Font-TTF
|
||||||
# Needed to compute unicode coverage
|
# Needed to compute unicode coverage
|
||||||
BuildRequires: %{Blocks} %{UnicodeData}
|
BuildRequires: %{Blocks} %{UnicodeData}
|
||||||
# Needed for fontconfig alias registration
|
|
||||||
Requires: %{_bindir}/xsltproc, /bin/mktemp
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Conflicts: fontconfig < 2.3.93
|
Conflicts: fontconfig < 2.3.93
|
||||||
|
|
||||||
@ -36,6 +34,18 @@ page for more information) while maintaining the original look and feel through
|
|||||||
the process of collaborative develop
|
the process of collaborative develop
|
||||||
|
|
||||||
|
|
||||||
|
%package fontconfig
|
||||||
|
Group: User Interface/X
|
||||||
|
Summary: Files needed to register DejaVu fonts in fontconfig aliases
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
# Needed for fontconfig alias registration
|
||||||
|
Requires: %{_bindir}/xsltproc, /bin/mktemp, %{_sysconfdir}/fonts/fonts.conf
|
||||||
|
|
||||||
|
|
||||||
|
%description fontconfig
|
||||||
|
This package will add DejaVu fonts to fontconfig aliases
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{archivename}-%{version}
|
%setup -q -n %{archivename}-%{version}
|
||||||
|
|
||||||
@ -86,7 +96,7 @@ if [ "$1" = "0" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%triggerin -- fontconfig, %{_sysconfdir}/fonts/fonts.conf
|
%triggerin fontconfig -- fontconfig, %{_sysconfdir}/fonts/fonts.conf
|
||||||
|
|
||||||
if [ -x %{_sysconfdir}/fonts/fonts.conf ] ; then
|
if [ -x %{_sysconfdir}/fonts/fonts.conf ] ; then
|
||||||
TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \
|
TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \
|
||||||
@ -103,11 +113,17 @@ fi
|
|||||||
%dir %{fontdir}
|
%dir %{fontdir}
|
||||||
%{fontdir}/*.ttf
|
%{fontdir}/*.ttf
|
||||||
|
|
||||||
|
|
||||||
|
%files fontconfig
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
%dir %{xsldir}
|
%dir %{xsldir}
|
||||||
%{xsldir}/register-%{name}.xsl
|
%{xsldir}/register-%{name}.xsl
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 04 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.3-3
|
||||||
|
- split fontconfig registration in subpackage
|
||||||
|
|
||||||
* Sat Mar 04 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.3-2
|
* Sat Mar 04 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 2.3-2
|
||||||
- register dejavu in fontconfig aliases
|
- register dejavu in fontconfig aliases
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user