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