File autotrace.spec of Package autotrace
#
# spec file for package autotrace (Version 0.31.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: autotrace
BuildRequires: gcc-c++ libexif pstoedit-devel
License: GPL v2 or later ; LGPL v2.1 or later
Group: Productivity/Graphics/Convertors
AutoReqProv: on
Provides: bitmap_tracing
Version: 0.31.1
Release: 616
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
License: GPL v2 or later ; LGPL v2.1 or later
Group: Productivity/Graphics/Convertors
AutoReqProv: on
Summary: Program for converting bitmaps to vector graphics
Requires: %name = %version glibc-devel
%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 created as a plug-in for the GIMP,
AutoTrace is now a stand-alone 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>
%prep
%setup -q
%patch0
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
cat %{SOURCE1} >>acinclude.m4
autoreconf -fi
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB FAQ NEWS README README.MING THANKS TODO
%{_bindir}/autotrace
%{_libdir}/libautotrace.so.*
%files devel
%defattr(-, root, root)
%{_bindir}/autotrace-config
%{_libdir}/libautotrace.so
%{_libdir}/pkgconfig/*
%{_includedir}/autotrace
%{_datadir}/aclocal/*
%{_mandir}/man1/autotrace.1.gz
%changelog