- include qt4 wrapper
This commit is contained in:
parent
fb9be2cde1
commit
9e9befac05
46
poppler.spec
46
poppler.spec
@ -3,7 +3,7 @@
|
||||
Summary: PDF rendering library
|
||||
Name: poppler
|
||||
Version: 0.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2 and Redistributable, no modification permitted
|
||||
# the code is GPLv2
|
||||
# the charmap data in /usr/share/poppler is redistributable
|
||||
@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: qt-devel
|
||||
BuildRequires: qt4-devel
|
||||
|
||||
%description
|
||||
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
||||
@ -52,6 +53,22 @@ Requires: qt-devel
|
||||
%description qt-devel
|
||||
%{summary}.
|
||||
|
||||
%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}.
|
||||
|
||||
%package utils
|
||||
Summary: Command line utilities for converting PDF files.
|
||||
Group: Applications/Text
|
||||
@ -80,7 +97,8 @@ converting PDF files to a number of other formats.
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-cairo-output \
|
||||
--enable-poppler-qt
|
||||
--enable-poppler-qt \
|
||||
--enable-poppler-qt4
|
||||
)
|
||||
make %{?_smp_mflags} -C %{name}-%{version}
|
||||
|
||||
@ -114,9 +132,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%exclude %{_libdir}/pkgconfig/poppler-qt.pc
|
||||
%{_libdir}/pkgconfig/*
|
||||
%exclude %{_libdir}/libpoppler-qt.so
|
||||
%{_libdir}/lib*.so
|
||||
%{_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
|
||||
%dir %{_includedir}/poppler/
|
||||
%{_includedir}/poppler/glib/
|
||||
%{_datadir}/gtk-doc/html/poppler
|
||||
@ -129,7 +150,17 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpoppler-qt.so
|
||||
%{_libdir}/pkgconfig/poppler-qt.pc
|
||||
%{_includedir}/poppler/qt3
|
||||
%{_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/
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
@ -137,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.6-2
|
||||
- include qt4 wrapper
|
||||
|
||||
* Tue Sep 4 2007 Kristian Høgsberg <krh@redhat.com> - 0.6-1
|
||||
- Update to 0.6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user