diff --git a/poppler.spec b/poppler.spec index eccec9f..c7ac38a 100644 --- a/poppler.spec +++ b/poppler.spec @@ -25,7 +25,6 @@ BuildRequires: pkgconfig(Qt5Gui) pkgconfig(Qt5Xml) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(nss) >= 3.0.0 - %description Poppler, a PDF rendering library, is a fork of the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. @@ -53,7 +52,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release} %description glib-devel %{summary}. - %package qt Summary: Qt4 wrapper for poppler Requires: %{name}%{?_isa} = %{version}-%{release} @@ -88,7 +86,6 @@ Requires: qt5-qtbase-devel %description qt5-devel %{summary}. - %package cpp Summary: Pure C++ wrapper for poppler Requires: %{name}%{?_isa} = %{version}-%{release} @@ -159,13 +156,10 @@ sed -i \ export LD_LIBRARY_PATH=`pwd`/poppler/.libs:`pwd`/glib/.libs:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} make %{?_smp_mflags} - %install make install DESTDIR=$RPM_BUILD_ROOT - rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la - %check # verify pkg-config sanity/version export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig @@ -177,28 +171,21 @@ test "$(pkg-config --modversion poppler-qt4)" = "%{version}" test "$(pkg-config --modversion poppler-qt5)" = "%{version}" test "$(pkg-config --modversion poppler-splash)" = "%{version}" - %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %post glib -p /sbin/ldconfig - %postun glib -p /sbin/ldconfig %post qt -p /sbin/ldconfig - %postun qt -p /sbin/ldconfig %post qt5 -p /sbin/ldconfig - %postun qt5 -p /sbin/ldconfig %post cpp -p /sbin/ldconfig - %postun cpp -p /sbin/ldconfig - %files %doc COPYING README %{_libdir}/libpoppler.so.65* @@ -257,7 +244,6 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %files demos %{_bindir}/poppler-glib-demo - %changelog * Tue Nov 22 2016 David Tardon - 0.49.0-1 - new upstream release