libtomoe-gtk-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %define _tomoe_ver 0.5.0
  2. Summary: A class library for tomoe's GUI parts
  3. Summary(ja): tomoe の GUI パーツのクラスライブラリ
  4. Name: libtomoe-gtk
  5. Version: 0.5.1
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPL
  9. URL: http://tomoe.sourceforge.jp/
  10. Source0: libtomoe-gtk-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: tomoe-devel >= %{_tomoe_ver}
  13. BuildRequires: gtk2-devel >= 2.4.0, gtk-doc >= 1.4, gucharmap-devel >= 1.4.0
  14. Requires: tomoe >= %{_tomoe_ver}
  15. Requires: gtk2 >= 2.4.0
  16. PreReq: ldconfig
  17. %description
  18. The libtomoe-gtk is a class library for tomoe's GUI parts.
  19. %description -l ja
  20. libtomoe-gtk は tomoe の GUI パーツのクラスライブラリです。
  21. %package devel
  22. Summary: Header files for developing libtomoe-gtk applications
  23. Summary(ja): libtomoe-gtk アプリケーション開発用ヘッダファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: tomoe-devel >= %{_tomoe_ver}
  27. Requires: gucharmap-devel >= 1.4.0
  28. Requires: pkgconfig
  29. %description devel
  30. The libtomoe-gtk-devel package includes the header files for the libtomoe-gtk
  31. package.
  32. Install this package if you want to develop programs which use libtomoe-gtk.
  33. %description -l ja devel
  34. libtomoe-gtk-devel パッケージには、libtomoe-gtk を使うアプリケーションを開発
  35. するためのヘッダファイルが含まれています。
  36. %prep
  37. %setup -q
  38. %build
  39. %configure
  40. %__make %{?_smp_mflags}
  41. %install
  42. %makeinstall
  43. %find_lang %{name}
  44. ## remove unuse files
  45. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  46. %clean
  47. %__rm -rf %{buildroot}
  48. %post
  49. %{_syssbindir}/ldconfig
  50. %postun
  51. %{_syssbindir}/ldconfig
  52. %files -f %{name}.lang
  53. %defattr(-,root,root,-)
  54. %doc AUTHORS COPYING ChangeLog INSTALL
  55. %{_libdir}/*.so.*
  56. %{_datadir}/libtomoe-gtk
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/tomoe/gtk/*.h
  60. %{_libdir}/pkgconfig/*.pc
  61. %{_libdir}/*.so
  62. #%{_libdir}/*.la
  63. %{_libdir}/*.a
  64. %{_datadir}/gtk-doc/html/libtomoe-gtk
  65. %changelog
  66. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.1-1vl5
  67. - applied new versioning policy, spec in utf-8
  68. - removed *.la
  69. * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.1-0vl1
  70. - new upstream release
  71. - drop obsolete test-fix.patch (patch0)
  72. * Mon Jan 08 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl2
  73. - add Requires: gucharmap-devel to -devel package
  74. * Mon Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl1
  75. - new upstream release
  76. - update required version of tomoe
  77. - add test-fix.patch (patch0)
  78. - add Requires: tomoe-devel to -devel package
  79. - add BuildRequires: gtk-doc >= 1.4, gucharmap-devel >= 1.4.0
  80. * Fri Nov 24 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.3.0-0vl1
  81. - new upstream release
  82. - update required-version of tomoe
  83. - add Requires: pkgconfig to -devel package
  84. - update %%files
  85. * Mon Nov 07 2005 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl1
  86. - initial release for Vine Linux