Summary: A library for processing PDF on the fly Name: PDFlib-Lite Version: 7.0.2 Release: 1.n0i.6%{?dist} Source0: http://www.pdflib.com/binaries/PDFlib/701/%{name}-%{version}.tar.gz License: Commercial Group: Development/Libraries URL: http://www.pdflib.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Conflicts: PDFlib %description PDFlib is a development tool for PDF-enabling your software, or generating PDF on your server. PDFlib saves you the intricate details of PDF generation by offering a simple-to-use API for programmatically creating PDF files from within your own server- or client-side software. PDFlib doesn't make use of third-party software for generating PDF, nor does it require any other tools. PDFlib-Lite is free ONLY for non-profit personal use. %package devel Summary: PDFlib development libraries and header files Group: Development/Libraries Requires: %{name} = %{version} %description devel PDFlib is a development tool for PDF-enabling your software, or generating PDF on your server. PDFlib saves you the intricate details of PDF generation by offering a simple-to-use API for programmatically creating PDF files from within your own server- or client-side software. PDFlib doesn't make use of third-party software for generating PDF, nor does it require any other tools. PDFlib-Lite is free for non-profit personal use. This package contains the libraries and include files that you can use to develop PDFlib applications. %package perl Summary: Perl bindings for PDFlib Group: Development/Libraries Requires: %{name} >= %{version} Requires: perl(:MODULE_COMPAT_%{perl_version}) %description perl PDFlib is a development tool for PDF-enabling your software, or generating PDF on your server. PDFlib saves you the intricate details of PDF generation by offering a simple-to-use API for programmatically creating PDF files from within your own server- or client-side software. PDFlib doesn't make use of third-party software for generating PDF, nor does it require any other tools. PDFlib-Lite is free for non-profit personal use. This package contains the Perl bindings for %{name}. %prep %setup %build %configure \ --enable-large_files \ --with-openssl \ --with-perl=%{__perl} \ --without-ruby \ --without-py \ --without-java \ --without-tcl \ %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT export PERLLIBDIR=${RPM_BUILD_ROOT}%{perl_vendorarch} %{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} ${PERLLIBDIR} %{makeinstall} -e %{__install} progs/pdflib/{pdfimpose,text2pdf} $RPM_BUILD_ROOT%{_bindir}/ %{__find} $RPM_BUILD_ROOT -name '*.so.*' -exec chmod 755 {} \; %clean %{__rm} -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc doc/pdflib/licensekeys.txt %doc doc/pdflib/PDFlib-Lite-license.pdf %doc doc/pdflib/readme.txt %{_bindir}/* %exclude %{_bindir}/pdflib-config %{_libdir}/libpdf.so.* %files devel %defattr(-, root, root) %doc doc/pdflib/changes.txt %doc doc/pdflib/compatibility.txt %doc doc/pdflib/PDFlib-API-reference.pdf %doc doc/pdflib/PDFlib-tutorial.pdf %doc doc/pdflib/readme-source-unix.txt %{_bindir}/pdflib-config %{_includedir}/* %{_libdir}/*.so %exclude %{_libdir}/*.la %exclude %{_libdir}/*.a %files perl %defattr(-, root, root) %doc bind/pdflib/perl/*.pl %{perl_vendorarch}/*.pm %{perl_vendorarch}/*.so* %exclude %{perl_vendorarch}/*.la %exclude %{perl_vendorarch}/*.a %changelog * Thu Sep 20 2007 Marius FERARU - 7.0.2-1.n0i.6 - version 7.0.2 * Sun Jun 03 2007 Marius FERARU - 7.0.1-1.n0i.5 - version 7.0.1 * Mon Aug 21 2006 Marius FERARU - 6.0.3-2.n0i.4 - Dist macro - chmod +x *.so * Fri Apr 07 2006 Marius FERARU - 6.0.3-1.n0i.3 - version 6.0.3 * Thu Jul 28 2005 Marius FERARU 6.0.1-1.n0i.2 - rebuild * Thu Jan 20 2005 Marius FERARU 6.0.1-1.n0i.1 - initial packaging attempt