]> git.pld-linux.org Git - packages/inkscape.git/blobdiff - inkscape.spec
- added some bconds' descriptions
[packages/inkscape.git] / inkscape.spec
index cb26ec2595d4ad35d6e73ae3c7a5a7ac99407fcb..5ec6b4ccd2d31a0fe44fa63b919326caccd1bea8 100644 (file)
@@ -1,22 +1,33 @@
+#
+# 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.36
-Release:       0.1
+Version:       0.38.1
+Release:       1
 License:       GPL
 Group:         Graphics
 Source0:       http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.gz
-# Source0-md5: 3bd8581afee27b00dd7fdce0e7d8f6fa
+# Source0-md5: ea486c528649a34827b74077ffd2076c
 URL:           http://www.inkscape.org/
 BuildRequires: freetype-devel >= 2.0
 BuildRequires: gtk+-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
-BuildRequires: popt-devel
-BuildRequires: xft-devel
+%{?with_popt:BuildRequires:    popt-devel}
+%{?with_xft:BuildRequires:     xft-devel}
+Requires:      perl-XML-XQL
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +44,13 @@ osi
 %setup -q
 
 %build
-%configure
+%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}
 
This page took 0.033488 seconds and 4 git commands to generate.