Name: inkscape
Summary: A Vector Drawing Application
Version: 0.35
Release: 1
License: GPL
Group: Applications/Graphics
URL: http://inkscape.sourceforge.net/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
Inkscape is a SVG based generic vector-drawing program for Linux/Unix/Windows.

%prep
%setup

%build
### Needed for snapshot releases.
MYCFLAGS="$RPM_OPT_FLAGS"

if [ ! -x configure ]; then
  CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%{_prefix} --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir}
else
  %configure 
fi
make

%install
rm -rf %{buildroot}

%makeinstall

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/inkscape
%{_libdir}/inkscape/extensions/*
%{_datadir}/applications/inkscape.desktop
%{_datadir}/locale/*/LC_MESSAGES/inkscape.mo
%{_datadir}/pixmaps/*
%{_datadir}/inkscape/*
%{_mandir}/man1/*

%changelog
* Sun Nov 16 2003 Jonathan C. Sitte <jcsitte@staticnull.org>
- Initial spec file
