jussilehtola pushed to potrace (el5). "Update to 1.9."
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Mar 25 00:40:12 UTC 2015
>From 54c1cf2d31371a14c5de608549bdc2ce880dfe09 Mon Sep 17 00:00:00 2001
From: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date: Thu, 30 Dec 2010 14:48:39 +0200
Subject: Update to 1.9.
diff --git a/potrace-1.8-buildlib.patch b/potrace-1.8-buildlib.patch
deleted file mode 100644
index 6c3deed..0000000
--- a/potrace-1.8-buildlib.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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
diff --git a/potrace.spec b/potrace.spec
index 5a31492..2996840 100644
--- a/potrace.spec
+++ b/potrace.spec
@@ -1,22 +1,18 @@
Name: potrace
-Version: 1.8
-Release: 4%{?dist}
+Version: 1.9
+Release: 1%{?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
@@ -36,13 +32,12 @@ the input for better tracing behavior on greyscale and color images.
%package devel
-Summary: Potrace development library & library demo
+Summary: Potrace development library and headers
Group: Applications/Multimedia
-Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description devel
-This package contains the potrace development library & library demo.
+This package contains the potrace development library and headers.
%package doc
@@ -58,37 +53,34 @@ library.
%prep
%setup -q
-%patch0 -p 1 -b .orig
-autoreconf
cp -a %{SOURCE1} .
cp -a %{SOURCE2} .
%build
-%configure --enable-metric
+%configure --enable-shared --disable-static \
+ --enable-metric --with-libpotrace --with-pic
make %{?_smp_mflags}
-
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-install -D -p -m 644 src/potracelib.h %{buildroot}%{_includedir}/potracelib.h
+find %{buildroot} -name *.la -exec rm -rf {} \;
%clean
rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/potrace
%{_bindir}/mkbitmap
+%{_libdir}/libpotrace.so.*
%{_mandir}/man1/potrace.1.*
%{_mandir}/man1/mkbitmap.1.*
%files devel
%defattr(-,root,root,-)
-%{_bindir}/potracelib_demo
-%{_libdir}/libpotrace.a
+%{_libdir}/libpotrace.so
%{_includedir}/potracelib.h
%files doc
@@ -96,6 +88,9 @@ rm -rf %{buildroot}
%doc potrace.pdf potracelib.pdf
%changelog
+* Thu Dec 30 2010 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.9-1
+- Update to 1.9.
+
* Thu Aug 06 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.8-4
- Corrected license tag.
diff --git a/sources b/sources
index 6f69cc9..f676666 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-e73b45565737d64011612704dd4d9f86 potrace-1.8.tar.gz
-ead28818fe860068c9147be752be0f41 potrace.pdf
-0d68f90f965f9bbe5761ec5daab826cd potracelib.pdf
+ef973e7ec9c2e5b3e19e8dfeaa7524c3 potrace-1.9.tar.gz
+60f251c0da51dc66dbb2b1bfe1e5b83c potracelib.pdf
+4f0906cd4e589005677e54a106afe674 potrace.pdf
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/potrace.git/commit/?h=el5&id=54c1cf2d31371a14c5de608549bdc2ce880dfe09
--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390
More information about the scm-commits
mailing list