2024-01-06 10:34:20 +01:00
|
|
|
%define libname lib%{name}
|
|
|
|
|
|
|
|
Name: pstoedit
|
2024-01-06 10:34:21 +01:00
|
|
|
Version: 4.00
|
|
|
|
Release: 1mamba
|
2024-01-06 10:34:20 +01:00
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:34:20 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:34:20 +01:00
|
|
|
URL: http://www.pstoedit.net/pstoedit
|
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-3.45-gcc4_no_pedantic.patch
|
|
|
|
Patch1: %{name}-3.45-gcc43.patch
|
|
|
|
Patch2: %{name}-3.45-drvswf.patch
|
|
|
|
Patch3: %{name}-3.45-gcc44.patch
|
2024-01-06 10:34:20 +01:00
|
|
|
Patch4: pstoedit-3.78-gcc-12.0.2.patch
|
2024-01-06 10:34:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libEMF-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgd-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libjbig-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libming-devel
|
2024-01-06 10:34:21 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libplot-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libzip-devel
|
|
|
|
BuildRequires: libzstd-devel
|
2024-01-06 10:34:20 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libMagick-devel >= 6.9.1.4-1mamba
|
2024-01-06 10:34:20 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: liblcms-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
Requires: %{libname} >= %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: ghostscript >= 7.07.1
|
|
|
|
|
|
|
|
%description
|
|
|
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Libraries for application which use %{name}
|
2024-01-06 10:34:20 +01:00
|
|
|
Group: System/Libraries
|
2024-01-06 10:34:20 +01:00
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
2024-01-06 10:34:20 +01:00
|
|
|
This package contains the shared libraries provided with %{name}.
|
2024-01-06 10:34:20 +01:00
|
|
|
|
|
|
|
%package -n %{libname}-devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{libname}-devel
|
|
|
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
2024-01-06 10:34:20 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 10:34:20 +01:00
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
%debug_package
|
2024-01-06 10:34:20 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 10:34:21 +01:00
|
|
|
#%patch 4 -p1
|
2024-01-06 10:34:20 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-libemf-include=%{_includedir}/libEMF
|
|
|
|
|
|
|
|
%make -j1
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
install -D doc/%{name}.1 \
|
|
|
|
%{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
|
|
|
|
for f in %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/%{name}/*.la; do
|
|
|
|
sed -i "s:%{buildroot}::g" $f
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 10:34:21 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
2024-01-06 10:34:20 +01:00
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_mandir}/man1/%{name}.*
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:34:20 +01:00
|
|
|
%{_libdir}/libpstoedit.so.*
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%{_libdir}/%{name}/lib*.so*
|
2024-01-06 10:34:20 +01:00
|
|
|
%doc copying
|
2024-01-06 10:34:20 +01:00
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:34:20 +01:00
|
|
|
%dir %{_includedir}/%{name}
|
2024-01-06 10:34:20 +01:00
|
|
|
%{_includedir}/%{name}/*.h
|
2024-01-06 10:34:20 +01:00
|
|
|
%{_libdir}/libpstoedit.so
|
2024-01-06 10:34:20 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
2024-01-06 10:34:20 +01:00
|
|
|
%dir %{_docdir}/pstoedit
|
|
|
|
%{_docdir}/pstoedit/*
|
2024-01-06 10:34:20 +01:00
|
|
|
%doc examples/*.ps
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:34:21 +01:00
|
|
|
* Thu Jul 27 2023 Automatic Build System <autodist@mambasoft.it> 4.00-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Sun Dec 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.78-3mamba
|
|
|
|
- rebuilt without .la files and with specfile cleanups
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.78-2mamba
|
|
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 3.78-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Sat Sep 04 2021 Automatic Build System <autodist@mambasoft.it> 3.77-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 3.75-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Fri Jun 07 2019 Automatic Build System <autodist@mambasoft.it> 3.74-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Sat Jun 23 2018 Automatic Build System <autodist@mambasoft.it> 3.73-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Thu Apr 26 2018 Automatic Build System <autodist@mambasoft.it> 3.71-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Thu Jun 11 2015 Automatic Build System <autodist@mambasoft.it> 3.70-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.1.4-1mamba
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.70-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 3.70-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:34:20 +01:00
|
|
|
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 3.62-3mamba
|
|
|
|
- rebuilt with ImageMagick 6.8.8.7
|
|
|
|
|
|
|
|
* Tue Aug 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.62-2mamba
|
|
|
|
- libpng 1.6 mass rebuild
|
|
|
|
|
|
|
|
* Tue Apr 30 2013 Automatic Build System <autodist@mambasoft.it> 3.62-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 09 2012 Automatic Build System <autodist@mambasoft.it> 3.61-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 28 2011 Automatic Build System <autodist@mambasoft.it> 3.60-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 22 2010 Automatic Build System <autodist@mambasoft.it> 3.50-6mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 3.50-5mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 3.50-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 3.50-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 3.50-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Automatic Build System <autodist@mambasoft.it> 3.50-1mamba
|
|
|
|
- update to 3.50
|
|
|
|
|
|
|
|
* Mon Jun 01 2009 Automatic Build System <autodist@mambasoft.it> 3.45-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Feb 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.45-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Nov 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.45-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Jun 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.45-1mamba
|
|
|
|
- update to 3.45
|
|
|
|
|
|
|
|
* Tue Oct 31 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.44-1qilnx
|
|
|
|
- update to version 3.44 by autospec
|
|
|
|
|
|
|
|
* Mon Jan 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.42-1qilnx
|
|
|
|
- update to version 3.42 by autospec
|
|
|
|
|
|
|
|
* Thu Jul 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.40-1qilnx
|
|
|
|
- package created by autospec
|