inkscape-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. %global src_suffix 2023-07-21_0e150ed6c4
  2. Name: inkscape
  3. Summary: A Vector Drawing Application
  4. Summary(ja): ベクター描画アプリケーション
  5. Version: 1.3
  6. Release: 2%{?_dist_release}
  7. Group: graphics
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: GPLv2+
  11. URL: https://inkscape.org/
  12. Source0: https://media.inkscape.org/dl/resources/file/inkscape-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: cairo-devel
  15. BuildRequires: cmake
  16. BuildRequires: dos2unix
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: double-conversion-devel
  19. BuildRequires: gc-devel >= 6.4
  20. BuildRequires: gdl-devel
  21. BuildRequires: gsl-devel
  22. BuildRequires: gtkmm3-devel
  23. BuildRequires: ImageMagick-c++-devel
  24. BuildRequires: lcms2-devel
  25. BuildRequires: libboost-devel
  26. BuildRequires: libboost-filesystem
  27. BuildRequires: libexif-devel
  28. BuildRequires: libjpeg-turbo-devel
  29. BuildRequires: libpng-devel >= 1.2.0
  30. BuildRequires: libsigc++-devel >= 2.0.12
  31. BuildRequires: libsoup-devel
  32. BuildRequires: libxml2-devel >= 2.6.11
  33. BuildRequires: libxslt-devel >= 1.0.15
  34. BuildRequires: libwpg-devel
  35. BuildRequires: pango-devel
  36. BuildRequires: perl-XML-Parser
  37. BuildRequires: poppler-devel >= 0.14.2
  38. BuildRequires: popt-devel
  39. BuildRequires: potrace-devel
  40. BuildRequires: python3-devel
  41. BuildRequires: python3-setuptools
  42. Requires: python3
  43. Requires: python3-lxml
  44. Requires: python3-numpy
  45. #Requires: python3-scour
  46. %description
  47. Inkscape is a SVG based generic vector-drawing program for
  48. Linux/Unix/Windows/Mac.
  49. %description -l ja
  50. Inkscape は SVG ベースの汎用ベクトル描画プログラムです。
  51. Linux/Unix/Windows/Mac で動作します。
  52. %debug_package
  53. %prep
  54. %setup -q -n %{name}-%{version}_%{src_suffix}
  55. %autopatch -p1
  56. # https://bugs.launchpad.net/inkscape/+bug/314381
  57. # A couple of files have executable bits set,
  58. # despite not being executable
  59. find . -name '*.cpp' | xargs chmod -x
  60. find . -name '*.h' | xargs chmod -x
  61. find share/extensions -name '*.py' | xargs chmod -x
  62. # Fix end of line encodings
  63. dos2unix -k -q share/extensions/*.py
  64. %build
  65. %cmake \
  66. -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
  67. %if "%{_lib}" == "lib64"
  68. -DLIB_SUFFIX=64 \
  69. %endif
  70. -DBUILD_SHARED_LIBS:BOOL=OFF
  71. %cmake_build
  72. %install
  73. rm -rf %{buildroot}
  74. %cmake_install
  75. find %{buildroot} -type f -name 'lib*.a' -delete
  76. # Don't install development files for bundled libraries
  77. rm -r $RPM_BUILD_ROOT%{_includedir}/2geom-*/
  78. rm -r $RPM_BUILD_ROOT%{_libdir}/cmake/2Geom
  79. rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/2geom.pc
  80. rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
  81. %find_lang %{name} --with-man
  82. %find_lang inkview --with-man
  83. rm -rf $RPM_BUILD_ROOT%{_datadir}/inkscape/doc
  84. rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright
  85. %clean
  86. rm -rf %{buildroot}
  87. %files -f %{name}.lang -f inkview.lang
  88. %defattr(-, root, root)
  89. %license COPYING
  90. %doc AUTHORS NEWS* README*
  91. %{_bindir}/inkscape
  92. %{_bindir}/inkview
  93. %{_datadir}/inkscape
  94. %{_datadir}/metainfo/org.inkscape.Inkscape.appdata.xml
  95. %{_datadir}/applications/org.inkscape.Inkscape.desktop
  96. %{_datadir}/icons/hicolor/*/*/*.png
  97. %{_datadir}/icons/hicolor/*/*/*.svg
  98. %{_mandir}/man1/*
  99. %dir %{_datadir}/bash-completion
  100. %dir %{_datadir}/bash-completion/completions
  101. %{_datadir}/bash-completion/completions/inkscape
  102. %changelog
  103. * Wed Nov 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-2
  104. - rebuilt with boost-1.83.0.
  105. * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
  106. - new upstream release.
  107. * Sat Nov 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-2
  108. - rebuilt with python3-3.11.
  109. * Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
  110. - new upstream release.
  111. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-2
  112. - rebuilt with poppler-21.03.0.
  113. * Sat Feb 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
  114. - new upstream release.
  115. * Sun Oct 27 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-3
  116. - rebuild with OpenEXR-libs-2.4.0 (required by ImageMagick)
  117. * Mon Oct 14 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-2
  118. - rebuild with poppler-0.81.0 and gsl-2.6
  119. - add Patch1002 for poppler >= 0.76.0
  120. * Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 0.92.4-1
  121. - update to 0.92.4
  122. - drop unrecognized options: --with-python, --enable-lcms2
  123. * Sun Jun 03 2018 Toshiaki Ara <ara_t@384.jp> 0.92.3-1
  124. - updated to 0.92.3
  125. - drop Patch1000,1001
  126. * Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.92.2-1
  127. - updated to 0.92.2
  128. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-3
  129. - rebuild with gcc-5.4.0
  130. * Mon May 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-2
  131. - rebuild with poppler-0.43.0
  132. * Tue Nov 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.91-1
  133. - update to 0.91
  134. - remove old patches
  135. - add BuildRequires: dbus-glib-devel, libexif-devel, libjpeg-turbo-devel
  136. * Tue Apr 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-4
  137. - rebuild with ImageMagick-6.9.1.1
  138. * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.48.5-3
  139. - rebuilt with libwpd 0.3.0
  140. - added Patch14 to build with libwpd 0.3.0
  141. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-2
  142. - rebuild with poppler-0.26.2
  143. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-1
  144. - new upstream release
  145. - add BuildRequires: libwpg-devel
  146. - remove Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
  147. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-5
  148. - rebuild with poppler-0.24.5
  149. - add Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
  150. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-4
  151. - rebuild with ImageMagick-6.8.7.5
  152. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-3
  153. - rebuild with poppler-0.24.2
  154. * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-2
  155. - rebuild with ImageMagick-6.8.6.8
  156. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-1
  157. - new upstream release
  158. - remove Patch0 (inkscape-0.48.2-poppler_020.patch)
  159. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-2
  160. - rebuild with poppler-0.20.4
  161. - add Patch0 (inkscape-0.48.2-poppler_020.patch) from fedora
  162. - change BuildRequires: lcms2-devel instead of lcms-devel
  163. * Thu Apr 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-1
  164. - new upstream release
  165. * Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.2-2
  166. - rebuild with ImageMagick-6.7.5.10
  167. * Sat Feb 4 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.48.2-1
  168. - new upstream release
  169. * Sat May 28 2011 TANAKA hiroaki <mosaicist@par.odn.ne.jp>
  170. - add Requires: python-lxml,perl-XML-RegExp,perl-XML-DOM
  171. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48.1-1
  172. - new upstream release
  173. - built with poppler-0.16.3
  174. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.0-2
  175. - rebuild with poppler-0.14.2
  176. - add BuildRequires: popt-devel, ImageMagick-c++-devel
  177. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48-1
  178. - new upstream release
  179. - rebuilt with ImageMagick-6.6.4.8
  180. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.47-3
  181. - added Patch0 for building with poppler-0.12.2+
  182. - rebuilt with new toolchain and ImageMagick-6.6.1.5
  183. - removed BR: libgnomeprint-devel, libgnomeprintui-devel
  184. * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.47-2
  185. - rebuild with poppler-0.12.1
  186. * Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-1
  187. - new upstream release
  188. - add BR: libboost-devel
  189. * Thu Sep 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0.1.pre2
  190. - update to 0.47pre2
  191. - drop obsolete patches
  192. - add BR: gsl-devel
  193. * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.46-4
  194. - rebuild with poppler-0.10.2
  195. * Sun Oct 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-3
  196. - add Patch[1-6]
  197. * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.46-2vl5
  198. - added inkscape-0.46-poppler-0.8.3.patch
  199. - spec in utf-8
  200. - added option %%{?_smp_mflags} at make
  201. * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1vl5
  202. - new upstream release
  203. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45.1-0vl2
  204. - rebuild with new environment/toolchain
  205. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45.1-0vl1
  206. - new upstream release
  207. * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.45-0vl2
  208. - add BuildRequires: lcms-devel >= 1.13, libxslt-devel >= 1.0.15
  209. - update required version of gtk2-devel
  210. * Sat Feb 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45-0vl1
  211. - new upstream release
  212. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-0vl1
  213. - new upstream release
  214. * Wed Nov 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.43-0vl1
  215. - new upstream release
  216. * Tue Aug 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.2-0vl1
  217. - new upstream release
  218. * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.1-0vl1
  219. - new upstream release
  220. * Thu Aug 18 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
  221. - new upstream release
  222. * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.40-0vl1
  223. - new upstream release
  224. - add Japanese summary and description
  225. - fixed dependancy of libsigc++12 to libsigc++ >= 2.0
  226. * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl2
  227. - fixed dependancy of libsigc++ to libsigc++12
  228. - fixed %files section
  229. * Wed Aug 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl1
  230. - rebuild for Vine Linux
  231. - s/Copyright/License/
  232. - added Requires and BuildRequires
  233. * Sat Jul 17 2004 Bryce W. Harrington <bryce@bryceharrington.com>
  234. - Removing _libdir and TODO, updating description
  235. * Thu May 01 2003 Christian Schaller <uraeus@gnome.org>
  236. - Fix up the spec file for current release
  237. * Mon Sep 23 2002 Dag Wieers <dag@wieers.com>
  238. - Update to 0.2.6
  239. * Thu Sep 12 2002 Dag Wieers <dag@wieers.com>
  240. - Update to 0.2.5
  241. - Changed SPEC to benefit from macros