# # Conditional build %bcond_without popt # Don't use popt argument parsing library %bcond_without xft # Don't use xft scalable font database %bcond_without gnome # Don't use gnome print font database and spooler frontend %bcond_without modules # ??? %bcond_without mmx # Force building without MMX optimazation (Default: auto-detect) %bcond_without libinkscape # ??? Summary: Inkscape - a vector illustrator program for GNOME environment Summary(pl): Inkscape - wektorowy program graficzny dla środowiska GNOME Name: inkscape Version: 0.38.1 Release: 1 License: GPL Group: Graphics Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.gz # Source0-md5: ea486c528649a34827b74077ffd2076c URL: http://www.inkscape.org/ BuildRequires: freetype-devel >= 2.0 BuildRequires: gtk+2-devel >= 2.0.0 BuildRequires: libart_lgpl-devel >= 2.3.10 BuildRequires: libgnomeprintui-devel >= 2.2 BuildRequires: libpng-devel BuildRequires: libsigc++12-devel >= 1.2 BuildRequires: libxml2-devel >= 2.4.24 BuildRequires: pkgconfig %{?with_popt:BuildRequires: popt-devel} %{?with_xft:BuildRequires: xft-devel} Requires: perl-XML-XQL Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Inkscape is (or at least should be) a vector illustrator program for the GNOME environment. It is currently in active development and approaching general usability. %description -l pl Inkscape jest (a przynajmniej powinien być) wektorowym programem graficznym dla środowiska GNOME. Aktualnie jest aktywnie rozwijany i osiąga ogólną używalność. %prep %setup -q %build %configure \ %{!?with_popt: --without-popt}\ %{!?with_xft: --without-xft}\ %{!?with_gnome: --without-gnome-print}\ %{!?with_modules: --without-modules}\ %{?with_libinkscape: --with-libinkscape} \ %{!?with_mmx:--disable-mmx} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog README %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/inkscape %{_datadir}/inkscape %{_mandir}/man1/* %{_pixmapsdir}/*.png %{_desktopdir}/*.desktop