autotrace/autotrace.spec

90 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: autotrace
Version: 0.31.1
Release: 3
Summary: Utility for converting bitmaps to vector graphics
Group: Applications/Multimedia
License: GPL/LGPL
URL: http://autotrace.sourceforge.net/
Source0: http://dl.sf.net/autotrace/autotrace-0.31.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ImageMagick-devel
BuildRequires: XFree86-devel
BuildRequires: libpng-devel > 2:1.2
BuildRequires: libexif-devel
#BuildRequires: pstoedit-devel
BuildConflicts: pstoedit-devel
%description
AutoTrace is a program similar to CorelTrace or Adobe Streamline for
converting bitmaps to vector graphics.
Supported input formats include BMP, TGA, PNM, PPM, and any format
supported by ImageMagick, whereas output can be produced in
Postscript, SVG, xfig, SWF, and others.
%package devel
Summary: Header files and static libraries for autotrace
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: ImageMagick-devel
#Requires: pstoedit-devel
%description devel
This package contains header files and static libraries for autotrace.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO
%{_bindir}/autotrace
%{_libdir}/*.so.*
%{_mandir}/man[^3]/*
%files devel
%defattr(-,root,root,-)
%doc HACKING
%{_bindir}/autotrace-config
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/autotrace/
%{_datadir}/aclocal/*.m4
%changelog
* Sat Aug 21 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.31.1-3
- Temporarily changed buildreq pstoedit-devel to buildconflicts.
* Thu Apr 22 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.31.1-0.fdr.2
- Added new BuildReq pstoedit-devel.
- Added missing BuildReq libexif-devel.
- Added missing -devel requires pkgconfig, ImageMagick-devel.
- Converted spec file to UTF-8.
* Mon Sep 29 2003 Marius L. Johndal <mariuslj at ifi.uio.no> 0:0.31.1-0.fdr.1
- Initial RPM release.