SPECS (DEVEL): fontconfig.spec - pretty cool mmap stuff, 2.3.91
freetz
freetz at pld-linux.org
Wed Oct 5 17:52:16 CEST 2005
Author: freetz Date: Wed Oct 5 15:52:16 2005 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- pretty cool mmap stuff, 2.3.91
---- Files affected:
SPECS:
fontconfig.spec (1.39.2.2 -> 1.39.2.3)
---- Diffs:
================================================================
Index: SPECS/fontconfig.spec
diff -u SPECS/fontconfig.spec:1.39.2.2 SPECS/fontconfig.spec:1.39.2.3
--- SPECS/fontconfig.spec:1.39.2.2 Sat Mar 6 17:02:47 2004
+++ SPECS/fontconfig.spec Wed Oct 5 17:52:11 2005
@@ -1,19 +1,21 @@
# $Revision$, $Date$
-
-%define _snap 040304
-
-Summary: Font configuration and customization library
-Summary(pl): Biblioteka do konfigurowania fontów
-Summary(pt_BR): Fontconfig é uma biblioteca para configuraçăo e customizaçăo do acesso a fontes
+#
+# Conditional build
+%bcond_with bytecode # use bytecode hinting instead of autohinting by default
+#
+Summary: Font configuration and customization tools
+Summary(pl): Narzędzia do konfigurowania fontów
+Summary(pt_BR): Ferramentas para configuraçăo e customizaçăo do acesso a fontes
Name: fontconfig
-Version: 2.2.92.%{_snap}
+Version: 2.3.91
Release: 1
Epoch: 1
License: MIT
Group: Libraries
-Source0: http://ep09.pld-linux.org/~adgor/pld/%{name}-%{_snap}.tar.bz2
-# Source0-md5: 3ca9eac63d4076d1062e59f40ff3ac21
-#Source0: http://pdx.freedesktop.org/~fontconfig/release/%{name}-%{version}.tar.gz
+Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
+# Source0-md5: 098a36ec53ec893f6511712ec4010d38
+Patch0: %{name}-blacklist.patch
+Patch1: %{name}-autohint.patch
URL: http://fontconfig.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -21,37 +23,60 @@
BuildRequires: docbook-dtd41-sgml
BuildRequires: ed
BuildRequires: expat-devel
-BuildRequires: freetype-devel >= 2.1.4
+BuildRequires: freetype-devel >= 2.1.5
BuildRequires: libtool
-BuildRequires: lynx
-Requires(post): /sbin/ldconfig
-Requires: freetype >= 2.1.4
-Provides: %{name}-realpkg = %{epoch}:%{version}-%{release}
-Provides: XFree86-fontconfig
-Obsoletes: XFree86-fontconfig
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+Requires: freetype >= 2.1.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Fontconfig is designed to locate fonts within the system and select
them according to requirements specified by applications.
+This package contains tools and documentation.
+
%description -l pl
-Fontconfig jest biblioteka przeznaczoną do lokalizowania fontów w
+Fontconfig jest biblioteką przeznaczoną do lokalizowania fontów w
systemie i wybierania ich w zależności od potrzeb aplikacji.
+Paket ten zawiera programy narzędziowe i dokumentację.
+
%description -l pt_BR
Fontconfig é uma biblioteca para configuraçăo e customizaçăo do acesso
a fontes.
-%package devel
+Este pacote contém as ferramentas e documentaçăo.
+
+%package libs
Summary: Font configuration and customization library
Summary(pl): Biblioteka do konfigurowania fontów
-Summary(pt_BR): Fontconfig é uma biblioteca para configuraçăo e customizaçăo do acesso a fontes
+Summary(pt_BR): Biblioteca para configuraçăo e customizaçăo do acesso a fontes
+Group: Development/Libraries
+Requires: freetype >= 2.1.5
+Provides: XFree86-fontconfig
+Conflicts: fontconfig <= 1:2.2.98-1
+Obsoletes: XFree86-fontconfig
+
+%description libs
+Fontconfig is designed to locate fonts within the system and select
+them according to requirements specified by applications.
+
+%description libs -l pl
+Fontconfig jest biblioteką przeznaczoną do lokalizowania fontów w
+systemie i wybierania ich w zależności od potrzeb aplikacji.
+
+%description libs -l pt_BR
+Fontconfig é uma biblioteca para configuraçăo e customizaçăo do acesso
+a fontes.
+
+%package devel
+Summary: Font configuration and customization library - development files
+Summary(pl): Biblioteka do konfigurowania fontów - pliki dla programistów
+Summary(pt_BR): Biblioteca para configuraçăo e customizaçăo do acesso a fontes - arquivos de desenvolvimento
Group: Development/Libraries
-Requires: %{name}-realpkg = %{epoch}:%{version}
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: expat-devel
-Requires: freetype-devel >= 2.1.4
-Provides: %{name}-devel-realpkg = %{epoch}:%{version}-%{release}
+Requires: freetype-devel >= 2.1.5
Provides: XFree86-fontconfig-devel
Obsoletes: XFree86-fontconfig-devel
@@ -63,7 +88,7 @@
use these fontconfig.
%description devel -l pl
-Fontconfig jest biblioteka przeznaczoną do lokalizowania fontów w
+Fontconfig jest biblioteką przeznaczoną do lokalizowania fontów w
systemie i wybierania ich w zależności od potrzeb aplikacji.
Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilowania
@@ -73,11 +98,15 @@
Fontconfig é uma biblioteca para configuraçăo e customizaçăo do acesso
a fontes.
+Este pacote contém arquivos de desenvolvimento necessários ŕ criaçăo
+de extensőes baseadas na biblioteca fontconfig.
+
%package static
Summary: Static font configuration and customization library
Summary(pl): Statyczna biblioteka do konfigurowania fontów
+Summary(pt_BR): Biblioteca estática para configuraçăo e customizaçăo do acesso a fontes
Group: Development/Libraries
-Requires: %{name}-devel-realpkg = %{epoch}:%{version}
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
Provides: XFree86-fontconfig-static
Obsoletes: XFree86-fontconfig-static
@@ -87,8 +116,15 @@
%description static -l pl
Ten pakiet zawiera statyczną wersję biblioteki fontconfig.
+%description static -l pt_BR
+Este pacote contém a biblioteca estática do fontconfig
+
%prep
-%setup -q -n %{name}-%{_snap}
+%setup -q
+%patch0 -p1
+%if %{with bytecode}
+%patch1 -p1
+%endif
%build
%{__libtoolize}
@@ -96,9 +132,8 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-
-%configure
-
+%configure \
+ --disable-docs
%{__make}
%install
@@ -108,44 +143,49 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man3
install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
+
+cp -f conf.d/README README.confd
%clean
rm -rf $RPM_BUILD_ROOT
%post
-/sbin/ldconfig
-HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
+umask 022
+HOME=/tmp %{_bindir}/fc-cache -f 2>/dev/null
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README
-%dir %{_sysconfdir}/fonts
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
-%{_sysconfdir}/fonts/fonts.dtd
-%attr(755,root,root) %{_bindir}/fc-cache
-%attr(755,root,root) %{_bindir}/fc-list
-%attr(755,root,root) %{_bindir}/fc-match
-%attr(755,root,root) %{_libdir}/libfontconfig.so.*.*.*
+%doc AUTHORS COPYING ChangeLog README README.confd
+%attr(755,root,root) %{_bindir}/fc-*
%{_mandir}/man1/*.1*
%{_mandir}/man5/*.5*
+%files libs
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/fonts
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/fonts.conf
+%{_sysconfdir}/fonts/fonts.dtd
+%dir %{_sysconfdir}/fonts/conf.d
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/conf.d/*.conf
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
%files devel
%defattr(644,root,root,755)
-%doc doc/{fontconfig-devel/*.html,fontconfig-{user,devel}.txt,fontconfig-user.html}
-%{_libdir}/libfontconfig.la
-%{_libdir}/libfontconfig.so
+%doc doc/fontconfig-devel/*.html
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
%{_includedir}/fontconfig
%{_pkgconfigdir}/fontconfig.pc
%{_mandir}/man3/*.3*
%files static
%defattr(644,root,root,755)
-%{_libdir}/libfontconfig.a
+%{_libdir}/lib*.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -153,14 +193,85 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.39.2.2 2004/03/06 16:02:47 grzegol
-- added BR: lynx (required for docs building)
+Revision 1.39.2.3 2005/10/05 15:52:11 freetz
+- pretty cool mmap stuff, 2.3.91
+
+Revision 1.62 2005/04/29 18:55:45 qboosh
+- updated to 2.3.2
+
+Revision 1.61 2005/03/24 23:57:53 arekm
+- autohinting is now set via fonts/conf.d/ configs
+
+Revision 1.60 2005/03/16 12:12:29 saq
+- fixed pt_BR stuff
+
+Revision 1.59 2005/03/10 22:35:43 qboosh
+- updated to 2.3.1
+
+Revision 1.58 2005/03/02 20:34:05 qboosh
+- updated to 2.3.0
+
+Revision 1.57 2005/02/14 22:58:17 qboosh
+- argh, set umask 022 before fc-cache; don't use /root as HOME
+
+Revision 1.56 2005/01/30 16:21:59 djurban
+- updated to 2.2.99 ?
+
+Revision 1.55 2005/01/24 21:59:49 wrobell
+- typo
+
+Revision 1.54 2005/01/24 21:29:33 ankry
+- tabs
+
+Revision 1.53 2005/01/24 20:14:57 qboosh
+- moved ldconfig to -libs
+
+Revision 1.52 2005/01/24 20:14:21 qboosh
+- typo; unified: -libs before -devel
+
+Revision 1.51 2005/01/24 13:11:20 ankry
+- separated binary and libs, rel. 2
+
+Revision 1.50 2005/01/22 20:33:11 qboosh
+- updated to 2.2.98, updated Source0 URL
+- updated blacklist patch, removed obsolete date patch
+
+Revision 1.49 2004/12/02 17:31:52 qboosh
+- updated Source0 URL
+
+Revision 1.48 2004/10/14 10:13:36 qboosh
+- reverted last commit, build fails without dtd41 installed
+
+Revision 1.47 2004/07/17 23:44:34 qboosh
+- docbook-* not needed as --disable-docs is passed
+
+Revision 1.46 2004/07/02 06:54:09 qboosh
+- updated to 2.2.96
+- freetype BR back to 2.1.5 (2.1.8 was required only by my old patch)
+
+Revision 1.45 2004/06/01 19:58:09 grzegol
+- updated to 2.2.95
+- removed outdated freetype patch
+
+Revision 1.44 2004/04/25 09:42:02 qboosh
+- updated to 2.2.94, added patch for freetype 2.1.8+
+
+Revision 1.43 2004/04/20 20:49:36 qboosh
+- clearer bcond description, release 2
+
+Revision 1.42 2004/04/20 18:07:37 djurban
+- autohinting by default enabled/disbaled?
+
+Revision 1.41 2004/04/18 10:59:44 qboosh
+- updated to 2.2.93
+- removed obsolete freetype-includes and evil+obsolete defaultconfig patch
+- dropped -realpkg stuff, there is no alternative fontconfig packages now
-Revision 1.39.2.1 2004/03/03 23:33:42 adgor
-- Current snap because of sucking 2.2.90 - 2.2.92 versions
-- Please - do not apply any patches modifying fonts.conf here!
-- Do not disable pcf fonts - it's already fixed and that was wrong way.
- (read "have no helvetica" threads on pld-users-pl).
+Revision 1.40 2004/03/29 20:57:25 qrczak
+- Force autohinting for Luxi and Quasi*TTF fonts. They have poor hinting
+ instructions. Are there other fonts worth adding here?
+- Merge three rules for Vera fonts into equivalent one rule.
+- Release 4.
Revision 1.39 2004/01/29 13:07:16 qboosh
- BR+R freetype 2.1.4 (FT_Get_BDF_Property() is used); release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/fontconfig.spec?r1=1.39.2.2&r2=1.39.2.3&f=u
More information about the pld-cvs-commit
mailing list