This commit is contained in:
David Tardon 2016-11-22 18:03:36 +01:00
parent 6d07b1a451
commit 90183bc55c

View File

@ -3,7 +3,6 @@ Name: poppler
Version: 0.49.0
Release: 1%{?dist}
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
Group: Development/Libraries
URL: http://poppler.freedesktop.org/
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz
@ -33,7 +32,6 @@ viewer developed by Derek Noonburg of Glyph and Cog, LLC.
%package devel
Summary: Libraries and headers for poppler
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -42,7 +40,6 @@ compile applications based on poppler.
%package glib
Summary: Glib wrapper for poppler
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description glib
@ -50,7 +47,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%package glib-devel
Summary: Development files for glib wrapper
Group: Development/Libraries
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -60,7 +56,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%package qt
Summary: Qt4 wrapper for poppler
Group: System Environment/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%{?_qt4:Requires: qt4%{?_isa} >= %{_qt4_version}}
Obsoletes: poppler-qt4 < 0.16.0-3
@ -70,7 +65,6 @@ Provides: poppler-qt4 = %{version}-%{release}
%package qt-devel
Summary: Development files for Qt4 wrapper
Group: Development/Libraries
Requires: %{name}-qt%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Obsoletes: poppler-qt4-devel < 0.16.0-3
@ -81,7 +75,6 @@ Requires: qt4-devel
%package qt5
Summary: Qt5 wrapper for poppler
Group: System Environment/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%{?_qt5:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
%description qt5
@ -89,7 +82,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%package qt5-devel
Summary: Development files for Qt5 wrapper
Group: Development/Libraries
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel
@ -99,7 +91,6 @@ Requires: qt5-qtbase-devel
%package cpp
Summary: Pure C++ wrapper for poppler
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description cpp
@ -107,7 +98,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%package cpp-devel
Summary: Development files for C++ wrapper
Group: Development/Libraries
Requires: %{name}-cpp%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -116,7 +106,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%package utils
Summary: Command line utilities for converting PDF files
Group: Applications/Text
Requires: %{name}%{?_isa} = %{version}-%{release}
%if 0%{?fedora} < 11 && 0%{?rhel} < 6
# last seen in fc8
@ -137,7 +126,6 @@ converting PDF files to a number of other formats.
%package demos
Summary: Demos for poppler
Group: Applications/Text
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
%description demos
@ -212,12 +200,10 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}"
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_libdir}/libpoppler.so.65*
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/poppler.pc
%{_libdir}/pkgconfig/poppler-splash.pc
%{_libdir}/libpoppler.so
@ -230,12 +216,10 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}"
%{_datadir}/gtk-doc/
%files glib
%defattr(-,root,root,-)
%{_libdir}/libpoppler-glib.so.8*
%{_libdir}/girepository-1.0/Poppler-0.18.typelib
%files glib-devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/poppler-glib.pc
%{_libdir}/pkgconfig/poppler-cairo.pc
%{_libdir}/libpoppler-glib.so
@ -243,42 +227,34 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}"
%{_includedir}/poppler/glib/
%files qt
%defattr(-,root,root,-)
%{_libdir}/libpoppler-qt4.so.4*
%files qt-devel
%defattr(-,root,root,-)
%{_libdir}/libpoppler-qt4.so
%{_libdir}/pkgconfig/poppler-qt4.pc
%{_includedir}/poppler/qt4/
%files qt5
%defattr(-,root,root,-)
%{_libdir}/libpoppler-qt5.so.1*
%files qt5-devel
%defattr(-,root,root,-)
%{_libdir}/libpoppler-qt5.so
%{_libdir}/pkgconfig/poppler-qt5.pc
%{_includedir}/poppler/qt5/
%files cpp
%defattr(-,root,root,-)
%{_libdir}/libpoppler-cpp.so.0*
%files cpp-devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/poppler-cpp.pc
%{_libdir}/libpoppler-cpp.so
%{_includedir}/poppler/cpp
%files utils
%defattr(-,root,root,-)
%{_bindir}/pdf*
%{_mandir}/man1/*
%files demos
%defattr(-,root,root,-)
%{_bindir}/poppler-glib-demo