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