gmtk-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %global with_my_japo 0
  2. #% global svnrevision 205
  3. %global pretestversion b
  4. #% global rcversion 1
  5. Name: gmtk
  6. Summary: Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
  7. Summary(ja): GNOME Media Player と Gecko Media Player に共通する機能・ウィジェットに関するライブラリ
  8. Version: 1.0.9
  9. Release: 2%{?pretestversion:.%pretestversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
  10. License: GPLv2+
  11. Group: System Environment/Libraries
  12. URL: http://code.google.com/p/%{name}/
  13. Source0: http://code.google.com/p/%{name}/files/%{name}-%{version}%{?pretestversion:%pretestversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}.tar.%{?svnrevision:xz}%{!?svnrevision:gz}
  14. Source10: gmtk-snapshot.sh
  15. ## Vine
  16. %if %{with_my_japo}
  17. Source100: gmtk-1.0.8a.svn205-ja.po
  18. %endif
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  20. BuildRequires: alsa-lib-devel
  21. BuildRequires: GConf2-devel
  22. BuildRequires: gettext
  23. %if %{?_dist_release} == "vl7"
  24. BuildRequires: gtk3-devel
  25. %else
  26. %if %{?_dist_release} == "vl6"
  27. BuildRequires: gtk2-devel
  28. %endif
  29. %endif
  30. BuildRequires: intltool
  31. BuildRequires: pulseaudio-libs-devel
  32. #Requires: mplayer
  33. %description
  34. Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
  35. %package devel
  36. Summary: Development files for %{name}
  37. Summary(ja): %{name} の開発用ファイル
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. %description devel
  41. The %{name}-devel package contains libraries and header files for
  42. developing applications that use %{name}.
  43. %prep
  44. #% setup -q %{?rcversion:-n %{name}-%{version}.rc%{rcversion}}
  45. %setup -q %{?pretestversion:-n %{name}-%{version}%pretestversion}
  46. ## vine
  47. %if %{with_my_japo}
  48. %__install -m644 %{SOURCE100} po/ja.po
  49. %endif
  50. ##
  51. #autoreconf --install --force --verbose
  52. %build
  53. %configure --disable-static
  54. %__make %{?_smp_mflags}
  55. %install
  56. %__rm -rf $RPM_BUILD_ROOT
  57. %__make install DESTDIR=$RPM_BUILD_ROOT
  58. find $RPM_BUILD_ROOT -name '*.la' -exec %__rm -f {} ';'
  59. %find_lang %{name}
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %files -f %{name}.lang
  63. %{_docdir}/%{name}
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %doc
  67. %{_includedir}/*
  68. %{_libdir}/*.so
  69. %{_libdir}/pkgconfig/*.pc
  70. %changelog
  71. * Fri Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.9-2.b
  72. - updated to 1.0.9b
  73. - added Group tag
  74. * Tue Sep 17 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.9-1.a
  75. - updated to 1.0.9a; this is first alpha version
  76. * Thu Mar 7 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-4
  77. - new upstream release
  78. * Wed Feb 20 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-3.b
  79. - updated to 1.0.8b (beta)
  80. * Sun Feb 17 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-2.a.svn205
  81. - updated to svn205
  82. - updated ja.po: gmtk-1.0.8a.svn205-ja.po
  83. * Fri Feb 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-1.a.svn198
  84. - updated to svn198
  85. - updated ja.po: gmtk-1.0.8a.svn198-ja.po
  86. * Thu Nov 1 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.7-1
  87. - new upstream release
  88. * Mon Apr 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-3
  89. - new upstream release
  90. * Thu Apr 5 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-2.b1
  91. - updated ja.po
  92. * Sat Mar 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-1.b1
  93. - new upstream release
  94. * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1
  95. - new upstream release
  96. * Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1.b1.svn56
  97. - initial build
  98. - updated ja.po