2024-01-06 10:28:23 +01:00
|
|
|
Name: potrace
|
2024-01-06 10:28:23 +01:00
|
|
|
Version: 1.16
|
2024-01-06 10:28:24 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 10:28:23 +01:00
|
|
|
Summary: Transforms bitmaps into vector graphics
|
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
|
|
URL: http://potrace.sourceforge.net/
|
2024-01-06 10:28:23 +01:00
|
|
|
Source: http://potrace.sourceforge.net/download/%{version}/potrace-%{version}.tar.gz
|
2024-01-06 10:28:23 +01:00
|
|
|
Patch: %{name}-1.8-xfig.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 10:28:24 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 10:28:23 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:28:24 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 10:28:23 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
potrace is a utility for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image.
|
|
|
|
The input is a portable bitmap (PBM), and the default output is an encapsulated PostScript file (EPS).
|
|
|
|
A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc.
|
|
|
|
The resulting image is not "jaggy" like a bitmap, but smooth, and it can be scaled to any resolution.
|
|
|
|
|
2024-01-06 10:28:24 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared library provided with %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains the shared library provided with %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch -p0
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:28:24 +01:00
|
|
|
%configure \
|
|
|
|
--with-libpotrace \
|
|
|
|
--enable-metric \
|
|
|
|
--enable-a4
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:28:24 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}//mkbitmap
|
|
|
|
%{_bindir}/potrace
|
|
|
|
%{_mandir}/man1/mkbitmap.*
|
|
|
|
%{_mandir}/man1/potrace.*
|
|
|
|
%dir %{_docdir}/potrace
|
|
|
|
%{_docdir}/potrace/placement.pdf
|
2024-01-06 10:28:24 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpotrace.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/potracelib.h
|
|
|
|
%{_libdir}/libpotrace.a
|
|
|
|
%{_libdir}/libpotrace.la
|
|
|
|
%{_libdir}/libpotrace.so
|
|
|
|
%doc ChangeLog NEWS README
|
2024-01-06 10:28:23 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:28:24 +01:00
|
|
|
* Wed May 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
|
|
|
|
- rebuilt with shared library
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Fri Sep 20 2019 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Sat Jan 13 2018 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Thu Mar 16 2017 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Sun Jan 31 2016 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-1mamba
|
|
|
|
- update to 1.12
|
|
|
|
|
2024-01-06 10:28:23 +01:00
|
|
|
* Wed Feb 20 2013 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 30 2011 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 28 2011 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
|
|
|
|
- update to 1.9
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Automatic Build System <autodist@mambasoft.it> 1.9.win64-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 26 2007 Aleph0 <aleph0@openmamba.org> 1.8-1mamba
|
|
|
|
- update to 1.8
|
|
|
|
|
|
|
|
* Tue May 17 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.7-1qilnx
|
|
|
|
- new version
|
|
|
|
|
|
|
|
* Fri Sep 17 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.5-1qilnx
|
|
|
|
- first build
|