diff --git a/inkscape.spec b/inkscape.spec index 8741424..6620af8 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,13 +1,15 @@ +%define gittag INKSCAPE_%(echo %version | tr . _) Name: inkscape -Version: 0.91 -Release: 3mamba +Version: 0.92.4 +Release: 1mamba Summary: A SVG based generic vector-drawing application Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://inkscape.sf.net/ -Source: https://launchpad.net/inkscape/%{version}.x/%{version}/+download/inkscape-%{version}.tar.bz2 +Source: https://gitlab.com/inkscape/inkscape.git/%{gittag}/inkscape-%{version}.tar.bz2 +#https://launchpad.net/inkscape/%{version}.x/%{version}/+download/inkscape-%{version}.tar.bz2 Patch: %{name}-0.43-desktop_file.patch Patch1: %{name}-0.47-poppler-0.12.2.patch Patch2: %{name}-0.47-gcc45.patch @@ -77,6 +79,8 @@ Supported SVG features include basic shapes, paths, text, alpha blending, transf Inkscape's main motivation is to provide the Open Source community with a fully XML, SVG, and CSS2 compliant SVG drawing tool. Additional planned work includes conversion of the codebase from C/Gtk to C++/Gtkmm, emphasizing a lightweight core with powerful features added through an extension mechanism, and establishment of a friendly, open, community-oriented development processes. +%debug_package + %prep %setup -q #-D -T @@ -84,18 +88,22 @@ Additional planned work includes conversion of the codebase from C/Gtk to C++/Gt #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 -%patch4 -p0 -%patch5 -p0 +#%patch4 -p0 +#%patch5 -p0 # Fixes build with gcc 4.8 sed -e "s@commands_toolbox,@commands_toolbox@" -i src/widgets/desktop-widget.h +./autogen.sh + %build LDFLAGS="-ldl" \ CXXFLAGS="--std=c++11" \ %configure \ --with-gnome-vfs \ - --with-python + --with-python \ + --enable-strict-build=no + # --with-gnome-print \ # --enable-inkboard # --with-perl \ @@ -106,30 +114,28 @@ CXXFLAGS="--std=c++11" \ [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -%find_lang %{name} +%find_lang %{name} --all-name --with-man %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files -f %{name}.lang %defattr(-, root, root) -%{_bindir}/* +%{_bindir}/inkscape +%{_bindir}/inkview %dir %{_datadir}/inkscape/ %{_datadir}/inkscape/* -#_datadir}/pixmaps/*.png %{_datadir}/applications/%{name}.desktop -#%dir %{_libdir}/inkscape/ -#%{_libdir}/inkscape/ -%{_mandir}/man?/* -%lang(el) %{_mandir}/el/man1/inkscape.el.1* -%lang(fr) %{_mandir}/fr/man1/inkscape.fr.1* -%lang(ja) %{_mandir}/ja/man1/inkscape.ja.1* -%lang(sk) %{_mandir}/sk/man1/inkscape.ja.1* -%lang(zh_TW) %{_mandir}/zh_TW/man1/inkscape.zh_TW.1* +%{_datadir}/appdata/inkscape.appdata.xml %{_datadir}/icons/hicolor/*/apps/inkscape.png -%doc AUTHORS ChangeLog COPYING* NEWS README +%{_mandir}/man?/* +%doc AUTHORS COPYING* +#%doc ChaangeLog NEWS README %changelog +* Mon Aug 19 2019 Silvan Calarco 0.92.4-1mamba +- update to 0.92.4 + * Thu Oct 13 2016 Silvan Calarco 0.91-3mamba - rebuilt