6 %bcond_without modules #
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: a53355cd2c2d6b838e75a089afb14d3e
19 URL: http://www.inkscape.org/
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: gtk+-devel >= 2.0.0
22 BuildRequires: libart_lgpl-devel >= 2.3.10
23 BuildRequires: libgnomeprintui-devel >= 2.2
24 BuildRequires: libpng-devel
25 BuildRequires: libxml2-devel >= 2.4.24
26 BuildRequires: pkgconfig
27 %{?with_popt:BuildRequires: popt-devel}
28 %{?with_xft:BuildRequires: xft-devel}
29 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Inkscape is (or at least should be) a vector illustrator program for
33 the GNOME environment. It is currently in active development and
34 approaching general usability.
37 Inkscape jest (a przynajmniej powinien byæ) wektorowym programem
38 graficznym dla ¶rodowiska GNOME. Aktualnie jest aktywnie rozwijany i
39 osi±ga ogóln± u¿ywalno¶æ.
46 %{!?with_popt: --without-popt}\
47 %{!?with_xft: --without-xft}\
48 %{!?with_gnome: --without-gnome-print}\
49 %{!?with_modules: --without-modules}\
50 %{?with_libinkscape: --with-libinkscape} \
51 %{!?with_mmx:--disable-mmx}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog README
69 %attr(755,root,root) %{_bindir}/*
70 %attr(755,root,root) %{_libdir}/inkscape
74 %{_desktopdir}/*.desktop