396a1c1499
- Use tar.gz because there are not bz of poppler
65 lines
1.3 KiB
RPMSpec
65 lines
1.3 KiB
RPMSpec
Summary: Pdf rendering library
|
|
Name: poppler
|
|
Version: 0.1.2
|
|
Release: 1
|
|
License: GPL
|
|
Group: Development/Libraries
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: gtk2-devel
|
|
Requires: gtk2
|
|
|
|
%description
|
|
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
|
viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
|
|
|
%package devel
|
|
Summary: Libraries and headers for poppler
|
|
Group: Development/Libraries
|
|
Requires: %name = %{version}
|
|
|
|
%description devel
|
|
Poppler, a PDF rendering library, it's a fork of the xpdf PDF
|
|
viewer developed by Derek Noonburg of Glyph and Cog, LLC.
|
|
|
|
You should install the poppler-devel package if you would like to
|
|
compile applications based on poppler.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-cairo-output
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog README
|
|
%{_libdir}/lib*.so*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/lib*.a
|
|
%{_includedir}/poppler
|
|
|
|
%changelog
|
|
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.2-1
|
|
- Update to 0.1.2
|
|
- Use tar.gz because there are not bz of poppler
|
|
|
|
* Sat Mar 2 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.1-1
|
|
- Initial build
|