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