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