File autotrace.spec of Package autotrace
#
# spec file for package autotrace (Version 0.31.1)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: autotrace
BuildRequires: gcc-c++ libexif pstoedit-devel
License: GPL, LGPL
Group: Productivity/Graphics/Convertors
Autoreqprov: on
Provides: bitmap_tracing
Version: 0.31.1
Release: 367
Source0: %{name}-%{version}.tar.bz2
Source1: pstoedit.m4
Patch0: %{name}-%{version}-quotefix.diff
URL: http://autotrace.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Program for converting bitmaps to vector graphics
%package devel
Group: Productivity/Graphics/Convertors
Autoreqprov: on
Summary: Program for converting bitmaps to vector graphics
Requires: %name = %version
%description
AutoTrace is a program for converting bitmaps to vector graphics. The
aim of the AutoTrace project is the development of a freely-available
application similar to CorelTrace or Adobe Streamline. In some aspects
it is already better. Originally being created as a plugin for the
GIMP, AutoTrace is now a standalone program and can be compiled on any
UNIX platform using GCC.
Authors:
--------
Martin Weber <martweb@gmx.net>
%description devel
AutoTrace is a program for converting bitmaps to vector graphics. The
aim of the AutoTrace project is the development of a freely-available
application similar to CorelTrace or Adobe Streamline. In some aspects
it is already better. Originally being created as a plugin for the
GIMP, AutoTrace is now a standalone program and can be compiled on any
UNIX platform using GCC.
Authors:
--------
Martin Weber <martweb@gmx.net>
%define prefix /usr
%prep
%setup
%patch
%{?suse_update_config:%{suse_update_config}}
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
cat %{SOURCE1} >>acinclude.m4
autoreconf -fi
./configure \
--enable-shared \
--prefix=%{prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--sysconfdir=%{_sysconfdir}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB FAQ NEWS README README.MING THANKS TODO
%{prefix}/bin/autotrace
%{_libdir}/libautotrace.so.*
%files devel
%defattr(-, root, root)
%{prefix}/bin/autotrace-config
%{_libdir}/libautotrace.*a
%{_libdir}/libautotrace.so
%{_libdir}/pkgconfig/*
%{prefix}/include/autotrace
%{prefix}/share/aclocal/*
%{_mandir}/man1/autotrace.1.gz
%changelog -n autotrace
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 06 2005 - sbrabec@suse.cz
- Provide bitmap_tracing virtual.
* Tue Dec 07 2004 - pth@suse.de
- Fix AC_DEFUN quoting
* Tue Jun 29 2004 - ro@suse.de
- added libjpeg,libtiff to neededforbuild
* Mon Apr 26 2004 - ro@suse.de
- added no-strict-aliasing
* Sat Jan 10 2004 - adrian@suse.de
- add %%run_ldconfig
* Mon Jul 28 2003 - meissner@suse.de
- added libexif to nfb
* Tue May 27 2003 - ro@suse.de
- add manpage to filelist
* Sat May 10 2003 - schwab@suse.de
- Force libtool update.
* Thu Dec 26 2002 - ro@suse.de
- added liblcms-devel to neededforbuild
* Thu Nov 21 2002 - sbrabec@suse.cz
- Added new package.
- Libtool updates, otherwise cannot create shared library (autoreconf
needs extra macro in pstoedit.m4).