X-Git-Url: http://git.pld-linux.org/?p=packages%2Finkscape.git;a=blobdiff_plain;f=inkscape.spec;h=92a312a51ce877683a3454bc751d014dddde4726;hp=4f115770f6a9ffdc1c022ce512c20826f2d9aff1;hb=ba0f69f62b6c8792902f1073c4602929ebffae8b;hpb=f5c1a59ebb069bf994d7ea04d37f70ebfe0a4c63 diff --git a/inkscape.spec b/inkscape.spec index 4f11577..92a312a 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -15,16 +15,17 @@ Summary: Scalable vector graphics editor Summary(pl.UTF-8): Edytor skalowalnej grafiki wektorowej Name: inkscape -Version: 0.48.4 -Release: 6 +Version: 0.91 +Release: 13 License: GPL v2+, LGPL v2.1+ Group: X11/Applications/Graphics -Source0: http://downloads.sourceforge.net/inkscape/%{name}-%{version}%{beta}.tar.bz2 -# Source0-md5: 47bd8546e42ba396624eef9eb66b9b6c +#Source0: http://downloads.sourceforge.net/inkscape/%{name}-%{version}%{beta}.tar.bz2 +Source0: https://inkscape.org/en/gallery/item/3860/%{name}-%{version}%{beta}.tar.bz2 +# Source0-md5: 278dfa4514adcde23546370ec2c84581 # workaround for https://bugs.launchpad.net/inkscape/+bug/487038 Patch0: %{name}-ldl.patch Patch1: %{name}-0.48.2-types.patch -Patch2: %{name}-build.patch +Patch2: %{name}-0.91-drop-wait-for-targets.patch URL: http://www.inkscape.org/ BuildRequires: ImageMagick-c++-devel BuildRequires: aspell-devel @@ -34,7 +35,7 @@ BuildRequires: boost-devel >= 1.36 BuildRequires: cairo-devel >= 1.8.0 BuildRequires: freetype-devel >= 2.0 BuildRequires: gc-devel >= 6.4 -BuildRequires: gettext-devel +BuildRequires: gettext-tools BuildRequires: glibmm-devel >= 2.16.0 %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.15.2} BuildRequires: gsl-devel @@ -66,7 +67,7 @@ Requires: gc >= 6.4 Requires: glibmm >= 2.16.0 %{?with_gnomevfs:Requires: gnome-vfs2 >= 2.15.2} Requires: gtk+2 >= 2:2.14.0 -Requires: gtkmm >= 2.10.0 +Requires: gtkmm >= 2.24.0 Requires: gtkspell >= 2.0.11 Requires: libsigc++ >= 2.0.17 Requires: libxml2 >= 1:2.6.26 @@ -90,13 +91,7 @@ dwuwymiarowej grafiki wektorowej. %setup -q -n %{name}-%{version}%{beta} %patch0 -p1 %patch1 -p1 -%patch2 -p1 - -%{__rm} po/en_US@piglatin.po -%{__sed} -i -e 's|en_US@piglatin||' configure.ac - -mv po/te_IN.po po/te.po -%{__sed} -i -e 's|te_IN|te|' configure.ac +%patch2 -p0 %build %{__libtoolize} @@ -106,6 +101,7 @@ mv po/te_IN.po po/te.po %{__autoheader} %{__automake} %{__autoconf} +CXXFLAGS="%{rpmcxxflags} -std=c++11" %configure \ --disable-silent-rules \ %{!?with_xft: --without-xft} \ @@ -122,6 +118,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{bn_BD,en_US@piglatin} + %find_lang %{name} %clean @@ -163,14 +161,18 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/inkscape/extensions/*.xsl %{_datadir}/inkscape/extensions/*.xslt %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/*.rb %attr(755,root,root) %{_datadir}/inkscape/extensions/*.sh +%dir %{_datadir}/inkscape/extensions/ink2canvas +%attr(755,root,root) %{_datadir}/inkscape/extensions/ink2canvas/*.py %dir %{_datadir}/inkscape/extensions/Barcode %attr(755,root,root) %{_datadir}/inkscape/extensions/Barcode/*.py %dir %{_datadir}/inkscape/extensions/xaml2svg %{_datadir}/inkscape/extensions/xaml2svg/*.xsl +%{_datadir}/inkscape/extensions/fontfix.conf +%{_datadir}/inkscape/extensions/inkscape.extension.rng +%{_datadir}/inkscape/extensions/jessyInk_video.svg %{_mandir}/man1/*.1* %lang(el) %{_mandir}/el/man1/*.1* %lang(fr) %{_mandir}/fr/man1/*.1*