|
|
@ -1,7 +1,8 @@
|
|
|
|
Name: potrace
|
|
|
|
Name: potrace
|
|
|
|
Version: 1.16
|
|
|
|
Version: 1.15
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Transform bitmaps into vector graphics
|
|
|
|
Summary: Transform bitmaps into vector graphics
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
# README defines license as GPLv2+
|
|
|
|
# README defines license as GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://potrace.sourceforge.net
|
|
|
|
URL: http://potrace.sourceforge.net
|
|
|
@ -9,9 +10,11 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
# Documentation
|
|
|
|
# Documentation
|
|
|
|
Source1: http://potrace.sourceforge.net/potrace.pdf
|
|
|
|
Source1: http://potrace.sourceforge.net/potrace.pdf
|
|
|
|
Source2: http://potrace.sourceforge.net/potracelib.pdf
|
|
|
|
Source2: http://potrace.sourceforge.net/potracelib.pdf
|
|
|
|
|
|
|
|
# Patch for supporting 64 bit ARM from upstream
|
|
|
|
|
|
|
|
Patch0: potrace-1.11-autoconf.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -32,6 +35,7 @@ the input for better tracing behavior on greyscale and color images.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Potrace development library and headers
|
|
|
|
Summary: Potrace development library and headers
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -40,6 +44,7 @@ This package contains the potrace development library and headers.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation on how to use the potrace library
|
|
|
|
Summary: Documentation on how to use the potrace library
|
|
|
|
|
|
|
|
Group: Documentation
|
|
|
|
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
|
|
|
|
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -56,17 +61,21 @@ cp -a %{SOURCE2} .
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
--enable-metric --with-libpotrace --with-pic
|
|
|
|
--enable-metric --with-libpotrace --with-pic
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%make_install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -name *.la -exec rm -rf {} \;
|
|
|
|
find %{buildroot} -name *.la -exec rm -rf {} \;
|
|
|
|
|
|
|
|
|
|
|
|
# Get rid of installed copy of placement.pdf
|
|
|
|
# Get rid of installed copy of placement.pdf
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
|
|
|
|
%{_bindir}/potrace
|
|
|
|
%{_bindir}/potrace
|
|
|
|
%{_bindir}/mkbitmap
|
|
|
|
%{_bindir}/mkbitmap
|
|
|
@ -75,47 +84,20 @@ rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
|
%{_mandir}/man1/mkbitmap.1*
|
|
|
|
%{_mandir}/man1/mkbitmap.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libpotrace.so
|
|
|
|
%{_libdir}/libpotrace.so
|
|
|
|
%{_includedir}/potracelib.h
|
|
|
|
%{_includedir}/potracelib.h
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc potrace.pdf potracelib.pdf
|
|
|
|
%doc potrace.pdf potracelib.pdf
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.16-7
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.15-3
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.16-6
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.16-3
|
|
|
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 28 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-1
|
|
|
|
|
|
|
|
- Update to 1.16.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 28 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.15-3
|
|
|
|
* Wed Jun 03 2020 Jan Horak <jhorak@redhat.com> - 1.15-3
|
|
|
|
- Added gcc buildrequires.
|
|
|
|
- Fixing build for flatpak (rhbz#1840788)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|