update to 0.92.4 [release 0.92.4-1mamba;Mon Aug 19 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 23:55:11 +01:00
parent e3ed1e27e0
commit f38449af77

View File

@ -1,13 +1,15 @@
%define gittag INKSCAPE_%(echo %version | tr . _)
Name: inkscape Name: inkscape
Version: 0.91 Version: 0.92.4
Release: 3mamba Release: 1mamba
Summary: A SVG based generic vector-drawing application Summary: A SVG based generic vector-drawing application
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://inkscape.sf.net/ 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 Patch: %{name}-0.43-desktop_file.patch
Patch1: %{name}-0.47-poppler-0.12.2.patch Patch1: %{name}-0.47-poppler-0.12.2.patch
Patch2: %{name}-0.47-gcc45.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. 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. 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 %prep
%setup -q %setup -q
#-D -T #-D -T
@ -84,18 +88,22 @@ Additional planned work includes conversion of the codebase from C/Gtk to C++/Gt
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 #%patch2 -p1
#%patch3 -p1 #%patch3 -p1
%patch4 -p0 #%patch4 -p0
%patch5 -p0 #%patch5 -p0
# Fixes build with gcc 4.8 # Fixes build with gcc 4.8
sed -e "s@commands_toolbox,@commands_toolbox@" -i src/widgets/desktop-widget.h sed -e "s@commands_toolbox,@commands_toolbox@" -i src/widgets/desktop-widget.h
./autogen.sh
%build %build
LDFLAGS="-ldl" \ LDFLAGS="-ldl" \
CXXFLAGS="--std=c++11" \ CXXFLAGS="--std=c++11" \
%configure \ %configure \
--with-gnome-vfs \ --with-gnome-vfs \
--with-python --with-python \
--enable-strict-build=no
# --with-gnome-print \ # --with-gnome-print \
# --enable-inkboard # --enable-inkboard
# --with-perl \ # --with-perl \
@ -106,30 +114,28 @@ CXXFLAGS="--std=c++11" \
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall
%find_lang %{name} %find_lang %{name} --all-name --with-man
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/* %{_bindir}/inkscape
%{_bindir}/inkview
%dir %{_datadir}/inkscape/ %dir %{_datadir}/inkscape/
%{_datadir}/inkscape/* %{_datadir}/inkscape/*
#_datadir}/pixmaps/*.png
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
#%dir %{_libdir}/inkscape/ %{_datadir}/appdata/inkscape.appdata.xml
#%{_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}/icons/hicolor/*/apps/inkscape.png %{_datadir}/icons/hicolor/*/apps/inkscape.png
%doc AUTHORS ChangeLog COPYING* NEWS README %{_mandir}/man?/*
%doc AUTHORS COPYING*
#%doc ChaangeLog NEWS README
%changelog %changelog
* Mon Aug 19 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.92.4-1mamba
- update to 0.92.4
* Thu Oct 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.91-3mamba * Thu Oct 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.91-3mamba
- rebuilt - rebuilt