2024-01-05 23:55:11 +01:00
|
|
|
%define gittag INKSCAPE_%(echo %version | tr . _)
|
2024-01-05 23:55:11 +01:00
|
|
|
Name: inkscape
|
2024-01-05 23:55:11 +01:00
|
|
|
Version: 0.92.5
|
2024-01-05 23:55:11 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:55:11 +01:00
|
|
|
Summary: A SVG based generic vector-drawing application
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://inkscape.sf.net/
|
2024-01-05 23:55:11 +01:00
|
|
|
Source: https://gitlab.com/inkscape/inkscape.git/%{gittag}/inkscape-%{version}.tar.bz2
|
|
|
|
#https://launchpad.net/inkscape/%{version}.x/%{version}/+download/inkscape-%{version}.tar.bz2
|
2024-01-05 23:55:11 +01:00
|
|
|
Patch: %{name}-0.43-desktop_file.patch
|
|
|
|
Patch1: %{name}-0.47-poppler-0.12.2.patch
|
|
|
|
Patch2: %{name}-0.47-gcc45.patch
|
2024-01-05 23:55:11 +01:00
|
|
|
Patch3: inkscape-0.48.5-libgc-7.4.2.patch
|
2024-01-05 23:55:11 +01:00
|
|
|
Patch4: inkscape-0.91-libgtkmm-3.18.patch
|
|
|
|
Patch5: inkscape-0.91-libgtk-3.22.patch
|
2024-01-05 23:55:11 +01:00
|
|
|
Patch6: inkscape-0.92.5-ImageMagick-7.0.10.7.patch
|
2024-01-05 23:55:11 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libGConf-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libaspell-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libatkmm-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcairomm-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libcdr-devel
|
|
|
|
BuildRequires: libexif-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgc-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libglibmm-devel
|
|
|
|
BuildRequires: libgnome-vfs-devel
|
|
|
|
BuildRequires: libgomp-devel
|
|
|
|
BuildRequires: libgsl-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libgtkmm2-devel
|
|
|
|
BuildRequires: libgtkspell-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpangomm-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpoppler-devel
|
|
|
|
BuildRequires: libpoppler-glib-devel
|
|
|
|
BuildRequires: libpopt-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: librevenge-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libsigc++-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libvisio-devel
|
|
|
|
BuildRequires: libwpg-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: libMagick-devel >= 6.9.1.4-1mamba
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: intltool >= 0.22
|
|
|
|
BuildRequires: perl-XML-Parser >= 2.31
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
|
|
BuildRequires: libsigc++2-devel >= 1.2.5
|
|
|
|
BuildRequires: libpython-devel
|
2024-01-05 23:55:11 +01:00
|
|
|
BuildRequires: automake1.14
|
2024-01-05 23:55:11 +01:00
|
|
|
Requires: pstoedit >= 3.40
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Inkscape is an open source SVG editor with capabilities similar to Illustrator, CorelDraw, Visio, etc.
|
|
|
|
Supported SVG features include basic shapes, paths, text, alpha blending, transforms, gradients, node editing, svg-to-png export, grouping, and more.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:55:11 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 23:55:11 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2024-01-05 23:55:11 +01:00
|
|
|
#%patch3 -p1
|
2024-01-05 23:55:11 +01:00
|
|
|
#%patch4 -p0
|
|
|
|
#%patch5 -p0
|
2024-01-05 23:55:11 +01:00
|
|
|
%patch6 -p1
|
2024-01-05 23:55:11 +01:00
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
## Fixes build with gcc 4.8
|
|
|
|
#sed -e "s@commands_toolbox,@commands_toolbox@" -i src/widgets/desktop-widget.h
|
2024-01-05 23:55:11 +01:00
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
#./autogen.sh
|
2024-01-05 23:55:11 +01:00
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%build
|
2024-01-05 23:55:11 +01:00
|
|
|
#LDFLAGS="-ldl" \
|
|
|
|
#CXXFLAGS="--std=c++11" \
|
|
|
|
#% configure \
|
|
|
|
# --with-gnome-vfs \
|
|
|
|
# --with-python \
|
|
|
|
# --enable-strict-build=no
|
2024-01-05 23:55:11 +01:00
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
# --with-gnome-print \
|
|
|
|
# --enable-inkboard
|
|
|
|
# --with-perl \
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%cmake -d build
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
2024-01-05 23:55:11 +01:00
|
|
|
%makeinstall -C build
|
2024-01-05 23:55:11 +01:00
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
%find_lang %{name} --all-name --with-man
|
2024-01-05 23:55:11 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-, root, root)
|
2024-01-05 23:55:11 +01:00
|
|
|
%{_bindir}/inkscape
|
|
|
|
%{_bindir}/inkview
|
2024-01-05 23:55:11 +01:00
|
|
|
%dir %{_prefix}/lib/inkscape
|
|
|
|
%{_prefix}/lib/inkscape/lib*.so
|
2024-01-05 23:55:11 +01:00
|
|
|
%dir %{_datadir}/inkscape/
|
|
|
|
%{_datadir}/inkscape/*
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/inkscape.png
|
2024-01-05 23:55:11 +01:00
|
|
|
%{_datadir}/metainfo/inkscape.appdata.xml
|
2024-01-05 23:55:11 +01:00
|
|
|
%{_mandir}/man?/*
|
|
|
|
%doc AUTHORS COPYING*
|
|
|
|
#%doc ChaangeLog NEWS README
|
2024-01-05 23:55:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:55:11 +01:00
|
|
|
* Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 0.92.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Mon Aug 19 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.92.4-1mamba
|
|
|
|
- update to 0.92.4
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Thu Oct 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.91-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Thu Jun 11 2015 Automatic Build System <autodist@mambasoft.it> 0.91-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.1.4-1mamba
|
|
|
|
|
|
|
|
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 0.91-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.48.5-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 0.48.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:55:11 +01:00
|
|
|
* Sat Sep 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.48.4-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 0.48.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 06 2012 Automatic Build System <autodist@mambasoft.it> 0.48.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 09 2011 Automatic Build System <autodist@mambasoft.it> 0.48.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 12 2011 Automatic Build System <autodist@mambasoft.it> 0.48.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 26 2010 Automatic Build System <autodist@mambasoft.it> 0.48.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 08 2010 Automatic Build System <autodist@mambasoft.it> 0.47-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Jul 10 2010 Automatic Build System <autodist@mambasoft.it> 0.47-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Automatic Build System <autodist@mambasoft.it> 0.47-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Nov 21 2009 Automatic Build System <autodist@mambasoft.it> 0.47-1mamba
|
|
|
|
- automatic update to 0.47 by autodist
|
|
|
|
|
|
|
|
* Tue Jun 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.46-2mamba
|
|
|
|
- rebuilt against ImageMagick 1.4.1
|
|
|
|
|
|
|
|
* Thu Jun 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.46-1mamba
|
|
|
|
- update to 0.46
|
|
|
|
|
|
|
|
* Mon Oct 01 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.1-1mamba
|
|
|
|
- update to 0.45.1
|
|
|
|
|
|
|
|
* Mon Sep 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.44.1-1qilnx
|
|
|
|
- update to version 0.44.1 by autospec
|
|
|
|
|
|
|
|
* Fri Jun 23 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.44-1qilnx
|
|
|
|
- update to version 0.44 by autospec
|
|
|
|
|
|
|
|
* Tue Nov 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.43-2qilnx
|
|
|
|
- added some missing build requirements: libglibmm-devel, libxslt-devel,
|
|
|
|
libgtkspell-devel
|
|
|
|
- enabled Inkboard online whiteboard facility
|
|
|
|
|
|
|
|
* Mon Nov 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.43-1qilnx
|
|
|
|
- update to version 0.43 by autospec
|
|
|
|
- also fixes a security issue (qibug#81, CAN-2005-3737)
|
|
|
|
|
|
|
|
* Thu Jul 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.42-1qilnx
|
|
|
|
- update to version 0.42 by autospec
|
|
|
|
- requires `pstoedit' (was listed in ~/inkscape/extension-errors.log)
|
|
|
|
|
|
|
|
* Thu Mar 03 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.41-1qilnx
|
|
|
|
- update to version 0.41 by autospec
|
|
|
|
|
|
|
|
* Fri Dec 17 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.40-2qilnx
|
|
|
|
- set LDFLAG to fix the errors: undefined reference to `dlopen'
|
|
|
|
- own `%{_datadir}/inkscape/' and `%{_libdir}/inkscape/'
|
|
|
|
- removed requirements
|
|
|
|
|
|
|
|
* Wed Dec 15 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.40-1qilnx
|
|
|
|
- updated to new release
|
|
|
|
|
|
|
|
* Tue Oct 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.39-2qilnx
|
|
|
|
- specfile modified to match QiLinux standards
|
|
|
|
- added missing BuildRequirements
|
|
|
|
|
|
|
|
* Tue Sep 14 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.39-1qilnx
|
|
|
|
- first build
|