Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
podofo
podofo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File podofo.spec of Package podofo
# # spec file for package podofo # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define prefix /usr %define libver 0_8_0 # norootforbuild Name: podofo Version: 0.8.0 Release: %{?release_prefix}.8.41 License: GPLv2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freetype2-devel fontconfig-devel zlib-devel libjpeg-devel BuildRequires: gcc-c++ libtiff-devel openssl-devel BuildRequires: cmake >= 2.5 Group: Development/Libraries Summary: PDF parsing and creation library Source0: %{name}-%{version}.tar.bz2 %description A cross platform PDF parsing and creation library. Podofo also includes some command line tools for working with PDF files. %package -n libpodofo%{libver} License: LGPLv2.1 Summary: PDF parsing and creation library Group: Development/Libraries %if 0%{?fedora_version} Provides: podofo-libs %else #Provides: libpodofo = %{version} %endif %description -n libpodofo%{libver} A cross platform PDF parsing and creation library. Podofo also includes some command line tools for working with PDF files. %package -n libpodofo-devel Requires: libpodofo%{libver} = %{version} Summary: Development files for podofo Group: Development/Libraries %if 0%{?fedora_version} Provides: podofo-devel %endif License: LGPLv2.1 Autoreqprov: on #PreReq: %install_info_prereq %description -n libpodofo-devel Developer package for podofo library A cross platform PDF parsing and creation library. %prep %setup -q -n %{name}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=%prefix -DPODOFO_BUILD_STATIC=FALSE ../ %if 0%{?suse_version} > 100 cmake ../ -DCMAKE_INSTALL_PREFIX=%prefix -DPODOFO_BUILD_STATIC=FALSE -DPODOFO_USE_VISIBILITY=1 %endif %ifarch x86_64 ppc64 s390x mips64 sparc64 cmake -DWANT_LIB64=1 DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ../ %endif make %{?jobs:-j %jobs} %install #make install pushd build make -e DESTDIR=$RPM_BUILD_ROOT install popd %clean %{__rm} -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_bindir}/* %files -n libpodofo%{libver} %defattr(-,root,root) %{_libdir}/libpodofo.so.* %files -n libpodofo-devel %defattr(-,root,root) %{_includedir}/podofo #%{_libdir}/libpodofo.*a %{_libdir}/libpodofo.so %post -n libpodofo%{libver} -p /sbin/ldconfig %postun -n libpodofo%{libver} -p /sbin/ldconfig %changelog -n
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