]> git.pld-linux.org Git - packages/inkscape.git/blobdiff - inkscape.spec
- up to 0.42
[packages/inkscape.git] / inkscape.spec
index 939adfab11f042512bfc401719376b1d2fd8bd9b..96a11ab69becd192eb4e78feab95a5ce55bde692 100644 (file)
@@ -1,5 +1,3 @@
-# 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
 Summary:       Scalable vector graphics editor
 Summary(pl):   Edytor skalowalnej grafiki wektorowej
 Name:          inkscape
-Version:       0.40
+Version:       0.42
 Release:       1
-License:       GPL v.2, LGPL v.2.1
+License:       GPL v2, LGPL v2.1
 Group:         Applications/Graphics
 Source0:       http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
-# Source0-md5: 5f53659eb47efce8593e39d30ebb1c77
-Patch0:                %{name}-desktop.patch
+# Source0-md5: 4af587b942647bf9e27861e2238844c8
 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: gtk+2-devel >= 2:2.4.0
 BuildRequires: gtkmm-devel >= 2.4
 BuildRequires: gtkspell-devel
@@ -32,10 +29,13 @@ BuildRequires:      libpng-devel
 BuildRequires: libsigc++-devel >= 2.0.3
 BuildRequires: libtool
 BuildRequires: libxml2-devel >= 2.4.24
+BuildRequires: libxslt-devel >= 1.0.15
 BuildRequires: pkgconfig
 BuildRequires: popt-devel
 %{?with_xft:BuildRequires:     xft-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)
 
@@ -49,7 +49,6 @@ dwuwymiarowej grafiki wektorowej.
 
 %prep
 %setup -q
-%patch -p1
 
 %build
 cp -f /usr/share/automake/mkinstalldirs .
@@ -76,8 +75,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/inkscape/plugins/*.la
-
 %find_lang %{name}
 
 %clean
@@ -85,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 umask 022
-update-mime-database %{_datadir}/mime
+update-mime-database %{_datadir}/mime ||:
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
 %postun
@@ -98,8 +95,7 @@ update-mime-database %{_datadir}/mime
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/inkscape
-%dir %{_libdir}/inkscape
-%attr(755,root,root) %{_libdir}/inkscape/plugins/lib*.so.*.*.*
 %{_mandir}/man1/*
+%lang(fr) %{_mandir}/fr/man1/*
 %{_pixmapsdir}/*.png
 %{_desktopdir}/*.desktop
This page took 0.039433 seconds and 4 git commands to generate.