gmtk-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. %define with_my_japo 0
  2. #% define svnrevision 184
  3. #% define rcversion 1
  4. #% define betaversion a1
  5. Name: gmtk
  6. Version: 1.0.7
  7. Release: 1%{?betaversion:.%betaversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
  8. Summary: Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
  9. License: GPLv2+
  10. URL: http://code.google.com/p/%{name}/
  11. Source0: http://code.google.com/p/%{name}/files/%{name}-%{version}%{?betaversion:%betaversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}.tar.%{?svnrevision:xz}%{!?svnrevision:gz}
  12. Source10: gmtk-snapshot.sh
  13. ## vine
  14. %if %{with_my_japo}
  15. Source100: gmtk-1.0.6b1-ja.po
  16. %endif
  17. BuildRequires: alsa-lib-devel
  18. BuildRequires: GConf2-devel
  19. BuildRequires: gettext
  20. %if %{?_dist_release} == "vl7"
  21. BuildRequires: gtk3-devel
  22. %else
  23. %if %{?_dist_release} == "vl6"
  24. BuildRequires: gtk2-devel
  25. %endif
  26. %endif
  27. BuildRequires: intltool
  28. BuildRequires: pulseaudio-libs-devel
  29. #Requires: mplayer
  30. %description
  31. Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
  32. %package devel
  33. Summary: Development files for %{name}
  34. Requires: %{name} = %{version}-%{release}
  35. %description devel
  36. The %{name}-devel package contains libraries and header files for
  37. developing applications that use %{name}.
  38. %prep
  39. #% setup -q %{?rcversion:-n %{name}-%{version}.rc%{rcversion}}
  40. %setup -q %{?betaversion:-n %{name}-%{version}%betaversion}
  41. ## vine
  42. %if %{with_my_japo}
  43. %__install -m644 %{SOURCE100} po/ja.po
  44. %endif
  45. ##
  46. autoreconf --install --force --verbose
  47. %build
  48. %configure --disable-static
  49. %__make %{?_smp_mflags}
  50. %install
  51. %__rm -rf $RPM_BUILD_ROOT
  52. %__make install DESTDIR=$RPM_BUILD_ROOT
  53. find $RPM_BUILD_ROOT -name '*.la' -exec %__rm -f {} ';'
  54. %find_lang %{name}
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files -f %{name}.lang
  58. %{_docdir}/%{name}
  59. %{_libdir}/*.so.*
  60. %files devel
  61. %doc
  62. %{_includedir}/*
  63. %{_libdir}/*.so
  64. %{_libdir}/pkgconfig/*.pc
  65. %changelog
  66. * Thu Nov 1 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.7-1
  67. - new upstream release
  68. * Mon Apr 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-3
  69. - new upstream release
  70. * Thu Apr 5 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-2.b1
  71. - updated ja.po
  72. * Sat Mar 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-1.b1
  73. - new upstream release
  74. * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1
  75. - new upstream release
  76. * Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1.b1.svn56
  77. - initial build
  78. - updated ja.po