diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-06-14 00:35:43 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-06-14 00:38:44 -0400 |
commit | a1cd573eed59d27cc250bfe8c43a2e6f168cce02 (patch) | |
tree | a4a3cd6bd6d1291d931a96c27a71b3534f4cd3f7 | |
parent | f61cd1fa36fc1529f22b2fa7855d3ff6b9e33762 (diff) | |
download | qpdf-a1cd573eed59d27cc250bfe8c43a2e6f168cce02.tar.gz qpdf-a1cd573eed59d27cc250bfe8c43a2e6f168cce02.tar.bz2 qpdf-a1cd573eed59d27cc250bfe8c43a2e6f168cce02.zip |
add packaging and reset to use upstream tarsubmit/tizen/20130614.044400accepted/tizen/20130614.120739
-rw-r--r-- | packaging/qpdf.manifest | 6 | ||||
-rw-r--r-- | packaging/qpdf.spec | 75 |
2 files changed, 81 insertions, 0 deletions
diff --git a/packaging/qpdf.manifest b/packaging/qpdf.manifest new file mode 100644 index 0000000..81ace0c --- /dev/null +++ b/packaging/qpdf.manifest @@ -0,0 +1,6 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> + diff --git a/packaging/qpdf.spec b/packaging/qpdf.spec new file mode 100644 index 0000000..8603381 --- /dev/null +++ b/packaging/qpdf.spec @@ -0,0 +1,75 @@ +Name: qpdf +Version: 3.0.2 +Release: 0 +License: Artistic-2.0 +Summary: Command-line tools and library for transforming PDF files +Url: http://qpdf.sourceforge.net/ +Group: System/Libraries +Source: %{name}-%{version}.tar.gz +Source1: %{name}.manifest +BuildRequires: pkgconfig(libpcre) +BuildRequires: pkgconfig(zlib) + +%description +QPDF is a program that does structural, content-preserving +transformations on PDF files. It could have been called something +like pdf-to-pdf. It also provides many useful capabilities to +developers of PDF-producing software or for people who just want to +look at the innards of a PDF file to learn more about how they work. + +QPDF offers many capabilities such as linearization (web +optimization), encrypt, and decription of PDF files. Note that QPDF +does not have the capability to create PDF files from scratch; it is +only used to create PDF files with special characteristics starting +from other PDF files or to inspect or extract information from +existing PDF files. + +%package devel +Summary: Development files for qpdf PDF manipulation library +Group: Development/System +Requires: %{name} = %{version} +Requires: pkgconfig(libpcre) +Requires: pkgconfig(zlib) + +%description devel +The qpdf-devel package contains header files and libraries necessary +for developing programs using the qpdf library. + + +%prep +%setup -q +cp %{SOURCE1} . + +%build +./autogen.sh +%configure --without-docdir + +make %{?_smp_mflags} + +%check +make check + +%install +%make_install +rm -rf %{buildroot}/%{_datadir}/doc/qpdf +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%docs_package + +%files +%manifest qpdf.manifest +%defattr(-,root,root) +%license Artistic-2.0 +%exclude %{_bindir}/* +%{_libdir}/libqpdf*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/libqpdf*.so +%{_libdir}/pkgconfig/*.pc + + +%changelog |