blob: f7254840b82758063b7a897891a43177bd26fd99 [file] [log] [blame]
# Different systems call the freetype2 RPM different things
%define freetype2 freetype
# %define freetype2 freetype2
Summary: Font configuration and customization library
Name: fontconfig
Version: @VERSION@
Release: 1
License: MIT
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: /usr/bin/docbook2html
BuildRequires: /usr/bin/docbook2txt
BuildRequires: %{freetype2}-devel
BuildRequires: expat-devel
BuildRequires: perl
PreReq: %{freetype2}
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
%package devel
Summary: Font configuration and customization library
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{freetype2}-devel
%description devel
The fontconfig-devel package includes the static libraries,
header files, and developer docs for the fontconfig package.
Install fontconfig-devel if you want to develop programs which
will use fontconfig.
%setup -q
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts
make -j %{_smp_mflags}
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
# Force regeneration of all fontconfig cache files.
fc-cache -f --system-only
%postun -p /sbin/ldconfig
%doc README AUTHORS COPYING ChangeLog doc/fontconfig-*.{html,txt}
%dir %{_sysconfdir}/fonts
%config %{_sysconfdir}/fonts/local.conf
%files devel
%defattr(-, root, root)
* Sun Mar 2 2003 Owen Taylor <>
- Various improvements from Red Hat spec file
* Sun Mar 2 2003 Mike A. Harris <> 2.1.90-0.1
- Initial changelog entry