inkscape-vl.spec 6.0 KB

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