|
|
1424692 |
Name: potrace
|
|
|
f6d79c9 |
Version: 1.12
|
|
|
f6d79c9 |
Release: 1%{?dist}
|
|
|
1424692 |
Summary: Transform bitmaps into vector graphics
|
|
|
1424692 |
Group: Applications/Multimedia
|
|
|
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
|
|
|
9a54bd0 |
# Patch for supporting 64 bit ARM from upstream
|
|
|
9a54bd0 |
Patch0: potrace-1.11-autoconf.diff
|
|
|
1424692 |
|
|
|
1424692 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
1424692 |
|
|
|
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 |
Group: Applications/Multimedia
|
|
|
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 |
Group: Documentation
|
|
|
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 |
%clean
|
|
|
1424692 |
rm -rf %{buildroot}
|
|
|
1424692 |
|
|
|
1424692 |
%files
|
|
|
1424692 |
%defattr(-,root,root,-)
|
|
|
43b584e |
%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
|
|
|
1424692 |
%{_bindir}/potrace
|
|
|
1424692 |
%{_bindir}/mkbitmap
|
|
|
fd47bce |
%{_libdir}/libpotrace.so.*
|
|
|
1424692 |
%{_mandir}/man1/potrace.1.*
|
|
|
1424692 |
%{_mandir}/man1/mkbitmap.1.*
|
|
|
1424692 |
|
|
|
1424692 |
%files devel
|
|
|
1424692 |
%defattr(-,root,root,-)
|
|
|
fd47bce |
%{_libdir}/libpotrace.so
|
|
|
1424692 |
%{_includedir}/potracelib.h
|
|
|
1424692 |
|
|
|
1424692 |
%files doc
|
|
|
1424692 |
%defattr(-,root,root,-)
|
|
|
1424692 |
%doc potrace.pdf potracelib.pdf
|
|
|
1424692 |
|
|
|
1424692 |
%changelog
|
|
|
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.
|