Compare commits

..

No commits in common. 'c9' and 'c8' have entirely different histories.
c9 ... c8

2
.gitignore vendored

@ -1,3 +1,3 @@
SOURCES/potrace-1.16.tar.gz SOURCES/potrace-1.15.tar.gz
SOURCES/potrace.pdf SOURCES/potrace.pdf
SOURCES/potracelib.pdf SOURCES/potracelib.pdf

@ -1,3 +1,3 @@
256b4fb858c66bc38117afde7c722016d2e265f3 SOURCES/potrace-1.16.tar.gz 1a0a4faca17370731b939487847662c8ed1b660d SOURCES/potrace-1.15.tar.gz
618ed67f7dda12d5dbfa041410cd1b6919924d61 SOURCES/potrace.pdf 8ec6d0532295fd1c322395b5bc836cfe9edea3c0 SOURCES/potrace.pdf
8d618f374516ede80c38aa45e39acd579c429bb4 SOURCES/potracelib.pdf 6722feed0793dad4327f2c4f0f7e89733bc38458 SOURCES/potracelib.pdf

File diff suppressed because it is too large Load Diff

@ -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,17 @@ 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 Jun 03 2020 Jan Horak <jhorak@redhat.com> - 1.15-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Fixing build for flatpak (rhbz#1840788)
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
- Added gcc buildrequires.
* 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

Loading…
Cancel
Save