|
|
@ -37,30 +37,8 @@ viewer). Besides parsing PoDoFo includes also very simple classes to create
|
|
|
|
your own PDF files. All classes are documented so it is easy to start writing
|
|
|
|
your own PDF files. All classes are documented so it is easy to start writing
|
|
|
|
your own application using PoDoFo.
|
|
|
|
your own application using PoDoFo.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
|
|
|
Summary: Runtime library for %{name}
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
|
|
|
Runtime library for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Development files for %{name} library
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: openssl-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
Development files and documentation for the %{name} library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n podofo-%{version}
|
|
|
|
%setup -q -n podofo-%{version}
|
|
|
|
sed -i "s/\.1/0\.9\.6\.1/g" man/CMakeLists.txt
|
|
|
|
|
|
|
|
find man/ -type f -name "*.1" | while read file
|
|
|
|
|
|
|
|
do
|
|
|
|
|
|
|
|
mv $file ${file%.*}%{mver}".1"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
# fix broken copying rule
|
|
|
|
# fix broken copying rule
|
|
|
|
mkdir test/TokenizerTest/objects
|
|
|
|
mkdir test/TokenizerTest/objects
|
|
|
|
|
|
|
|
|
|
|
@ -75,44 +53,23 @@ mkdir test/TokenizerTest/objects
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
mv %{buildroot}/%{_bindir}/podofobox{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofocolor{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofocountpages{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofocrop{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoencrypt{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofogc{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoimg2pdf{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoimgextract{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoimpose{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoincrementalupdates{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofomerge{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofopages{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofopdfinfo{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofosign{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofotxt2pdf{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofotxtextract{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofouncompress{,%{mver}}
|
|
|
|
|
|
|
|
mv %{buildroot}/%{_bindir}/podofoxmp{,%{mver}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i "s|podofo-0|podofo|g" %{buildroot}/%{_libdir}/pkgconfig/libpodofo-0.pc
|
|
|
|
|
|
|
|
sed -i "s|^Version:.*|Version: %{mver}|g" %{buildroot}/%{_libdir}/pkgconfig/libpodofo-0.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove binaries
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
# Remove man-pages
|
|
|
|
%license COPYING
|
|
|
|
rm -rf %{buildroot}/%{_mandir}/man*
|
|
|
|
%{_bindir}/podofo*
|
|
|
|
|
|
|
|
%{_mandir}/man1/podofo*.1*
|
|
|
|
# Delete devel files
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_includedir}
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/*.so
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files
|
|
|
|
%doc AUTHORS ChangeLog FAQ.html README.html TODO
|
|
|
|
%doc AUTHORS ChangeLog FAQ.html README.html TODO
|
|
|
|
%license COPYING.LIB COPYING.exception
|
|
|
|
%license COPYING COPYING.LIB COPYING.exception
|
|
|
|
%{_libdir}/*.so.0.9.6
|
|
|
|
%{_libdir}/*.so.0.9.6
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%{_includedir}/podofo
|
|
|
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/libpodofo*.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jul 10 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.9.6-1.inferit
|
|
|
|
* Mon Jul 10 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.9.6-1.inferit
|
|
|
|
- MSVSphere 9 build
|
|
|
|
- MSVSphere 9 build
|
|
|
|