Commit 22dc6fc6 authored by Owen Taylor's avatar Owen Taylor

Sun Mar 2 14:16:17 2003 Owen Taylor <otaylor@redhat.com>

fontconfig.spec.in: Improvements from Red Hat spec file.
{fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
docs/*.sgml: SGML fixes.
parent ee170116
Sun Mar 2 14:16:17 2003 Owen Taylor <otaylor@redhat.com>
+ fontconfig.spec.in: Improvements from Red Hat spec file.
+ {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
+ docs/*.sgml: SGML fixes.
Sat Mar 1 17:28:53 PST 2003 keithp
+ Ok, so the ChangeLog is a bit out of date
......
This diff is collapsed.
......@@ -252,7 +252,7 @@ following structure:
...
&lt;/fontconfig&gt;
</programlisting>
</para><para>
</para>
<sect2><title>&lt;fontconfig&gt;</title><para>
This is the top level element for a font configuration and can contain
&lt;dir&gt;, &lt;cache&gt;, &lt;include&gt;, &lt;match&gt; and &lt;alias&gt; elements in any order.
......@@ -385,6 +385,8 @@ symbolic names for common font values:
</tbody>
</tgroup>
</table>
</para>
</sect2>
<sect2><title>&lt;or&gt;,
&lt;and&gt;,
&lt;plus&gt;,
......@@ -393,6 +395,8 @@ symbolic names for common font values:
&lt;divide&gt;</title><para>
These elements perform the specified operation on a list of expression
elements. &lt;or&gt; and &lt;and&gt; are boolean, not bitwise.
</para>
</sect2>
<sect2><title>&lt;eq&gt;,
&lt;not_eq&gt;,
&lt;less&gt;,
......@@ -506,6 +510,7 @@ This is an example of a system-wide configuration file
&lt;/alias&gt;
&lt;/fontconfig&gt;
</programlisting>
</sect2>
<sect2><title>User configuration file</title>
<para>
This is an example of a per-user configuration file that lives in
......@@ -533,6 +538,7 @@ This is an example of a per-user configuration file that lives in
&lt;/fontconfig&gt;
</programlisting>
</sect2>
</sect1>
<sect1><title>FILES</title>
<para>
<emphasis>fonts.conf</emphasis>
......
......@@ -23,6 +23,8 @@
INCLUDES=$(FREETYPE_CFLAGS)
man1_MANS=fc-cache.man
bin_PROGRAMS=fc-cache
fc_cache_LDADD = ../src/libfontconfig.la
......@@ -31,6 +31,8 @@ noinst_PROGRAMS=fc-lang
noinst_HEADERS=$(TARG)
noinst_MANS=fc-lang.man
ORTH=@ORTH_FILES@
EXTRA_DIST=$(TMPL) $(ORTH)
......
......@@ -23,6 +23,8 @@
bin_PROGRAMS=fc-list
man1_MANS=fc-list.man
INCLUDES=$(FREETYPE_CFLAGS)
fc_list_LDADD = ../src/libfontconfig.la
Summary: System for configuring and customizing font access
# 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
Source: http://fontconfig.org/fontconfig.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Requires: freetype2
BuildRequires: freetype2-devel
Source: http://fontconfig.org/release/fontconfig-%{vesion}.tar.gz
URL: http://fontconfig.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: /usr/bin/docbook2html
BuildRequires: /usr/bin/docbook2txt
BuildRequires: %{freetype2}-devel
BuildRequires: expat-devel
BuildRequires: perl
PreReq: %{freetype2}
%description
System for layout and rendering of internationalized text.
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
applications.
%package devel
Summary: System for layout and rendering of internationalized text
Summary: Font configuration and customization library
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: freetype2-devel
Requires: %{freetype2}-devel
%description devel
The fontconfig-devel package includes the static libraries and header files
for the fontconfig package.
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.
Install fontconfig-devel if you want to develop programs which
will use fontconfig.
%prep
%setup
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} --mandir=%{_mandir} \
--localstatedir=%{_localstatedir} --libdir=%{_libdir} \
--datadir=%{_datadir} --includedir=%{_includedir} \
--sysconfdir=%{_sysconfdir} --disable-gtk-doc
make
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts
make -j %{_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
datadir=$RPM_BUILD_ROOT%{_datadir} \
includedir=$RPM_BUILD_ROOT%{_includedir} \
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
fc-cache -f --system-only
%postun -p /sbin/ldconfig
%files
%doc README AUTHORS COPYING ChangeLog TODO
%{_libdir}/libfontconfig*.so
%doc README AUTHORS COPYING ChangeLog doc/fontconfig-*.{html,txt}
%{_libdir}/libfontconfig*.so.*
%{_bindir}/fc-*
%{_libdir}/pango
%config %{_sysconfdir}/fonts/fonts.conf
%config %{_sysconfdir}/fonts/fonts.dtd
%dir %{_sysconfdir}/fonts
%{_sysconfdir}/fonts/fonts.conf
%{_sysconfdir}/fonts/fonts.dtd
%config %{_sysconfdir}/fonts/local.conf
%{_mandir}/man1/*
%files devel
%defattr(-, root, root)
%{_libdir}/libfontconfig*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libfontconfig.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig
%{_includedir}/fontconfig
%changelog
* Sun Mar 2 2003 Owen Taylor <otaylor@redhat.com>
- Various improvements from Red Hat spec file
* Sun Mar 2 2003 Mike A. Harris <mharris@redhat.com> 2.1.90-0.1
- Initial changelog entry
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment