inkscape-vl.spec 5.7 KB

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