inkscape-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. Name: inkscape
  2. Summary: A Vector Drawing Application
  3. Summary(ja): ベクター描画アプリケーション
  4. Version: 0.48.5
  5. Release: 3%{?_dist_release}
  6. Group: Applications/Graphics
  7. License: GPLv2+
  8. URL: http://www.inkscape.org/
  9. Source0: http://downloads.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
  10. Patch14: 0001-update-to-new-libwpg.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk2-devel >= 2.8.0
  13. BuildRequires: gnome-vfs2-devel >= 2.0.0
  14. BuildRequires: libxml2-devel >= 2.6.11
  15. BuildRequires: libxslt-devel >= 1.0.15
  16. BuildRequires: gc-devel >= 6.4
  17. BuildRequires: libsigc++-devel >= 2.0.12
  18. BuildRequires: gtkmm2-devel >= 2.8.0
  19. BuildRequires: libpng-devel >= 1.2.0
  20. BuildRequires: libwpg-devel
  21. BuildRequires: perl-XML-Parser
  22. BuildRequires: lcms2-devel
  23. BuildRequires: poppler-devel >= 0.14.2
  24. BuildRequires: pango-devel, cairo-devel
  25. BuildRequires: gsl-devel
  26. BuildRequires: libboost-devel
  27. BuildRequires: popt-devel
  28. BuildRequires: ImageMagick-c++-devel
  29. BuildRequires: dos2unix
  30. BuildRequires: automake autoconf
  31. Requires: python-lxml
  32. Requires: perl-XML-RegExp
  33. Requires: perl-XML-DOM
  34. Requires: perl-XML-XQL
  35. # the package requires libperl.so, so it also has to require this:
  36. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  37. # Filter out perl requires and provides
  38. # XXX: For now _all_
  39. %global __perl_provides %{nil}
  40. %global __perl_requires %{nil}
  41. Vendor: Project Vine
  42. Distribution: Vine Linux
  43. %description
  44. Inkscape is a SVG based generic vector-drawing program for
  45. Linux/Unix/Windows/Mac.
  46. %description -l ja
  47. Inkscape は SVG ベースの汎用ベクトル描画プログラムです。
  48. Linux/Unix/Windows/Mac で動作します。
  49. %prep
  50. %setup -q -n %{name}-%{version}
  51. %patch14 -p1 -b .libwpg
  52. # https://bugs.launchpad.net/inkscape/+bug/314381
  53. # A couple of files have executable bits set,
  54. # despite not being executable
  55. find . -name '*.cpp' | xargs chmod -x
  56. find . -name '*.h' | xargs chmod -x
  57. find share/extensions -name '*.py' | xargs chmod -x
  58. # Fix end of line encodings
  59. dos2unix -k -q share/extensions/*.py
  60. autoreconf -i
  61. %build
  62. %configure \
  63. --with-python \
  64. --with-gnome-vfs \
  65. --with-inkjar \
  66. --enable-lcms2 \
  67. --enable-poppler-cairo
  68. make %{?_smp_mflags}
  69. %install
  70. rm -rf %{buildroot}
  71. make install DESTDIR=$RPM_BUILD_ROOT
  72. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  73. %find_lang %{name}
  74. %clean
  75. rm -rf %{buildroot}
  76. %post
  77. /sbin/ldconfig
  78. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  79. %postun
  80. if [ $1 -eq 0 ] ; then
  81. update-desktop-database -q &> /dev/null
  82. touch --no-create %{_iconsdir}/icons/hicolor &> /dev/null
  83. gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
  84. fi
  85. %posttrans
  86. update-desktop-database -q &> /dev/null
  87. gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
  88. %files -f %{name}.lang
  89. %defattr(-, root, root)
  90. %doc AUTHORS COPYING ChangeLog NEWS README
  91. %{_bindir}/inkscape
  92. %{_bindir}/inkview
  93. %{_datadir}/applications/*.desktop
  94. %{_datadir}/icons/hicolor/*
  95. %{_datadir}/inkscape
  96. %{_mandir}/man1/*
  97. %{_mandir}/*/man1/*
  98. %changelog
  99. * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.48.5-3
  100. - rebuilt with libwpd 0.3.0
  101. - added Patch14 to build with libwpd 0.3.0
  102. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-2
  103. - rebuild with poppler-0.26.2
  104. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-1
  105. - new upstream release
  106. - add BuildRequires: libwpg-devel
  107. - remove Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
  108. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-5
  109. - rebuild with poppler-0.24.5
  110. - add Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
  111. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-4
  112. - rebuild with ImageMagick-6.8.7.5
  113. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-3
  114. - rebuild with poppler-0.24.2
  115. * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-2
  116. - rebuild with ImageMagick-6.8.6.8
  117. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-1
  118. - new upstream release
  119. - remove Patch0 (inkscape-0.48.2-poppler_020.patch)
  120. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-2
  121. - rebuild with poppler-0.20.4
  122. - add Patch0 (inkscape-0.48.2-poppler_020.patch) from fedora
  123. - change BuildRequires: lcms2-devel instead of lcms-devel
  124. * Thu Apr 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-1
  125. - new upstream release
  126. * Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.2-2
  127. - rebuild with ImageMagick-6.7.5.10
  128. * Sat Feb 4 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.48.2-1
  129. - new upstream release
  130. * Sat May 28 2011 TANAKA hiroaki <mosaicist@par.odn.ne.jp>
  131. - add Requires: python-lxml,perl-XML-RegExp,perl-XML-DOM
  132. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48.1-1
  133. - new upstream release
  134. - built with poppler-0.16.3
  135. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.0-2
  136. - rebuild with poppler-0.14.2
  137. - add BuildRequires: popt-devel, ImageMagick-c++-devel
  138. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48-1
  139. - new upstream release
  140. - rebuilt with ImageMagick-6.6.4.8
  141. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.47-3
  142. - added Patch0 for building with poppler-0.12.2+
  143. - rebuilt with new toolchain and ImageMagick-6.6.1.5
  144. - removed BR: libgnomeprint-devel, libgnomeprintui-devel
  145. * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.47-2
  146. - rebuild with poppler-0.12.1
  147. * Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-1
  148. - new upstream release
  149. - add BR: libboost-devel
  150. * Thu Sep 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0.1.pre2
  151. - update to 0.47pre2
  152. - drop obsolete patches
  153. - add BR: gsl-devel
  154. * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.46-4
  155. - rebuild with poppler-0.10.2
  156. * Sun Oct 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-3
  157. - add Patch[1-6]
  158. * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.46-2vl5
  159. - added inkscape-0.46-poppler-0.8.3.patch
  160. - spec in utf-8
  161. - added option %%{?_smp_mflags} at make
  162. * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1vl5
  163. - new upstream release
  164. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45.1-0vl2
  165. - rebuild with new environment/toolchain
  166. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45.1-0vl1
  167. - new upstream release
  168. * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.45-0vl2
  169. - add BuildRequires: lcms-devel >= 1.13, libxslt-devel >= 1.0.15
  170. - update required version of gtk2-devel
  171. * Sat Feb 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45-0vl1
  172. - new upstream release
  173. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-0vl1
  174. - new upstream release
  175. * Wed Nov 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.43-0vl1
  176. - new upstream release
  177. * Tue Aug 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.2-0vl1
  178. - new upstream release
  179. * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.1-0vl1
  180. - new upstream release
  181. * Thu Aug 18 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
  182. - new upstream release
  183. * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.40-0vl1
  184. - new upstream release
  185. - add Japanese summary and description
  186. - fixed dependancy of libsigc++12 to libsigc++ >= 2.0
  187. * Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl2
  188. - fixed dependancy of libsigc++ to libsigc++12
  189. - fixed %files section
  190. * Wed Aug 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl1
  191. - rebuild for Vine Linux
  192. - s/Copyright/License/
  193. - added Requires and BuildRequires
  194. * Sat Jul 17 2004 Bryce W. Harrington <bryce@bryceharrington.com>
  195. - Removing _libdir and TODO, updating description
  196. * Thu May 01 2003 Christian Schaller <uraeus@gnome.org>
  197. - Fix up the spec file for current release
  198. * Mon Sep 23 2002 Dag Wieers <dag@wieers.com>
  199. - Update to 0.2.6
  200. * Thu Sep 12 2002 Dag Wieers <dag@wieers.com>
  201. - Update to 0.2.5
  202. - Changed SPEC to benefit from macros