2006-09-22 02:11:32 +00:00
|
|
|
%define dataversion 0.1
|
|
|
|
|
2006-05-31 06:43:46 +00:00
|
|
|
Summary: PDF rendering library
|
2005-03-02 14:52:52 +00:00
|
|
|
Name: poppler
|
2007-09-04 15:32:44 +00:00
|
|
|
Version: 0.6
|
2007-10-12 15:29:02 +00:00
|
|
|
Release: 2%{?dist}
|
2007-08-08 15:31:01 +00:00
|
|
|
License: GPLv2 and Redistributable, no modification permitted
|
|
|
|
# the code is GPLv2
|
|
|
|
# the charmap data in /usr/share/poppler is redistributable
|
2005-03-02 14:52:52 +00:00
|
|
|
Group: Development/Libraries
|
2006-12-09 03:47:48 +00:00
|
|
|
URL: http://poppler.freedesktop.org/
|
|
|
|
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
|
|
|
|
Source1: http://poppler.freedesktop.org/poppler-data-%{dataversion}.tar.gz
|
2007-08-16 00:15:21 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=12016
|
2005-03-02 14:52:52 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2006-12-09 03:47:48 +00:00
|
|
|
|
2005-03-02 14:52:52 +00:00
|
|
|
BuildRequires: gtk2-devel
|
2005-06-21 03:16:26 +00:00
|
|
|
BuildRequires: cairo-devel
|
2006-12-09 03:47:48 +00:00
|
|
|
BuildRequires: qt-devel
|
2007-10-12 15:29:02 +00:00
|
|
|
BuildRequires: qt4-devel
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
2005-06-21 03:16:26 +00:00
|
|
|
viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for poppler
|
|
|
|
Group: Development/Libraries
|
2006-12-09 03:47:48 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2007-08-15 03:03:27 +00:00
|
|
|
Requires: gtk-doc
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
|
|
|
viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
|
|
|
|
|
|
|
You should install the poppler-devel package if you would like to
|
|
|
|
compile applications based on poppler.
|
|
|
|
|
2006-12-09 03:47:48 +00:00
|
|
|
%package qt
|
|
|
|
Summary: Qt wrapper for poppler
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description qt
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package qt-devel
|
|
|
|
Summary: Development files for Qt wrapper
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-qt = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: qt-devel
|
|
|
|
%description qt-devel
|
|
|
|
%{summary}.
|
|
|
|
|
2007-10-12 15:29:02 +00:00
|
|
|
%package qt4
|
|
|
|
Summary: Qt4 wrapper for poppler
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description qt4
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package qt4-devel
|
|
|
|
Summary: Development files for Qt4 wrapper
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-qt4 = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: qt4-devel
|
|
|
|
%description qt4-devel
|
|
|
|
%{summary}.
|
|
|
|
|
2006-01-11 19:37:03 +00:00
|
|
|
%package utils
|
|
|
|
Summary: Command line utilities for converting PDF files.
|
|
|
|
Group: Applications/Text
|
2006-12-09 03:47:48 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2006-01-18 18:17:17 +00:00
|
|
|
Conflicts: xpdf <= 1:3.01-8
|
2006-09-14 18:10:59 +00:00
|
|
|
# There's an extras package that provides pdftohtml
|
2006-12-14 03:59:04 +00:00
|
|
|
|
|
|
|
Provides: pdftohtml
|
2006-09-14 18:10:59 +00:00
|
|
|
Obsoletes: pdftohtml
|
2006-01-11 19:37:03 +00:00
|
|
|
|
2006-12-15 14:25:48 +00:00
|
|
|
Provides: xpdf-utils = 1:3.01-27.fc7
|
|
|
|
Obsoletes: xpdf-utils <= 1:3.01-26.fc7
|
2006-12-14 03:59:04 +00:00
|
|
|
|
2006-01-11 19:37:03 +00:00
|
|
|
%description utils
|
|
|
|
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
|
|
|
viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
|
|
|
|
|
|
|
This utils package installs a number of command line tools for
|
|
|
|
converting PDF files to a number of other formats.
|
|
|
|
|
2005-03-02 14:52:52 +00:00
|
|
|
%prep
|
2006-09-22 02:11:32 +00:00
|
|
|
%setup -c -q -a1
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%build
|
2006-12-09 03:47:48 +00:00
|
|
|
( cd %{name}-%{version}
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--enable-cairo-output \
|
2007-10-12 15:29:02 +00:00
|
|
|
--enable-poppler-qt \
|
|
|
|
--enable-poppler-qt4
|
2006-12-09 03:47:48 +00:00
|
|
|
)
|
|
|
|
make %{?_smp_mflags} -C %{name}-%{version}
|
|
|
|
|
2007-08-08 15:31:01 +00:00
|
|
|
pushd poppler-data-%{dataversion}
|
|
|
|
cp COPYING COPYING-poppler-data
|
|
|
|
cp README README-poppler-data
|
2007-08-15 03:10:04 +00:00
|
|
|
popd
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-12-09 03:47:48 +00:00
|
|
|
make -C %{name}-%{version} DESTDIR=$RPM_BUILD_ROOT install
|
2006-09-22 02:11:32 +00:00
|
|
|
make -C %{name}-data-%{dataversion} \
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT datadir=%{_datadir} install
|
|
|
|
|
2006-12-09 03:47:48 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
2005-03-02 14:52:52 +00:00
|
|
|
|
2006-09-22 02:11:32 +00:00
|
|
|
|
2005-03-02 14:52:52 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-09-22 02:11:32 +00:00
|
|
|
%doc %{name}-%{version}/README
|
2007-08-08 15:31:01 +00:00
|
|
|
%doc %{name}-%{version}/COPYING
|
|
|
|
%doc poppler-data-%{dataversion}/README-poppler-data
|
|
|
|
%doc poppler-data-%{dataversion}/COPYING-poppler-data
|
2006-12-09 03:47:48 +00:00
|
|
|
%{_libdir}/libpoppler-glib.so.*
|
|
|
|
%{_libdir}/libpoppler.so.*
|
|
|
|
%{_datadir}/poppler/
|
2005-03-02 14:52:52 +00:00
|
|
|
|
|
|
|
%files devel
|
2006-12-09 03:47:48 +00:00
|
|
|
%defattr(-,root,root,-)
|
2007-03-02 03:44:19 +00:00
|
|
|
%exclude %{_libdir}/pkgconfig/poppler-qt.pc
|
2007-10-12 15:29:02 +00:00
|
|
|
%{_libdir}/pkgconfig/poppler-cairo.pc
|
|
|
|
%{_libdir}/pkgconfig/poppler-glib.pc
|
|
|
|
%{_libdir}/pkgconfig/poppler.pc
|
|
|
|
%{_libdir}/pkgconfig/poppler-splash.pc
|
|
|
|
%{_libdir}/libpoppler-glib.so
|
|
|
|
%{_libdir}/libpoppler.so
|
2006-12-09 03:47:48 +00:00
|
|
|
%dir %{_includedir}/poppler/
|
|
|
|
%{_includedir}/poppler/glib/
|
2006-01-11 20:23:18 +00:00
|
|
|
%{_datadir}/gtk-doc/html/poppler
|
2005-03-02 14:52:52 +00:00
|
|
|
|
2006-12-09 03:47:48 +00:00
|
|
|
%files qt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libpoppler-qt.so.*
|
|
|
|
|
|
|
|
%files qt-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libpoppler-qt.so
|
|
|
|
%{_libdir}/pkgconfig/poppler-qt.pc
|
2007-10-12 15:29:02 +00:00
|
|
|
%{_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/
|
2006-12-09 03:47:48 +00:00
|
|
|
|
2006-01-11 19:37:03 +00:00
|
|
|
%files utils
|
2006-12-09 03:47:48 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-01-11 19:37:03 +00:00
|
|
|
%{_bindir}/*
|
2006-01-11 20:23:18 +00:00
|
|
|
%{_mandir}/man1/*
|
2006-01-11 19:37:03 +00:00
|
|
|
|
2005-03-02 14:52:52 +00:00
|
|
|
%changelog
|
2007-10-12 15:29:02 +00:00
|
|
|
* Thu Oct 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.6-2
|
|
|
|
- include qt4 wrapper
|
|
|
|
|
2007-09-04 15:32:44 +00:00
|
|
|
* Tue Sep 4 2007 Kristian Høgsberg <krh@redhat.com> - 0.6-1
|
|
|
|
- Update to 0.6
|
|
|
|
|
2007-08-16 00:11:20 +00:00
|
|
|
* Wed Aug 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.91-2
|
|
|
|
- Remove debug spew
|
|
|
|
|
2007-08-15 03:03:27 +00:00
|
|
|
* Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.91-1
|
|
|
|
- Update to 0.5.91
|
|
|
|
|
2007-08-08 15:31:01 +00:00
|
|
|
* Wed Aug 8 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.9-2
|
|
|
|
- Update the license field
|
|
|
|
|
2007-06-19 02:03:29 +00:00
|
|
|
* Mon Jun 18 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.9-1
|
|
|
|
- Update to 0.5.9
|
|
|
|
|
2007-03-02 04:02:25 +00:00
|
|
|
* Thu Mar 1 2007 Bill Nottingham <notting@redhat.com> - 0.5.4-7
|
2007-03-02 03:44:19 +00:00
|
|
|
- fix it so the qt pkgconfig/.so aren't in the main poppler-devel
|
|
|
|
|
2006-12-15 14:25:48 +00:00
|
|
|
* Fri Dec 15 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-5
|
|
|
|
- Include epoch in the Provides/Obsoletes for xpdf-utils
|
|
|
|
|
2006-12-14 03:59:04 +00:00
|
|
|
* Wed Dec 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-4
|
|
|
|
- Add Provides/Obsoletes for xpdf-utils (#219033)
|
|
|
|
|
2006-12-09 03:47:48 +00:00
|
|
|
* Fri Dec 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.5.4-3
|
|
|
|
- drop hard-wired: Req: gtk2
|
|
|
|
- --disable-static
|
|
|
|
- enable qt wrapper
|
|
|
|
- -devel: Requires: pkgconfig
|
|
|
|
|
2006-10-01 21:18:16 +00:00
|
|
|
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.5.4-2
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-22 02:11:32 +00:00
|
|
|
* Thu Sep 21 2006 Kristian Høgsberg <krh@redhat.com> - 0.5.4-1.fc6
|
|
|
|
- Rebase to 0.5.4, drop poppler-0.5.3-libs.patch, fixes #205813,
|
|
|
|
#205549, #200613, #172137, #172138, #161293 and more.
|
|
|
|
|
2006-09-13 21:10:00 +00:00
|
|
|
* Wed Sep 13 2006 Kristian Høgsberg <krh@redhat.com> - 0.5.3-3.fc6
|
|
|
|
- Move .so to -devel (#203637).
|
|
|
|
|
2006-08-15 03:08:16 +00:00
|
|
|
* Mon Aug 14 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.3-2.fc6
|
|
|
|
- link against fontconfig (see bug 202256)
|
|
|
|
|
2006-07-12 07:51:18 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.5.3-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-31 06:43:46 +00:00
|
|
|
* Wed May 31 2006 Kristian Høgsberg <krh@redhat.com> 0.5.3-1
|
|
|
|
- Update to 0.5.3.
|
|
|
|
|
2006-05-23 03:07:11 +00:00
|
|
|
* Mon May 22 2006 Kristian Høgsberg <krh@redhat.com> 0.5.2-1
|
|
|
|
- Update to 0.5.2.
|
|
|
|
|
2006-03-02 01:35:53 +00:00
|
|
|
* Wed Mar 1 2006 Kristian Høgsberg <krh@redhat.com> 0.5.1-2
|
|
|
|
- Rebuild the get rid of old soname dependency.
|
|
|
|
|
2006-02-28 23:50:34 +00:00
|
|
|
* Tue Feb 28 2006 Kristian Høgsberg <krh@redhat.com> 0.5.1-1
|
|
|
|
- Update to version 0.5.1.
|
|
|
|
|
2006-02-11 05:12:46 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-4.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:34:39 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-4.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-18 18:17:17 +00:00
|
|
|
* Wed Jan 18 2006 Ray Strode <rstrode@redhat.com> - 0.5.0-4
|
|
|
|
- change xpdf conflict version to be <= instead of <
|
|
|
|
|
2006-01-18 17:15:10 +00:00
|
|
|
* Wed Jan 18 2006 Ray Strode <rstrode@redhat.com> - 0.5.0-3
|
|
|
|
- update conflicts: xpdf line to be versioned
|
|
|
|
|
2006-01-11 19:37:03 +00:00
|
|
|
* Wed Jan 11 2006 Kristian Høgsberg <krh@redhat.com> - 0.5.0-2.0
|
|
|
|
- Update to 0.5.0 and add poppler-utils subpackage.
|
2006-01-11 20:23:18 +00:00
|
|
|
- Flesh out poppler-utils subpackage.
|
2006-01-11 19:37:03 +00:00
|
|
|
|
2005-12-09 22:42:45 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-09-04 18:31:25 +00:00
|
|
|
* Sun Sep 4 2005 Kristian Høgsberg <krh@redhat.com> - 0.4.2-1
|
|
|
|
- Update to 0.4.2 and disable splash backend so we don't build it.
|
|
|
|
|
2005-08-26 16:48:43 +00:00
|
|
|
* Fri Aug 26 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.4.1-2
|
|
|
|
- Rebuild
|
|
|
|
|
2005-08-26 16:08:58 +00:00
|
|
|
* Fri Aug 26 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.4.1-1
|
|
|
|
- Update to 0.4.1
|
|
|
|
|
2005-08-17 23:13:50 +00:00
|
|
|
* Wed Aug 17 2005 Kristian Høgsberg <krh@redhat.com> - 0.4.0-2
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2005-08-17 08:45:58 +00:00
|
|
|
* Wed Aug 17 2005 Marco Pesenti gritti <mpg@redhat.com> - 0.4.0-1
|
|
|
|
- Update to 0.4.0
|
|
|
|
|
2005-08-16 02:10:21 +00:00
|
|
|
* Mon Aug 15 2005 Kristian Høgsberg <krh@redhat.com> - 0.3.3-2
|
|
|
|
- Rebuild to pick up new cairo soname.
|
|
|
|
|
2005-06-21 03:16:26 +00:00
|
|
|
* Mon Jun 20 2005 Kristian Høgsberg <krh@redhat.com> - 0.3.3-1
|
|
|
|
- Update to 0.3.3 and change to build cairo backend.
|
|
|
|
|
2005-05-22 11:09:43 +00:00
|
|
|
* Sun May 22 2005 Marco Pesenti gritti <mpg@redhat.com> - 0.3.2-1
|
|
|
|
- Update to 0.3.2
|
|
|
|
|
2005-05-07 10:32:45 +00:00
|
|
|
* Sat May 7 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.3.1
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
2005-04-23 10:41:32 +00:00
|
|
|
* Sat Apr 23 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.3.0
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
2005-04-13 21:01:16 +00:00
|
|
|
* Wed Apr 13 2005 Florian La Roche <laroche@redhat.com>
|
|
|
|
- remove empty post/postun scripts
|
|
|
|
|
2005-04-06 09:46:21 +00:00
|
|
|
* Wed Apr 6 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
2005-03-12 11:07:18 +00:00
|
|
|
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.2-1
|
|
|
|
- Update to 0.1.2
|
2005-03-12 11:10:00 +00:00
|
|
|
- Use tar.gz because there are not bz of poppler
|
2005-03-12 11:07:18 +00:00
|
|
|
|
2005-03-02 14:52:52 +00:00
|
|
|
* Sat Mar 2 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.1-1
|
|
|
|
- Initial build
|