Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
qpdf
qpdf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qpdf.spec of Package qpdf
# # spec file for package qpdf # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: qpdf Version: 5.1.3 Release: 0 %define so_version 13 Summary: Command-line tools and library for transforming PDF files License: Artistic-2.0 Group: Development/Libraries/C and C++ Url: http://qpdf.sourceforge.net/ Source: http://sourceforge.net/projects/qpdf/files/qpdf/%{version}/qpdf-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: pcre-devel BuildRequires: pkgconfig BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 decryption 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/C and C++ Requires: %{name} = %{version} Requires: libstdc++-devel %description devel The qpdf-devel package contains header files and libraries necessary for developing programs using the qpdf library. %package -n libqpdf%{so_version} Summary: Shared libraries for qpdf Group: Development/Libraries/C and C++ %description -n libqpdf%{so_version} This packages contains the shared libraries required for the qpdf package. %prep %setup -q %build export CXXFLAGS="%optflags -fvisibility-inlines-hidden" %configure --disable-static --disable-test-compare-images \ --docdir='${datarootdir}'/doc/packages/%{name} \ --enable-show-failed-test-output make %{?_smp_mflags} %check make check rm -rf qpdf/qtest # Unicode data can't be redistributed freely %install %makeinstall rm %{buildroot}%{_libdir}/*.la %post -n libqpdf%{so_version} -p /sbin/ldconfig %postun -n libqpdf%{so_version} -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_datadir}/doc/packages/%{name} %doc %{_datadir}/doc/packages/%{name}/* %doc ChangeLog Artistic-2.0 %{_bindir}/* %{_mandir}/man1/* %files -n libqpdf%{so_version} %defattr(-,root,root) %{_libdir}/libqpdf.so.%{so_version}* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/libqpdf.pc %{_libdir}/libqpdf.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor