Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.0:Ports
qpdf
qpdf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qpdf.spec of Package qpdf
# # spec file for package qpdf # # Copyright (c) 2018 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/ # %define so_version 21 Name: qpdf Version: 8.0.2 Release: 0 Summary: Command-line tools and library for transforming PDF files License: Apache-2.0 Group: Development/Libraries/C and C++ Url: http://qpdf.sourceforge.net/ Source: https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz Source1: https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz.asc Source2: qpdf.keyring BuildRequires: gcc-c++ BuildRequires: libjpeg8-devel BuildRequires: pkgconfig BuildRequires: zlib-devel %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 %{?_smp_mflags} check rm -rf qpdf/qtest # Unicode data can't be redistributed freely %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n libqpdf%{so_version} -p /sbin/ldconfig %postun -n libqpdf%{so_version} -p /sbin/ldconfig %files %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/* %doc ChangeLog Artistic-2.0 %{_bindir}/* %{_mandir}/man1/* %files -n libqpdf%{so_version} %{_libdir}/libqpdf.so.%{so_version}* %files devel %{_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