gtk+extra-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Name: gtk+extra
  2. Version: 2.1.1
  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}-%{version}.g_free.diff
  11. Patch1: %{name}-%{version}-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. %changelog
  65. * Fri Oct 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.1-1
  66. - updated to 2.1.1 release
  67. - previous Vine packge was pretty old (version 0.99.17 for gtk+-1.x)
  68. - add Japanese summary and description
  69. * Mon Apr 07 2008 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-8
  70. - Patch to fix BZ #431150
  71. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.1-7
  72. - Autorebuild for GCC 4.3
  73. * Fri Oct 19 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-6
  74. - Update patch to fix BZ #339611
  75. * Tue Aug 21 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-5
  76. - Licence tag clarification
  77. * Thu May 3 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-4
  78. - Add patch to fix SF #1504169
  79. * Fri Sep 1 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-3
  80. - FE6 rebuild
  81. * Mon Mar 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-2
  82. - Rebuild for FE5
  83. * Wed Oct 5 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-1
  84. - New version
  85. - Revert to the official package.
  86. * Thu Sep 15 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-3
  87. - BuildRequires is gtk2-devel, not gtk+-devel
  88. - Add Requires gtk2-devel for package devel
  89. - Exclude .la files
  90. - Add a lot of documentation
  91. - Move gtk*.ChangeLog in devel package
  92. - Convert DOS format end-of-line to Unix-like format
  93. - Contributions of Jose Pedro Oliveira <jpo[AT]di[DOT]uminho[DOT]pt>
  94. Thanks to him.
  95. * Tue Sep 13 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-2
  96. - Add french summary and description
  97. * Mon Sep 12 2005 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 1.1.0-1
  98. - New version
  99. * Fri Oct 29 2004 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0:0.99.17-0.fdr.2
  100. - Add BuildRequires gtk+-devel
  101. * Wed Oct 27 2004 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0:0.99.17-0.fdr.1
  102. - Initial Fedora RPM