inkscape-vl.spec 6.9 KB

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