|
@@ -1,8 +1,8 @@
|
|
|
Name: inkscape
|
|
|
Summary: A Vector Drawing Application
|
|
|
Summary(ja): ベクター描画アプリケーション
|
|
|
-Version: 0.91
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Version: 0.92.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: Applications/Graphics
|
|
|
License: GPLv2+
|
|
@@ -10,6 +10,11 @@ URL: https://launchpad.net/inkscape
|
|
|
|
|
|
Source0: https://launchpad.net/inkscape/%{version}.x/%{version}/+download/inkscape-%{version}.tar.bz2
|
|
|
|
|
|
+# to fix compile error with poppler>=0.58
|
|
|
+Patch1000: poppler-0.58.x.patch
|
|
|
+Patch1001: poppler-0.58.x-autotools.patch
|
|
|
+
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: gtk2-devel >= 2.8.0
|
|
|
BuildRequires: gnome-vfs2-devel >= 2.0
|
|
@@ -59,6 +64,9 @@ Linux/Unix/Windows/Mac で動作します。
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
+%patch1000 -p1
|
|
|
+%patch1001 -p1
|
|
|
+
|
|
|
# https://bugs.launchpad.net/inkscape/+bug/314381
|
|
|
# A couple of files have executable bits set,
|
|
|
# despite not being executable
|
|
@@ -70,6 +78,8 @@ find share/extensions -name '*.py' | xargs chmod -x
|
|
|
dos2unix -k -q share/extensions/*.py
|
|
|
|
|
|
%build
|
|
|
+./autogen.sh
|
|
|
+
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
|
|
|
%configure \
|
|
|
--with-python \
|
|
@@ -114,6 +124,7 @@ gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
%{_bindir}/inkscape
|
|
|
%{_bindir}/inkview
|
|
|
+%{_datadir}/appdata/inkscape.appdata.xml
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
%{_datadir}/icons/hicolor/*
|
|
|
%{_datadir}/inkscape
|
|
@@ -121,6 +132,9 @@ gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
|
|
|
%{_mandir}/*/man1/*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92.2-1
|
|
|
+- updated to 0.92.1.
|
|
|
+
|
|
|
* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-3
|
|
|
- rebuild with gcc-5.4.0
|
|
|
|