123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 |
- %define name poppler
- %define version 0.12.4
- %define release 1%{?_dist_release}
- Summary: PDF rendering library.
- Summary(ja): PDF レンダリング用ライブラリ
- Name: %{name}
- Version: %{version}
- Release: %{release}
- Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
- Patch10: poppler-0.10.7-otf-support.patch
- License: GPL
- Group: System Environment/Libraries
- URL: http://poppler.freedesktop.org/
- BuildRequires: gtk2-devel >= 2.2.0
- BuildRequires: zlib-devel
- BuildRequires: libjpeg-devel
- BuildRequires: openjpeg-devel
- BuildRequires: cairo-devel, gtk-doc
- BuildRequires: qt-devel
- BuildRequires: qt4-devel >= 4.4.0
- Requires: poppler-data >= 0.3.0
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: kazutaka, inagaki, daisuke
- %description
- Poppler is a PDF rendering library based on the xpdf-3.0 code base.
- %description -l ja
- Popplerは xpdf-3.0 のコードをベースにした PDF レンダリング用ライブラリ
- です。
- #-----------------------------------------------------------------------------
- %package devel
- Summary: Libraries and headers for poppler
- Summary(ja): poppler用の開発ライブラリおよびヘッダファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- This package includes the files needed for developing and compiling
- applications which use the poppler library.
- You should install the poppler-devel package if you would like to
- develop applications based on poppler.
- %description devel -l ja
- このパッケージは poppler ライブラリを使用するアプリケーションを開発
- するのに必要なライブラリやヘッダファイルを含んでいます。
- poppler をベースにしたアプリケーションを開発するなら、このパッケージ
- をインストールしてください。
- #-----------------------------------------------------------------------------
- %package qt
- Summary: Qt3 wrapper for poppler
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description qt
- Qt3 wrapper for poppler.
- %package qt-devel
- Summary: Development files for poppler Qt3 wrapper
- Group: Development/Libraries
- Requires: %{name}-qt = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- Requires: qt-devel
- %description qt-devel
- Development files for poppler Qt3 wrapper
- #-----------------------------------------------------------------------------
- %package qt4
- Summary: Qt4 wrapper for poppler
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: qt4 >= 4.4.0
- %description qt4
- Qt4 wrapper for poppler.
- %package qt4-devel
- Summary: Development files for poppler Qt4 wrapper
- Group: Development/Libraries
- Requires: %{name}-qt4 = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- Requires: qt4-devel >= 4.4.0
- %description qt4-devel
- Development files for poppler Qt4 wrapper
- #-----------------------------------------------------------------------------
- %prep
- %setup -q
- %patch10 -p1 -b .otf-support
- %build
- unset QTDIR && . /etc/profile.d/qt.sh
- %configure \
- --enable-silent-rules \
- --disable-utils \
- --enable-zlib \
- --enable-xpdf-headers \
- --disable-gtk-doc \
- --enable-shared \
- --enable-poppler-qt \
- --enable-poppler-qt4 \
- --disable-static
- %{__make}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %makeinstall
- # remove unnecessary files.
- %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler.la
- %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-glib.la
- %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-qt.la
- %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-qt4.la
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %post qt -p /sbin/ldconfig
- %postun qt -p /sbin/ldconfig
- %post qt4 -p /sbin/ldconfig
- %postun qt4 -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
- %{_libdir}/lib*.so.*
- %exclude %{_libdir}/libpoppler-qt.so.*
- %exclude %{_libdir}/libpoppler-qt4.so.*
- %files devel
- %defattr(-, root, root)
- %{_libdir}/lib*.so
- %{_libdir}/pkgconfig/*.pc
- %{_includedir}/poppler
- %{_datadir}/gtk-doc/html/poppler
- %exclude %{_libdir}/libpoppler-qt.so
- %exclude %{_libdir}/libpoppler-qt4.so
- %exclude %{_libdir}/pkgconfig/poppler-qt.pc
- %exclude %{_libdir}/pkgconfig/poppler-qt4.pc
- %exclude %{_includedir}/poppler/qt3
- %exclude %{_includedir}/poppler/qt4
- %files qt
- %defattr(-, root, root)
- %{_libdir}/libpoppler-qt.so.*
- %files qt-devel
- %defattr(-, root, root)
- %{_libdir}/libpoppler-qt.so
- %{_libdir}/pkgconfig/poppler-qt.pc
- %{_includedir}/poppler/qt3
- %files qt4
- %defattr(-, root, root)
- %{_libdir}/libpoppler-qt4.so.*
- %files qt4-devel
- %defattr(-, root, root)
- %{_libdir}/libpoppler-qt4.so
- %{_libdir}/pkgconfig/poppler-qt4.pc
- %{_includedir}/poppler/qt4
- %changelog
- * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.4-1
- - new upstream release (including security fix CVE-2009-3607)
- - built with new toolchain
- - changed --enable-gtk-doc to --disable-gtk-doc
- * Mon Nov 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-1
- - new upstream release (including security fix based xpdf 3.02pl4)
- - added BR: openjpeg-devel
- * Sun Aug 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.10.7-3
- - added qt4 wrapper subpackage
- - added BuildRequires: qt4-devel
- * Mon Jul 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.7-2
- - add Patch10 to support otf font with TrueType format. (<BTS:0727>)
- (thanks to tomop)
- * Mon May 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.7-1
- - new upstream release
- * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.6-3
- - added qt3 wrapper subpackage
- * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.6-2
- - add configure option --enable-shared and --disable-static
- - drop *.a from devel sub package
- * Fri Apr 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.6-1
- - new upstream release
- - add Packager: kazutaka
- * Sun Mar 15 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.5-1
- - new upstream release
- * Mon Feb 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.4-1
- - new upstream release
- * Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.3-1
- - new upstream release
- * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.2-1
- - new upstream release
- * Fri Oct 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.7-1
- - new upstream release
- - built with cairo-1.8.0
- * Sat Aug 30 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-1
- - new upstream release
- * Tue Jul 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.5-1
- - new upstream release
- * Tue Jul 01 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-1
- - new upstream release
- * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.3-1
- - new upstream release
- - spec in UTF-8
- * Tue Apr 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.2-1
- - new upstream release.
- - rebuilt with cairo-1.6.4
- * Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.0-1
- - new upstream release.
- - apply new versioning policy.
- * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.4-0vl1
- - new upstream release.
- * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl1
- - new upstream release.
- * Tue Dec 11 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.2-0vl1
- - new upstream release.
- * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.1-0vl1
- - new upstream release.
- * Sun Sep 09 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6-0vl1
- - new upstream release.
- - add Requires to poppler-data.
- * Mon Jun 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.9-0vl1
- - new upstream release.
- - drop Patch100. (Fixed in upstream)
- * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl3
- - rebuild with new environment/toolchain
- * Mon Feb 05 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.4-0vl2
- - rebuilt for VineSeed
- * Sat Jan 20 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.4-0vl1.1
- - add patch100 for fix CVE-2007-0104 (Catalog Dictionary Handling Dos)
- - add Vendor/Distribution Tag
- * Tue Sep 26 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.4-0vl1
- - source update.
- - remove unnecessary .la files in %%install section.
- * Thu Jun 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-0vl2
- - add Requires: xpdf-common >= 3.01
- - fix Url
- * Sat Jun 17 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-0vl1
- - source update.
- - add BuildRequires gtk-doc.
- * Sun May 28 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.2-0vl1
- - source update.
- * Sat Mar 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl2
- - add --enable-xpdf-headers configure option.
- * Wed Mar 01 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl1
- - source update.
- - add %%{_datadir}/gtk-doc/html/poppler in %%files section.
- - add --disable-utils and --enable-zlib configure option.
- (--disable-utis needed to aboid conflict with xpdf)
- - delete --enable-a4-paper configure option.(no longer supported)
- * Wed Jan 25 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.4-0vl1
- - source update.
- * Wed Sep 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.2-0vl1
- - source update.
- - add configure option --disable-poppler-{qt.qt4}, --enable-a4-paper.
- - del BuildReq: libpixman-devel.(Obsolete by cairo)
- * Thu Aug 18 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-0vl1
- - source update.
- * Sun Jun 25 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl1
- - source update.
- * Thu May 19 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.2-0vl1
- - source update.
- * Thu May 05 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-0vl1
- - initial build for VineSeed Plus.
|