3 %bcond_without popt # Don't use popt argument parsing library
4 %bcond_without xft # Don't use xft scalable font database
5 %bcond_without gnome # Don't use gnome print font database and spooler frontend
6 %bcond_without modules # ???
7 %bcond_without mmx # Force building without MMX optimazation (Default: auto-detect)
8 %bcond_without libinkscape # ???
10 Summary: Inkscape - a vector illustrator program for GNOME environment
11 Summary(pl): Inkscape - wektorowy program graficzny dla ¶rodowiska GNOME
17 Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.gz
18 # Source0-md5: ea486c528649a34827b74077ffd2076c
19 URL: http://www.inkscape.org/
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: gtk+2-devel >= 2.0.0
22 BuildRequires: libart_lgpl-devel >= 2.3.10
23 BuildRequires: libgnomeprintui-devel >= 2.2
24 BuildRequires: libpng-devel
25 BuildRequires: libsigc++12-devel >= 1.2
26 BuildRequires: libxml2-devel >= 2.4.24
27 BuildRequires: pkgconfig
28 %{?with_popt:BuildRequires: popt-devel}
29 %{?with_xft:BuildRequires: xft-devel}
30 Requires: perl-XML-XQL
31 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Inkscape is (or at least should be) a vector illustrator program for
35 the GNOME environment. It is currently in active development and
36 approaching general usability.
39 Inkscape jest (a przynajmniej powinien byæ) wektorowym programem
40 graficznym dla ¶rodowiska GNOME. Aktualnie jest aktywnie rozwijany i
41 osi±ga ogóln± u¿ywalno¶æ.
48 %{!?with_popt: --without-popt}\
49 %{!?with_xft: --without-xft}\
50 %{!?with_gnome: --without-gnome-print}\
51 %{!?with_modules: --without-modules}\
52 %{?with_libinkscape: --with-libinkscape} \
53 %{!?with_mmx:--disable-mmx}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog README
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/inkscape
76 %{_desktopdir}/*.desktop