3 %bcond_without xft # Don't use xft scalable font database
4 %bcond_without gnome_print # Don't use gnome print font database and spooler frontend
5 %bcond_without mmx # Force building without MMX optimazation (Default: auto-detect)
7 Summary: Scalable vector graphics editor
8 Summary(pl): Edytor skalowalnej grafiki wektorowej
13 Group: Applications/Graphics
14 Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
15 # Source0-md5: 3542a646c6742686557b2f0e52c5f6dc
16 Patch0: %{name}-locale-names.patch
17 URL: http://www.inkscape.org/
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: gtk+2-devel >= 2.0.0
23 #BuildRequires: gtkmm-devel
24 BuildRequires: gtkspell-devel
25 BuildRequires: intltool
26 BuildRequires: libart_lgpl-devel >= 2.3.10
27 %{?with_gnome_print:BuildRequires: libgnomeprintui-devel >= 1.116.0}
28 BuildRequires: libpng-devel
29 BuildRequires: libsigc++12-devel >= 1.2
31 #BuildRequires: libsigc++-devel >= 2.0
32 BuildRequires: libtool
33 BuildRequires: libxml2-devel >= 2.4.24
34 BuildRequires: pkgconfig
35 BuildRequires: popt-devel
36 %{?with_xft:BuildRequires: xft-devel}
37 Requires: perl-XML-XQL
38 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Inkscape is a program for viewing, making, and editing two-dimensional
45 Inkscape jest programem do przeglĀ±dania, tworzenia i edycji
46 dwuwymiarowej grafiki wektorowej.
55 cp -f /usr/share/automake/mkinstalldirs .
57 glib-gettextize --copy --force
58 intltoolize --copy --force --automake
64 %{!?with_xft: --without-xft}\
65 %{!?with_gnome_print: --without-gnome-print}\
66 %{?with_gnome_print: --with-gnome-print}\
67 %{!?with_mmx:--disable-mmx}
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README
85 %attr(755,root,root) %{_bindir}/*
89 %{_desktopdir}/*.desktop