61 lines
1.2 KiB
RPMSpec
61 lines
1.2 KiB
RPMSpec
|
Summary: Pdf rendering library
|
||
|
Name: poppler
|
||
|
Version: 0.1.1
|
||
|
Release: 1
|
||
|
License: GPL
|
||
|
Group: Development/Libraries
|
||
|
Source0: %{name}-%{version}.tar.bz2
|
||
|
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 2 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.1-1
|
||
|
- Initial build
|