123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- %global src_suffix 2023-07-21_0e150ed6c4
- Name: inkscape
- Summary: A Vector Drawing Application
- Summary(ja): ベクター描画アプリケーション
- Version: 1.3
- Release: 2%{?_dist_release}
- Group: graphics
- Vendor: Project Vine
- Distribution: Vine Linux
- License: GPLv2+
- URL: https://inkscape.org/
- Source0: https://media.inkscape.org/dl/resources/file/inkscape-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: cairo-devel
- BuildRequires: cmake
- BuildRequires: dos2unix
- BuildRequires: dbus-glib-devel
- BuildRequires: double-conversion-devel
- BuildRequires: gc-devel >= 6.4
- BuildRequires: gdl-devel
- BuildRequires: gsl-devel
- BuildRequires: gtkmm3-devel
- BuildRequires: ImageMagick-c++-devel
- BuildRequires: lcms2-devel
- BuildRequires: libboost-devel
- BuildRequires: libboost-filesystem
- BuildRequires: libexif-devel
- BuildRequires: libjpeg-turbo-devel
- BuildRequires: libpng-devel >= 1.2.0
- BuildRequires: libsigc++-devel >= 2.0.12
- BuildRequires: libsoup-devel
- BuildRequires: libxml2-devel >= 2.6.11
- BuildRequires: libxslt-devel >= 1.0.15
- BuildRequires: libwpg-devel
- BuildRequires: pango-devel
- BuildRequires: perl-XML-Parser
- BuildRequires: poppler-devel >= 0.14.2
- BuildRequires: popt-devel
- BuildRequires: potrace-devel
- BuildRequires: python3-devel
- BuildRequires: python3-setuptools
- Requires: python3
- Requires: python3-lxml
- Requires: python3-numpy
- #Requires: python3-scour
- %description
- Inkscape is a SVG based generic vector-drawing program for
- Linux/Unix/Windows/Mac.
- %description -l ja
- Inkscape は SVG ベースの汎用ベクトル描画プログラムです。
- Linux/Unix/Windows/Mac で動作します。
- %debug_package
- %prep
- %setup -q -n %{name}-%{version}_%{src_suffix}
- %autopatch -p1
- # https://bugs.launchpad.net/inkscape/+bug/314381
- # A couple of files have executable bits set,
- # despite not being executable
- find . -name '*.cpp' | xargs chmod -x
- find . -name '*.h' | xargs chmod -x
- find share/extensions -name '*.py' | xargs chmod -x
- # Fix end of line encodings
- dos2unix -k -q share/extensions/*.py
- %build
- %cmake \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
- %if "%{_lib}" == "lib64"
- -DLIB_SUFFIX=64 \
- %endif
- -DBUILD_SHARED_LIBS:BOOL=OFF
- %cmake_build
- %install
- rm -rf %{buildroot}
- %cmake_install
- find %{buildroot} -type f -name 'lib*.a' -delete
- # Don't install development files for bundled libraries
- rm -r $RPM_BUILD_ROOT%{_includedir}/2geom-*/
- rm -r $RPM_BUILD_ROOT%{_libdir}/cmake/2Geom
- rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/2geom.pc
- rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
- %find_lang %{name} --with-man
- %find_lang inkview --with-man
- rm -rf $RPM_BUILD_ROOT%{_datadir}/inkscape/doc
- rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright
- %clean
- rm -rf %{buildroot}
- %files -f %{name}.lang -f inkview.lang
- %defattr(-, root, root)
- %license COPYING
- %doc AUTHORS NEWS* README*
- %{_bindir}/inkscape
- %{_bindir}/inkview
- %{_datadir}/inkscape
- %{_datadir}/metainfo/org.inkscape.Inkscape.appdata.xml
- %{_datadir}/applications/org.inkscape.Inkscape.desktop
- %{_datadir}/icons/hicolor/*/*/*.png
- %{_datadir}/icons/hicolor/*/*/*.svg
- %{_mandir}/man1/*
- %dir %{_datadir}/bash-completion
- %dir %{_datadir}/bash-completion/completions
- %{_datadir}/bash-completion/completions/inkscape
- %changelog
- * Wed Nov 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-2
- - rebuilt with boost-1.83.0.
- * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
- - new upstream release.
- * Sat Nov 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-2
- - rebuilt with python3-3.11.
- * Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
- - new upstream release.
- * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-2
- - rebuilt with poppler-21.03.0.
- * Sat Feb 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
- - new upstream release.
- * Sun Oct 27 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-3
- - rebuild with OpenEXR-libs-2.4.0 (required by ImageMagick)
- * Mon Oct 14 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-2
- - rebuild with poppler-0.81.0 and gsl-2.6
- - add Patch1002 for poppler >= 0.76.0
- * Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-1
- - update to 0.92.4
- - drop unrecognized options: --with-python, --enable-lcms2
- * Sun Jun 03 2018 Toshiaki Ara <ara_t@384.jp> 0.92.3-1
- - updated to 0.92.3
- - drop Patch1000,1001
- * Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92.2-1
- - updated to 0.92.2
- * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-3
- - rebuild with gcc-5.4.0
- * Mon May 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-2
- - rebuild with poppler-0.43.0
- * Tue Nov 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-1
- - update to 0.91
- - remove old patches
- - add BuildRequires: dbus-glib-devel, libexif-devel, libjpeg-turbo-devel
- * Tue Apr 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-4
- - rebuild with ImageMagick-6.9.1.1
- * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.48.5-3
- - rebuilt with libwpd 0.3.0
- - added Patch14 to build with libwpd 0.3.0
- * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-2
- - rebuild with poppler-0.26.2
- * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-1
- - new upstream release
- - add BuildRequires: libwpg-devel
- - remove Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
- * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-5
- - rebuild with poppler-0.24.5
- - add Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
- * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-4
- - rebuild with ImageMagick-6.8.7.5
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-3
- - rebuild with poppler-0.24.2
- * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-2
- - rebuild with ImageMagick-6.8.6.8
- * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-1
- - new upstream release
- - remove Patch0 (inkscape-0.48.2-poppler_020.patch)
- * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-2
- - rebuild with poppler-0.20.4
- - add Patch0 (inkscape-0.48.2-poppler_020.patch) from fedora
- - change BuildRequires: lcms2-devel instead of lcms-devel
- * Thu Apr 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-1
- - new upstream release
- * Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.2-2
- - rebuild with ImageMagick-6.7.5.10
- * Sat Feb 4 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.48.2-1
- - new upstream release
- * Sat May 28 2011 TANAKA hiroaki <mosaicist@par.odn.ne.jp>
- - add Requires: python-lxml,perl-XML-RegExp,perl-XML-DOM
- * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48.1-1
- - new upstream release
- - built with poppler-0.16.3
- * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.0-2
- - rebuild with poppler-0.14.2
- - add BuildRequires: popt-devel, ImageMagick-c++-devel
- * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48-1
- - new upstream release
- - rebuilt with ImageMagick-6.6.4.8
- * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.47-3
- - added Patch0 for building with poppler-0.12.2+
- - rebuilt with new toolchain and ImageMagick-6.6.1.5
- - removed BR: libgnomeprint-devel, libgnomeprintui-devel
- * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.47-2
- - rebuild with poppler-0.12.1
- * Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-1
- - new upstream release
- - add BR: libboost-devel
- * Thu Sep 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0.1.pre2
- - update to 0.47pre2
- - drop obsolete patches
- - add BR: gsl-devel
- * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.46-4
- - rebuild with poppler-0.10.2
- * Sun Oct 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-3
- - add Patch[1-6]
- * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.46-2vl5
- - added inkscape-0.46-poppler-0.8.3.patch
- - spec in utf-8
- - added option %%{?_smp_mflags} at make
- * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1vl5
- - new upstream release
- * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45.1-0vl2
- - rebuild with new environment/toolchain
- * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45.1-0vl1
- - new upstream release
- * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.45-0vl2
- - add BuildRequires: lcms-devel >= 1.13, libxslt-devel >= 1.0.15
- - update required version of gtk2-devel
- * Sat Feb 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45-0vl1
- - new upstream release
- * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-0vl1
- - new upstream release
- * Wed Nov 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.43-0vl1
- - new upstream release
- * Tue Aug 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.2-0vl1
- - new upstream release
- * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.1-0vl1
- - new upstream release
- * Thu Aug 18 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
- - new upstream release
- * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.40-0vl1
- - new upstream release
- - add Japanese summary and description
- - fixed dependancy of libsigc++12 to libsigc++ >= 2.0
- * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl2
- - fixed dependancy of libsigc++ to libsigc++12
- - fixed %files section
- * Wed Aug 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl1
- - rebuild for Vine Linux
- - s/Copyright/License/
- - added Requires and BuildRequires
- * Sat Jul 17 2004 Bryce W. Harrington <bryce@bryceharrington.com>
- - Removing _libdir and TODO, updating description
- * Thu May 01 2003 Christian Schaller <uraeus@gnome.org>
- - Fix up the spec file for current release
- * Mon Sep 23 2002 Dag Wieers <dag@wieers.com>
- - Update to 0.2.6
- * Thu Sep 12 2002 Dag Wieers <dag@wieers.com>
- - Update to 0.2.5
- - Changed SPEC to benefit from macros
|