gtk+extra-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Name: gtk+extra
  2. Version: 2.1.2
  3. Release: 1%{?_dist_release}
  4. Summary: A library of gtk+-2.x extra widgets
  5. Summary(ja): gtk+-2.x 用追加ウィジェット集
  6. Group: System Environment/Libraries
  7. License: GPLv2+
  8. URL: http://gtkextra.sourceforge.net/
  9. Source: http://dl.sf.net/scigraphica/gtk+extra-%{version}.tar.gz
  10. Patch: %{name}-2.1.1.g_free.diff
  11. Patch1: %{name}-2.1.1-deleterow.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: gtk2-devel
  14. %description
  15. A library of dynamically linked gtk+ widgets including:
  16. GtkSheet, GtkPlot, and GtkIconList
  17. %description -l ja
  18. 以下の gtk+ ウィジェットを収録したライブラリです:
  19. GtkSheet, GtkPlot, GtkIconList
  20. %package devel
  21. Summary: library and header files for gtk+-2.x extra widgets
  22. Summary(ja): gtk+-2.x 用追加ウィジェット集のライブラリとヘッダファイル
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: gtk2-devel
  26. %description devel
  27. The %{name}-devel package includes the static libraries, header files,
  28. and documentation for compiling programs that use gtk+extra widgets.
  29. %description devel -l ja
  30. %{name}-devel パッケージには、gtk+extra ウィジェットを使うプログラムを
  31. 開発するために必要なインクルードファイル、スタティックライブラリ、
  32. ヘッダファイル、ドキュメントなどが収録されています。
  33. %prep
  34. %setup -q
  35. %{__chmod} a-x ChangeLog
  36. %{__sed} -i 's/\r//' docs/{gtk*.ChangeLog,HELP,README,TODO,VERSION}
  37. %{__sed} -i 's/\r//' docs/reference/*.html
  38. %{__sed} -i 's/\r//' docs/tutorial/{*.html,gtksheet/*.{c,html}}
  39. ## %patch -p0
  40. ## %patch1 -p1
  41. %build
  42. %configure
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc AUTHORS ChangeLog COPYING README
  54. %{_libdir}/libgtkextra*.so.*
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %doc docs/{gtk*.ChangeLog,COPYING,HELP,README,TODO,VERSION}
  58. %doc docs/reference/ docs/tutorial/
  59. %{_libdir}/*.a
  60. %exclude %{_libdir}/*.la
  61. %{_libdir}/*.so
  62. %{_libdir}/pkgconfig/*
  63. %{_includedir}/*
  64. %{_datadir}/gtk-doc/html/gtkextra/*
  65. %changelog
  66. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.2-1
  67. - new upstream release
  68. - drop Patch0, Patch1
  69. * Fri Oct 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.1-1
  70. - updated to 2.1.1 release
  71. - previous Vine packge was pretty old (version 0.99.17 for gtk+-1.x)
  72. - add Japanese summary and description
  73. * Mon Apr 07 2008 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-8
  74. - Patch to fix BZ #431150
  75. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.1-7
  76. - Autorebuild for GCC 4.3
  77. * Fri Oct 19 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-6
  78. - Update patch to fix BZ #339611
  79. * Tue Aug 21 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-5
  80. - Licence tag clarification
  81. * Thu May 3 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-4
  82. - Add patch to fix SF #1504169
  83. * Fri Sep 1 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-3
  84. - FE6 rebuild
  85. * Mon Mar 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-2
  86. - Rebuild for FE5
  87. * Wed Oct 5 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-1
  88. - New version
  89. - Revert to the official package.
  90. * Thu Sep 15 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-3
  91. - BuildRequires is gtk2-devel, not gtk+-devel
  92. - Add Requires gtk2-devel for package devel
  93. - Exclude .la files
  94. - Add a lot of documentation
  95. - Move gtk*.ChangeLog in devel package
  96. - Convert DOS format end-of-line to Unix-like format
  97. - Contributions of Jose Pedro Oliveira <jpo[AT]di[DOT]uminho[DOT]pt>
  98. Thanks to him.
  99. * Tue Sep 13 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-2
  100. - Add french summary and description
  101. * Mon Sep 12 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-1
  102. - New version
  103. * Fri Oct 29 2004 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0:0.99.17-0.fdr.2
  104. - Add BuildRequires gtk+-devel
  105. * Wed Oct 27 2004 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0:0.99.17-0.fdr.1
  106. - Initial Fedora RPM