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)
6 %bcond_with relocation # Enable binary relocation support
8 Summary: Scalable vector graphics editor
9 Summary(pl): Edytor skalowalnej grafiki wektorowej
14 Group: Applications/Graphics
15 Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
16 # Source0-md5: 5f53659eb47efce8593e39d30ebb1c77
17 URL: http://www.inkscape.org/
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: gc-devel
22 BuildRequires: gtk+2-devel >= 2:2.4.0
23 BuildRequires: gtkmm-devel >= 2.4
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++-devel >= 2.0.3
30 BuildRequires: libtool
31 BuildRequires: libxml2-devel >= 2.4.24
32 BuildRequires: pkgconfig
33 BuildRequires: popt-devel
34 %{?with_xft:BuildRequires: xft-devel}
35 Requires: perl-XML-XQL
36 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Inkscape is a program for viewing, making, and editing two-dimensional
43 Inkscape jest programem do przeglĀ±dania, tworzenia i edycji
44 dwuwymiarowej grafiki wektorowej.
50 cp -f /usr/share/automake/mkinstalldirs .
52 glib-gettextize --copy --force
53 intltoolize --copy --force --automake
59 %{!?with_xft: --without-xft}\
60 %{!?with_gnome_print: --without-gnome-print}\
61 %{?with_gnome_print: --with-gnome-print}\
62 %{!?with_mmx:--disable-mmx} \
63 %{?with_relocation:--enable-binreloc}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README
81 %attr(755,root,root) %{_bindir}/*
85 %{_desktopdir}/*.desktop