X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=inkscape.spec;h=83137ca3804eaf37631a6411091e1241e853c582;hb=3ac55d7dc187fbaca9537f336f18e032e9dd9aa5;hp=32ab07d6cf5ab2e45dc2c5b98071b2382e978cec;hpb=ead094f8b2df1b7f752196a9ff2b2518a0ca1f9e;p=packages%2Finkscape.git diff --git a/inkscape.spec b/inkscape.spec index 32ab07d..83137ca 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,40 +1,46 @@ -# TODO: -# - http://sourceforge.net/tracker/index.php?func=detail&aid=1056633&group_id=93438&atid=604306 # # Conditional build %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) +%bcond_with inkboard # Enable inkboard support %bcond_with relocation # Enable binary relocation support # Summary: Scalable vector graphics editor Summary(pl): Edytor skalowalnej grafiki wektorowej Name: inkscape -Version: 0.40 -Release: 1 +Version: 0.43 +Release: 2 License: GPL v2, LGPL v2.1 Group: Applications/Graphics Source0: http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2 -# Source0-md5: 5f53659eb47efce8593e39d30ebb1c77 +# Source0-md5: 97c606182f5e177eef70c1e8a55efc1f +Patch0: %{name}-c++.patch URL: http://www.inkscape.org/ -BuildRequires: autoconf >= 2.50 -BuildRequires: automake +BuildRequires: autoconf >= 2.59-3 +BuildRequires: automake >= 1:1.9.4-2 BuildRequires: freetype-devel >= 2.0 -BuildRequires: gc-devel +BuildRequires: gc-devel >= 6.4 +BuildRequires: gcc-c++ >= 3.0 BuildRequires: gtk+2-devel >= 2:2.4.0 BuildRequires: gtkmm-devel >= 2.4 -BuildRequires: gtkspell-devel -BuildRequires: intltool +BuildRequires: gtkspell-devel >= 2.0 +BuildRequires: intltool >= 0.22 BuildRequires: libart_lgpl-devel >= 2.3.10 %{?with_gnome_print:BuildRequires: libgnomeprintui-devel >= 1.116.0} -BuildRequires: libpng-devel +BuildRequires: libpng-devel >= 1.2 BuildRequires: libsigc++-devel >= 2.0.3 BuildRequires: libtool -BuildRequires: libxml2-devel >= 2.4.24 +BuildRequires: libxml2-devel >= 2.6.0 +BuildRequires: libxslt-devel >= 1.0.15 +%{?with_inkboard:BuildRequires: loudmouth-devel >= 1.0} BuildRequires: pkgconfig BuildRequires: popt-devel -%{?with_xft:BuildRequires: xft-devel} +%{?with_xft:BuildRequires: xorg-lib-libXft-devel} +BuildRequires: zlib-devel Requires(post,postun): shared-mime-info +Requires: gc >= 6.4 +Requires: gtk+2 >= 2:2.4.0 Requires: perl-XML-XQL Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -48,22 +54,23 @@ dwuwymiarowej grafiki wektorowej. %prep %setup -q +%patch0 -p1 %build -cp -f /usr/share/automake/mkinstalldirs . %{__libtoolize} -glib-gettextize --copy --force -intltoolize --copy --force --automake +%{__glib_gettextize} +%{__intltoolize} %{__aclocal} %{__autoheader} %{__automake} %{__autoconf} %configure \ - %{!?with_xft: --without-xft}\ - %{!?with_gnome_print: --without-gnome-print}\ - %{?with_gnome_print: --with-gnome-print}\ + %{!?with_xft: --without-xft} \ + %{!?with_gnome_print: --without-gnome-print} \ + %{?with_gnome_print: --with-gnome-print} \ %{!?with_mmx:--disable-mmx} \ %{?with_relocation:--enable-binreloc} \ + %{?with_inkboard:--enable-inkboard} \ --disable-static %{__make} @@ -74,30 +81,42 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/inkscape/plugins/*.la - %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT + %post umask 022 -update-mime-database %{_datadir}/mime +update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||: [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: %postun umask 022 -update-mime-database %{_datadir}/mime +update-mime-database %{_datadir}/mime >/dev/null 2>&1 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS ChangeLog README +%doc AUTHORS ChangeLog NEWS README TRANSLATORS +%lang(ca) %doc README.ca.txt +%lang(de) %doc README.de.txt +%lang(es) %doc README.es.txt +%lang(fr) %doc README.fr.txt +%lang(it) %doc README.it.txt %attr(755,root,root) %{_bindir}/* -%{_datadir}/inkscape -%dir %{_libdir}/inkscape -%attr(755,root,root) %{_libdir}/inkscape/plugins/lib*.so.*.*.* +%dir %{_datadir}/inkscape +%{_datadir}/inkscape/[!e]* +%{_datadir}/inkscape/examples +%dir %{_datadir}/inkscape/extensions +%{_datadir}/inkscape/extensions/*.inx +%attr(755,root,root) %{_datadir}/inkscape/extensions/*.pl +%attr(755,root,root) %{_datadir}/inkscape/extensions/*.pm +%attr(755,root,root) %{_datadir}/inkscape/extensions/*.py +%attr(755,root,root) %{_datadir}/inkscape/extensions/*.sh +%attr(755,root,root) %{_datadir}/inkscape/extensions/svg_dropshadow %{_mandir}/man1/* +%lang(fr) %{_mandir}/fr/man1/* %{_pixmapsdir}/*.png %{_desktopdir}/*.desktop