From efb4548f11fdabb245099659fe55041e8bb787b0 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 21 Jul 2004 19:00:22 +0000 Subject: [PATCH] - merged changes from DEVEL Changed files: inkscape.spec -> 1.15 --- inkscape.spec | 60 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/inkscape.spec b/inkscape.spec index 09f74c7..91dba61 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,55 +1,69 @@ # # 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 +%bcond_without xft # Don't use xft scalable font database +%bcond_without gnome_print # Don't use gnome print font database and spooler frontend +%bcond_without mmx # Force building without MMX optimazation (Default: auto-detect) +# +Summary: Scalable vector graphics editor +Summary(pl): Edytor skalowalnej grafiki wektorowej Name: inkscape Version: 0.39 Release: 1 License: GPL Group: Graphics -Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.gz -# Source0-md5: c9ea2b62cb505681e65e3cc16007fd09 +Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2 +# Source0-md5: 3542a646c6742686557b2f0e52c5f6dc +Patch0: %{name}-locale-names.patch URL: http://www.inkscape.org/ +BuildRequires: autoconf >= 2.50 +BuildRequires: automake BuildRequires: freetype-devel >= 2.0 BuildRequires: gtk+2-devel >= 2.0.0 +# for future use +#BuildRequires: gtkmm-devel +BuildRequires: gtkspell-devel +BuildRequires: intltool BuildRequires: libart_lgpl-devel >= 2.3.10 -BuildRequires: libgnomeprintui-devel >= 2.2 +%{?with_gnome_print:BuildRequires: libgnomeprintui-devel >= 1.116.0} BuildRequires: libpng-devel BuildRequires: libsigc++12-devel >= 1.2 +# for future use: +#BuildRequires: libsigc++-devel >= 2.0 +BuildRequires: libtool BuildRequires: libxml2-devel >= 2.4.24 BuildRequires: pkgconfig -%{?with_popt:BuildRequires: popt-devel} +BuildRequires: popt-devel %{?with_xft:BuildRequires: xft-devel} Requires: perl-XML-XQL Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Inkscape is (or at least should be) a vector illustrator program for -the GNOME environment. It is currently in active development and -approaching general usability. +Inkscape is a program for viewing, making, and editing two-dimensional +vector drawings. %description -l pl -Inkscape jest (a przynajmniej powinien byæ) wektorowym programem -graficznym dla ¶rodowiska GNOME. Aktualnie jest aktywnie rozwijany i -osi±ga ogóln± u¿ywalno¶æ. +Inkscape jest programem do przegl±dania, tworzenia i edycji +dwuwymiarowej grafiki wektorowej. %prep %setup -q +%patch0 -p1 + +mv po/{no,nb}.po %build +cp -f /usr/share/automake/mkinstalldirs . +%{__libtoolize} +glib-gettextize --copy --force +intltoolize --copy --force --automake +%{__aclocal} +%{__autoheader} +%{__automake} +%{__autoconf} %configure \ - %{!?with_popt: --without-popt}\ %{!?with_xft: --without-xft}\ - %{!?with_gnome: --without-gnome-print}\ - %{!?with_modules: --without-modules}\ - %{?with_libinkscape: --with-libinkscape} \ + %{!?with_gnome_print: --without-gnome-print}\ + %{?with_gnome_print: --with-gnome-print}\ %{!?with_mmx:--disable-mmx} %{__make} -- 2.44.0