rpms/potrace/devel import.log, NONE, 1.1 potrace-1.8-buildlib.patch, NONE, 1.1 potrace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jussi Lehtola
jussilehtola at fedoraproject.org
Fri Aug 7 20:15:24 UTC 2009
Author: jussilehtola
Update of /cvs/pkgs/rpms/potrace/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv809/devel
Modified Files:
.cvsignore sources
Added Files:
import.log potrace-1.8-buildlib.patch potrace.spec
Log Message:
Imported in Fedora.
--- NEW FILE import.log ---
potrace-1_8-4_fc11:HEAD:potrace-1.8-4.fc11.src.rpm:1249676109
potrace-1.8-buildlib.patch:
Makefile.am | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- NEW FILE potrace-1.8-buildlib.patch ---
diff -up potrace-1.8/src/Makefile.am.orig potrace-1.8/src/Makefile.am
--- potrace-1.8/src/Makefile.am.orig 2007-04-09 03:36:44.000000000 +0300
+++ potrace-1.8/src/Makefile.am 2009-08-03 13:47:54.318147056 +0300
@@ -7,8 +7,7 @@
#----------------------------------------------------------------------
# programs:
-bin_PROGRAMS = potrace mkbitmap
-noinst_PROGRAMS = potracelib_demo
+bin_PROGRAMS = potrace mkbitmap potracelib_demo
potrace_SOURCES = main.c main.h bitmap_io.c bitmap_io.h backend_eps.c \
backend_eps.h flate.c flate.h lists.h greymap.c greymap.h render.c \
@@ -31,7 +30,7 @@ potracelib_demo_DEPENDENCIES = libpotrac
#----------------------------------------------------------------------
# static libraries:
-noinst_LIBRARIES = libpotrace.a
+lib_LIBRARIES = libpotrace.a
libpotrace_a_SOURCES = curve.c curve.h trace.c trace.h decompose.c \
decompose.h potracelib.c potracelib.h lists.h auxiliary.h bitmap.h \
progress.h
--- NEW FILE potrace.spec ---
Name: potrace
Version: 1.8
Release: 4%{?dist}
Summary: Transform bitmaps into vector graphics
Group: Applications/Multimedia
# README defines license as GPLv2+
License: GPLv2+
URL: http://potrace.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
# Documentation
Source1: http://potrace.sourceforge.net/potrace.pdf
Source2: http://potrace.sourceforge.net/potracelib.pdf
# Patch to build library
Patch0: potrace-1.8-buildlib.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: automake
BuildRequires: zlib-devel
%description
Potrace is a utility for tracing a bitmap, which means, transforming a bitmap
into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP
format), and the default output is an encapsulated PostScript file (EPS).
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. It can then be rendered at any resolution.
Potrace can currently produce the following output formats: EPS, PostScript,
PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy
antialiasing). Additional backends might be added in the future.
Mkbitmap is a program distributed with Potrace which can be used to pre-process
the input for better tracing behavior on greyscale and color images.
%package devel
Summary: Potrace development library & library demo
Group: Applications/Multimedia
Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the potrace development library & library demo.
%package doc
Summary: Documentation on how to use the potrace library
Group: Documentation
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
BuildArch: noarch
%endif
%description doc
This package contains documentation for the potrace algorithm and the potrace
library.
%prep
%setup -q
%patch0 -p 1 -b .orig
autoreconf
cp -a %{SOURCE1} .
cp -a %{SOURCE2} .
%build
%configure --enable-metric
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
install -D -p -m 644 src/potracelib.h %{buildroot}%{_includedir}/potracelib.h
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/potrace
%{_bindir}/mkbitmap
%{_mandir}/man1/potrace.1.*
%{_mandir}/man1/mkbitmap.1.*
%files devel
%defattr(-,root,root,-)
%{_bindir}/potracelib_demo
%{_libdir}/libpotrace.a
%{_includedir}/potracelib.h
%files doc
%defattr(-,root,root,-)
%doc potrace.pdf potracelib.pdf
%changelog
* Thu Aug 06 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.8-4
- Corrected license tag.
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.8-3
- Added missing BuildRequires.
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.8-2
- Adjusted descriptions as per review comments.
* Mon Aug 03 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.8-1
- First release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/potrace/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 7 Aug 2009 19:56:53 -0000 1.1
+++ .cvsignore 7 Aug 2009 20:15:24 -0000 1.2
@@ -0,0 +1,3 @@
+potrace-1.8.tar.gz
+potrace.pdf
+potracelib.pdf
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/potrace/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 7 Aug 2009 19:56:53 -0000 1.1
+++ sources 7 Aug 2009 20:15:24 -0000 1.2
@@ -0,0 +1,3 @@
+e73b45565737d64011612704dd4d9f86 potrace-1.8.tar.gz
+ead28818fe860068c9147be752be0f41 potrace.pdf
+0d68f90f965f9bbe5761ec5daab826cd potracelib.pdf
More information about the fedora-extras-commits
mailing list