]> git.pld-linux.org Git - packages/fontconfig.git/blobdiff - fontconfig.spec
- fixed epoch:version issue
[packages/fontconfig.git] / fontconfig.spec
index 87404b14eb5822cab2a136ae0ae0eff100117758..df95aab8a0767c01e7d343645b5a2fef89197dac 100644 (file)
@@ -1,14 +1,18 @@
-
 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
 Name:          fontconfig
-Version:       2.2.0
-Release:       0.5
+Version:       2.2.90
+Release:       1
 Epoch:         1
 License:       MIT
 Group:         Libraries
 Source0:       http://fontconfig.org/release/%{name}-%{version}.tar.gz
+# Source0-md5: 5cb87476743be1bbf1674ed72a76ae6a
 Patch0:                %{name}-blacklist.patch
+Patch1:                %{name}-date.patch
+Patch2:                %{name}-defaultconfig.patch
+Patch3:                %{name}-make-jN.patch
 URL:           http://fontconfig.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -16,9 +20,9 @@ BuildRequires:        ed
 BuildRequires: expat-devel
 BuildRequires: freetype-devel
 BuildRequires: libtool
-Requires(post): /sbin/ldconfig
+Requires(post):        /sbin/ldconfig
 Provides:      XFree86-fontconfig
-Provides:      %{name}-realpkg = %{version}
+Provides:      %{name}-realpkg = %{epoch}:%{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     XFree86-fontconfig
 
@@ -30,13 +34,20 @@ them according to requirements specified by applications.
 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
 
+%description -l pt_BR
+Fontconfig é uma biblioteca para configuração e customização do acesso
+a fontes.
+
 %package devel
 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
 Group:         Development/Libraries
-Provides:      XFree86-fontconfig-devel
-Requires:      %{name}-realpkg = %{version}
+Requires:      %{name}-realpkg = %{epoch}:%{version}
+Requires:      expat-devel
 Requires:      freetype-devel
+Provides:      %{name}-devel-realpkg = %{epoch}:%{version}
+Provides:      XFree86-fontconfig-devel
 Obsoletes:     XFree86-fontconfig-devel
 
 %description devel
@@ -53,12 +64,37 @@ systemie i wybierania ich w zale
 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
 programów korzystaj±cych z biblioteki fontconfig.
 
+%description devel -l pt_BR
+Fontconfig é uma biblioteca para configuração e customização do acesso
+a fontes.
+
+%package static
+Summary:       Static font configuration and customization library
+Summary(pl):   Statyczna biblioteka do konfigurowania fontów
+Group:         Development/Libraries
+Requires:      %{name}-devel-realpkg = %{epoch}:%{version}
+Provides:      XFree86-fontconfig-static
+Obsoletes:     XFree86-fontconfig-static
+
+%description static
+This package contains static version of fontconfig library.
+
+%description static -l pl
+Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
+
 %prep
-%setup -q
+%setup -q 
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure --disable-docs
 %{__make}
 
@@ -69,15 +105,7 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man1
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.1
-install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.1
-
-# small docdir location hack
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}/%{name}-devel $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}/%{name}-* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}/
-
-# Remove *.a file cause it is useless?
-rm $RPM_BUILD_ROOT%{_libdir}/*.a
+mv -f $RPM_BUILD_ROOT%{_docdir}/%{name} installed-docs
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -90,7 +118,7 @@ HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
+%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
@@ -102,9 +130,13 @@ HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
 
 %files devel
 %defattr(644,root,root,755)
-%doc ChangeLog
-%{_includedir}/fontconfig
-%{_libdir}/lib*.so
+%doc installed-docs/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}/lib*.a
This page took 0.935082 seconds and 4 git commands to generate.