inkscape-vl.spec 5.2 KB

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