rebuilt with shared library [release 1.16-2mamba;Wed May 13 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:28:24 +01:00
parent 7a126524c3
commit 6c4c84a219

View File

@ -1,6 +1,6 @@
Name: potrace Name: potrace
Version: 1.16 Version: 1.16
Release: 1mamba Release: 2mamba
Summary: Transforms bitmaps into vector graphics Summary: Transforms bitmaps into vector graphics
Group: Graphical Desktop/Applications/Graphics Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba Vendor: openmamba
@ -12,8 +12,10 @@ Patch: %{name}-1.8-xfig.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -22,12 +24,33 @@ The input is a portable bitmap (PBM), and the default output is an encapsulated
A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc. 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. The resulting image is not "jaggy" like a bitmap, but smooth, and it can be scaled to any resolution.
%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
%prep %prep
%setup -q %setup -q
#%patch -p0 #%patch -p0
%build %build
%configure %configure \
--with-libpotrace \
--enable-metric \
--enable-a4
%make %make
%install %install
@ -37,6 +60,9 @@ The resulting image is not "jaggy" like a bitmap, but smooth, and it can be scal
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}//mkbitmap %{_bindir}//mkbitmap
@ -45,9 +71,24 @@ The resulting image is not "jaggy" like a bitmap, but smooth, and it can be scal
%{_mandir}/man1/potrace.* %{_mandir}/man1/potrace.*
%dir %{_docdir}/potrace %dir %{_docdir}/potrace
%{_docdir}/potrace/placement.pdf %{_docdir}/potrace/placement.pdf
%doc AUTHORS COPYING ChangeLog NEWS README
%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
%changelog %changelog
* Wed May 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
- rebuilt with shared library
* Fri Sep 20 2019 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba * Fri Sep 20 2019 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist - automatic version update by autodist