[Tizen-submit] 2887: New package Tizen:2.1:Main/qpdf

noreply at tizen.org noreply at tizen.org
Wed Apr 24 22:58:57 GMT 2013


Hi,
Adding new package qpdf in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/qpdf
Tag: submit/tizen_2.1/20130424.225916
Commit: 9240f55 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2887

  submit:       Tizen:2.1:Main:build/qpdf(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/qpdf
Tag: submit/tizen_2.1/20130424.225916
Commit: 9240f55 Tizen 2.1 base

State:   new        2013-04-24T15:29:35 tizenrobot
Comment: <no comment>
new:
----
  qpdf-3.0.2.tar.gz
  qpdf.spec

spec files:
-----------

++++++ new spec file:
--- qpdf.spec
+++ qpdf.spec
@@ -0,0 +1,106 @@
+%define _unpackaged_files_terminate_build 0
+
+Summary: Command-line tools and library for transforming PDF files
+Name: qpdf
+Version: 3.0.2
+Release: 2
+VCS:        external/qpdf#2.1_release-0-g9240f55
+License: Artistic
+Group: System Environment/Libraries
+URL: http://qpdf.sourceforge.net/
+Source: %{name}-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: zlib-devel
+BuildRequires: libpcre-devel
+#BuildRequires: pcre
+
+%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/Libraries
+Requires: %{name} = %{version}-%{release} zlib-devel libpcre-devel
+
+%description devel
+The qpdf-devel package contains header files and libraries necessary
+for developing programs using the qpdf library.
+
+%package static
+Summary: Static QPDF library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+The qpdf-static package contains the static qpdf library.
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure --without-docdir
+#    --docdir='${datarootdir}'/doc/%{name}-%{version}
+
+make %{?_smp_mflags}
+make check
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall
+# %doc below clobbers our docdir, so we have to copy it to a safe
+# place so we can install it using %doc.  We should still set docdir
+# properly when configuring so that it gets substituted properly by
+# autoconf.
+#cp -a $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} install-docs
+#mkdir -p install-examples/examples
+#cp -p examples/*.cc examples/*.c install-examples/examples
+# Red Hat doesn't ship .la files.
+#rm -f $RPM_BUILD_ROOT%{_libdir}/libqpdf.la
+
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/Artistic-2.0 %{buildroot}/usr/share/license/%{name}
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list