automatic version update by autodist [release 0.10.2-1mamba;Tue Nov 07 2023]

This commit is contained in:
Automatic Build System 2024-01-06 10:23:38 +01:00
parent f763ea52a9
commit 91fa2d33d8

View File

@ -1,15 +1,15 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: podofo
Version: 0.9.8
Release: 2mamba
Version: 0.10.2
Release: 1mamba
Summary: Tools based on libpodofo to work with the PDF file format
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://podofo.sourceforge.net/
Source: https://downloads.sourceforge.net/project/podofo/podofo/%{version}/podofo-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/podofo/podofo
Source: https://github.com/podofo/podofo.git/%{version}/podofo-%{version}.tar.bz2
Patch0: podofo-0.9.3-gcc-4.9.patch
Patch1: podofo-0.9.8-upstream-fix_declaration_of_operator.patch
License: GPL
@ -20,12 +20,11 @@ BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libidn-devel
BuildRequires: libjpeg-devel
BuildRequires: liblua-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libunistring-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: libpodofo = %{?epoch:%epoch:}%{version}-%{release}
@ -53,7 +52,7 @@ Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: libpodofo = %{?epoch:%epoch:}%{version}-%{release}
Provides: podofo-devel
Obsoletes: podofo-devel
Obsoletes: podofo-devel < 0.10.1
%description -n libpodofo-devel
This package contains libraries and header files for developing applications that use lib%{name}.
@ -65,14 +64,12 @@ This package contains libraries and header files for developing applications tha
#%ifnarch x86_64
#%patch0 -p1
#%endif
%patch1 -p1 -b .upstream-fix_declaration_of_operator
#%patch 1 -p1 -b .upstream-fix_declaration_of_operator
%build
%cmake -d build \
-DPODOFO_BUILD_SHARED:BOOL=TRUE \
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
-DLUA_INCLUDE_DIR=`pkg-config --variable=includedir lua5.1` \
-DFREETYPE_INCLUDE_DIR=%{_includedir}/freetype2 \
-DPODOFO_BUILD_TOOLS=True \
-DPODOFO_HAVE_JPEG_LIB=1 \
-DPODOFO_HAVE_PNG_LIB=1 \
-DPODOFO_HAVE_TIFF_LIB=1 \
@ -80,6 +77,11 @@ This package contains libraries and header files for developing applications tha
-DWANT_LIB64=1 \
%endif
# -DPODOFO_BUILD_SHARED:BOOL=TRUE \
# -DPODOFO_BUILD_STATIC:BOOL=FALSE \
# -DLUA_INCLUDE_DIR=`pkg-config --variable=includedir lua5.1` \
%make
%install
@ -95,22 +97,28 @@ This package contains libraries and header files for developing applications tha
%files -n libpodofo
%defattr(-,root,root)
%{_libdir}/libpodofo.so.*
%doc COPYING.LIB
#%doc COPYING
%files -n libpodofo-devel
%defattr(-,root,root)
%dir %{_includedir}/podofo
%{_includedir}/podofo/*
%{_libdir}/libpodofo.so
%dir %{_datadir}/podofo
%{_datadir}/podofo/podofo-config*.cmake
%{_libdir}/pkgconfig/libpodofo.pc
%files
%defattr(-,root,root)
%{_bindir}/podofo*
%{_mandir}/man1/podofo*.1*
%doc COPYING
%changelog
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic version update by autodist
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
- update to 0.10.1
* Wed Jan 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8-2mamba
- rebuilt with upstream build fix