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