- add needed scriptlets

- nuke rpaths
This commit is contained in:
Rex Dieter 2009-01-20 15:46:48 +00:00
parent badff12f8b
commit 33336e68ca

View File

@ -3,7 +3,7 @@
Summary: PDF rendering library Summary: PDF rendering library
Name: poppler Name: poppler
Version: 0.10.3 Version: 0.10.3
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 and Redistributable, no modification permitted License: GPLv2 and Redistributable, no modification permitted
# the code is GPLv2 # the code is GPLv2
# the charmap data in /usr/share/poppler is redistributable # the charmap data in /usr/share/poppler is redistributable
@ -14,6 +14,7 @@ Source1: http://poppler.freedesktop.org/poppler-data-%{dataversion}.tar.gz
Patch0: poppler-ObjStream.patch Patch0: poppler-ObjStream.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: automake libtool
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
BuildRequires: cairo-devel BuildRequires: cairo-devel
BuildRequires: qt3-devel BuildRequires: qt3-devel
@ -28,7 +29,6 @@ Summary: Libraries and headers for poppler
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
You should install the poppler-devel package if you would like to You should install the poppler-devel package if you would like to
compile applications based on poppler. compile applications based on poppler.
@ -37,7 +37,6 @@ compile applications based on poppler.
Summary: Glib wrapper for poppler Summary: Glib wrapper for poppler
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description glib %description glib
%{summary}. %{summary}.
@ -47,11 +46,9 @@ Group: Development/Libraries
Requires: %{name}-glib = %{version}-%{release} Requires: %{name}-glib = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release}
Requires: gtk-doc Requires: gtk-doc
%description glib-devel %description glib-devel
%{summary}. %{summary}.
%package qt %package qt
Summary: Qt3 wrapper for poppler Summary: Qt3 wrapper for poppler
Group: System Environment/Libraries Group: System Environment/Libraries
@ -85,7 +82,7 @@ Requires: qt4-devel
%{summary}. %{summary}.
%package utils %package utils
Summary: Command line utilities for converting PDF files. Summary: Command line utilities for converting PDF files
Group: Applications/Text Group: Applications/Text
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Conflicts: xpdf <= 1:3.01-8 Conflicts: xpdf <= 1:3.01-8
@ -108,6 +105,8 @@ converting PDF files to a number of other formats.
%setup -c -q -a1 %setup -c -q -a1
pushd %{name}-%{version} pushd %{name}-%{version}
%patch0 -p0 -b .objstream %patch0 -p0 -b .objstream
# hammer to nuke rpaths, recheck on new releases
autoreconf -i -f
popd popd
%build %build
@ -137,9 +136,27 @@ make -C %{name}-data-%{dataversion} \
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
%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 qt4 -p /sbin/ldconfig
%postun qt4 -p /sbin/ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc %{name}-%{version}/README %doc %{name}-%{version}/README
@ -194,7 +211,12 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Tue Jan 20 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.3-2
- add needed scriptlets
- nuke rpaths
* Tue Jan 13 2009 Matthias Clasen <mclasen@redhat.com> - 0.10.3-1 * Tue Jan 13 2009 Matthias Clasen <mclasen@redhat.com> - 0.10.3-1
- Update to 0.10.3 - Update to 0.10.3