|
|
1424692 |
Name: potrace
|
|
|
0a2160f |
Version: 1.16
|
|
|
0a2160f |
Release: 1%{?dist}
|
|
|
1424692 |
Summary: Transform bitmaps into vector graphics
|
|
|
1424692 |
# README defines license as GPLv2+
|
|
|
1424692 |
License: GPLv2+
|
|
|
1424692 |
URL: http://potrace.sourceforge.net
|
|
|
1424692 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
1424692 |
# Documentation
|
|
|
1424692 |
Source1: http://potrace.sourceforge.net/potrace.pdf
|
|
|
1424692 |
Source2: http://potrace.sourceforge.net/potracelib.pdf
|
|
|
1424692 |
|
|
|
48f1065 |
BuildRequires: gcc
|
|
|
1424692 |
BuildRequires: zlib-devel
|
|
|
1424692 |
|
|
|
1424692 |
%description
|
|
|
1424692 |
Potrace is a utility for tracing a bitmap, which means, transforming a bitmap
|
|
|
1424692 |
into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP
|
|
|
1424692 |
format), and the default output is an encapsulated PostScript file (EPS).
|
|
|
1424692 |
A typical use is to create EPS files from scanned data, such as company or
|
|
|
1424692 |
university logos, handwritten notes, etc. The resulting image is not "jaggy"
|
|
|
1424692 |
like a bitmap, but smooth. It can then be rendered at any resolution.
|
|
|
1424692 |
|
|
|
1424692 |
Potrace can currently produce the following output formats: EPS, PostScript,
|
|
|
1424692 |
PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy
|
|
|
1424692 |
antialiasing). Additional backends might be added in the future.
|
|
|
1424692 |
|
|
|
1424692 |
Mkbitmap is a program distributed with Potrace which can be used to pre-process
|
|
|
1424692 |
the input for better tracing behavior on greyscale and color images.
|
|
|
1424692 |
|
|
|
1424692 |
|
|
|
1424692 |
%package devel
|
|
|
fd47bce |
Summary: Potrace development library and headers
|
|
|
1424692 |
Requires: %{name} = %{version}-%{release}
|
|
|
1424692 |
|
|
|
1424692 |
%description devel
|
|
|
fd47bce |
This package contains the potrace development library and headers.
|
|
|
1424692 |
|
|
|
1424692 |
|
|
|
1424692 |
%package doc
|
|
|
1424692 |
Summary: Documentation on how to use the potrace library
|
|
|
1424692 |
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
|
|
|
1424692 |
BuildArch: noarch
|
|
|
1424692 |
%endif
|
|
|
1424692 |
|
|
|
1424692 |
%description doc
|
|
|
1424692 |
This package contains documentation for the potrace algorithm and the potrace
|
|
|
1424692 |
library.
|
|
|
1424692 |
|
|
|
1424692 |
%prep
|
|
|
1424692 |
%setup -q
|
|
|
1424692 |
cp -a %{SOURCE1} .
|
|
|
1424692 |
cp -a %{SOURCE2} .
|
|
|
1424692 |
|
|
|
1424692 |
%build
|
|
|
fd47bce |
%configure --enable-shared --disable-static \
|
|
|
fd47bce |
--enable-metric --with-libpotrace --with-pic
|
|
|
1424692 |
make %{?_smp_mflags}
|
|
|
1424692 |
|
|
|
1424692 |
%install
|
|
|
1424692 |
rm -rf %{buildroot}
|
|
|
1424692 |
make install DESTDIR=%{buildroot}
|
|
|
fd47bce |
find %{buildroot} -name *.la -exec rm -rf {} \;
|
|
|
1424692 |
|
|
|
43b584e |
# Get rid of installed copy of placement.pdf
|
|
|
43b584e |
rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
43b584e |
|
|
|
1424692 |
%files
|
|
|
43b584e |
%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
|
|
|
1424692 |
%{_bindir}/potrace
|
|
|
1424692 |
%{_bindir}/mkbitmap
|
|
|
fd47bce |
%{_libdir}/libpotrace.so.*
|
|
|
ed8f369 |
%{_mandir}/man1/potrace.1*
|
|
|
ed8f369 |
%{_mandir}/man1/mkbitmap.1*
|
|
|
1424692 |
|
|
|
1424692 |
%files devel
|
|
|
fd47bce |
%{_libdir}/libpotrace.so
|
|
|
1424692 |
%{_includedir}/potracelib.h
|
|
|
1424692 |
|
|
|
1424692 |
%files doc
|
|
|
1424692 |
%doc potrace.pdf potracelib.pdf
|
|
|
1424692 |
|
|
|
1424692 |
%changelog
|
|
|
0a2160f |
* Sat Sep 28 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-1
|
|
|
0a2160f |
- Update to 1.16.
|
|
|
0a2160f |
|
|
|
9961045 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-6
|
|
|
9961045 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9961045 |
|
|
|
738e591 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-5
|
|
|
738e591 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
738e591 |
|
|
|
ccb062c |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-4
|
|
|
ccb062c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ccb062c |
|
|
|
48f1065 |
* Wed Feb 28 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.15-3
|
|
|
48f1065 |
- Added gcc buildrequires.
|
|
|
48f1065 |
|
|
|
620a480 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
620a480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
620a480 |
|
|
|
c1d023d |
* Sat Aug 05 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.15-1
|
|
|
c1d023d |
- Update to 1.15.
|
|
|
c1d023d |
|
|
|
39a8788 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-3
|
|
|
39a8788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
39a8788 |
|
|
|
94f8c2b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
|
|
|
94f8c2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
94f8c2b |
|
|
|
3cc84d6 |
* Wed Feb 22 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.14-1
|
|
|
3cc84d6 |
- Update to 1.14.
|
|
|
3cc84d6 |
|
|
|
1a8dcb7 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-4
|
|
|
1a8dcb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1a8dcb7 |
|
|
|
2b672d1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-3
|
|
|
2b672d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2b672d1 |
|
|
|
f73deee |
* Sat Nov 14 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.13-2
|
|
|
f73deee |
- Bump spec due to buildsystem problems.
|
|
|
f73deee |
|
|
|
0c9cc3f |
* Fri Oct 23 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.13-1
|
|
|
0c9cc3f |
- Update to 1.13.
|
|
|
0c9cc3f |
|
|
|
8c4c8d3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
|
|
|
8c4c8d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8c4c8d3 |
|
|
|
f6d79c9 |
* Tue Mar 24 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.12-1
|
|
|
f6d79c9 |
- Update to 1.12.
|
|
|
f6d79c9 |
|
|
|
7dcbfb6 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
|
|
|
7dcbfb6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
7dcbfb6 |
|
|
|
cc2c544 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4
|
|
|
cc2c544 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cc2c544 |
|
|
|
6240d04 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
|
|
|
6240d04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6240d04 |
|
|
|
9a54bd0 |
* Wed May 15 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.11-2
|
|
|
9a54bd0 |
- Support for 64 bit ARM architecture (BZ #926364).
|
|
|
9a54bd0 |
|
|
|
7f995a1 |
* Wed Feb 20 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.11-1
|
|
|
7f995a1 |
- Update to 1.11.
|
|
|
7f995a1 |
|
|
|
08d1b89 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
|
|
|
08d1b89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
08d1b89 |
|
|
|
55c653c |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
|
|
|
55c653c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
55c653c |
|
|
|
708050c |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
|
|
708050c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
708050c |
|
|
|
43b584e |
* Sun Aug 21 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.10-1
|
|
|
43b584e |
- Update to 1.10.
|
|
|
43b584e |
|
|
|
84ec132 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
|
84ec132 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
84ec132 |
|
|
|
fd47bce |
* Thu Dec 30 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.9-1
|
|
|
fd47bce |
- Update to 1.9.
|
|
|
fd47bce |
|
|
|
1424692 |
* Thu Aug 06 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.8-4
|
|
|
1424692 |
- Corrected license tag.
|
|
|
1424692 |
|
|
|
1424692 |
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.8-3
|
|
|
1424692 |
- Added missing BuildRequires.
|
|
|
1424692 |
|
|
|
1424692 |
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.8-2
|
|
|
1424692 |
- Adjusted descriptions as per review comments.
|
|
|
1424692 |
|
|
|
1424692 |
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.8-1
|
|
|
1424692 |
- First release.
|