fixed rhbz# 477980

This commit is contained in:
Peter Lemenkov 2009-07-27 14:20:46 +00:00
parent b29123864a
commit 0134827d0b
3 changed files with 24 additions and 3 deletions

13
autotrace-aclocal18.patch Normal file
View File

@ -0,0 +1,13 @@
--- autotrace.m4~ 2002-10-10 23:44:12.000000000 +0300
+++ autotrace.m4 2005-05-22 22:17:06.000000000 +0300
@@ -4,7 +4,7 @@
dnl AM_PATH_AUTOTRACE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test to see if libautotrace is installed, and define AUTOTRACE_CFLAGS, LIBS
dnl
-AC_DEFUN(AM_PATH_AUTOTRACE,
+AC_DEFUN([AM_PATH_AUTOTRACE],
[dnl
dnl Get the cflags and libraries from the autotrace-config script
dnl

View File

@ -1,6 +1,6 @@
Name: autotrace
Version: 0.31.1
Release: 22%{?dist}
Release: 23%{?dist}
Summary: Utility for converting bitmaps to vector graphics
@ -21,6 +21,7 @@ BuildRequires: freetype-devel
BuildConflicts: pstoedit-devel
Patch0: autotrace-0.31.1-GetOnePixel.patch
Patch1: autotrace-aclocal18.patch
%description
AutoTrace is a program similar to CorelTrace or Adobe Streamline for
@ -46,6 +47,7 @@ This package contains header files and static libraries for autotrace.
%prep
%setup -q
%patch0 -p1 -b .GetOnePixel
%patch1 -p0 -b .aclocal18
%build
%configure
@ -54,9 +56,10 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
@ -80,7 +83,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc HACKING
%{_bindir}/autotrace-config
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/autotrace/
@ -88,6 +90,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jul 27 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.31.1-23
- Removed static libraries from -devel
- Changed %%makeinstall to "make install DESTDIR=blablabla"
- Fixed rhbz# 477980
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

1
import.log Normal file
View File

@ -0,0 +1 @@
autotrace-0_31_1-23_fc11:HEAD:autotrace-0.31.1-23.fc11.src.rpm:1248704373