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
|
||||
Version: 2.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: DejaVu Fonts
|
||||
Group: User Interface/X
|
||||
License: Redistributable, with restrictions
|
||||
@ -23,8 +23,6 @@ BuildRequires: fontforge
|
||||
BuildRequires: perl-Font-TTF
|
||||
# Needed to compute unicode coverage
|
||||
BuildRequires: %{Blocks} %{UnicodeData}
|
||||
# Needed for fontconfig alias registration
|
||||
Requires: %{_bindir}/xsltproc, /bin/mktemp
|
||||
BuildArch: noarch
|
||||
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
|
||||
|
||||
|
||||
%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
|
||||
%setup -q -n %{archivename}-%{version}
|
||||
|
||||
@ -86,7 +96,7 @@ if [ "$1" = "0" ]; then
|
||||
fi
|
||||
|
||||
|
||||
%triggerin -- fontconfig, %{_sysconfdir}/fonts/fonts.conf
|
||||
%triggerin fontconfig -- fontconfig, %{_sysconfdir}/fonts/fonts.conf
|
||||
|
||||
if [ -x %{_sysconfdir}/fonts/fonts.conf ] ; then
|
||||
TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \
|
||||
@ -103,11 +113,17 @@ fi
|
||||
%dir %{fontdir}
|
||||
%{fontdir}/*.ttf
|
||||
|
||||
|
||||
%files fontconfig
|
||||
%defattr(0644,root,root,0755)
|
||||
%dir %{xsldir}
|
||||
%{xsldir}/register-%{name}.xsl
|
||||
|
||||
|
||||
%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
|
||||
- register dejavu in fontconfig aliases
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user