[521] | 1 | %define pname xmms-scrobbler |
---|
| 2 | %define name audioscrobbler |
---|
| 3 | %define version 0.3.6 |
---|
| 4 | %define release 0vl5 |
---|
| 5 | |
---|
| 6 | Summary: Plugin of audioscrobber |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
| 10 | Source0: %{pname}-%{version}.tar.bz2 |
---|
| 11 | URL: http://www.audioscrobbler.com/ |
---|
| 12 | Group: Applications/Multimedia |
---|
| 13 | License: LGPL |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Plugins of audioscrobber for xmms and beepmp |
---|
| 18 | |
---|
| 19 | %package xmms |
---|
| 20 | Summary: Plugin of audioscrobber for xmms |
---|
| 21 | Group: Applications/Multimedia |
---|
| 22 | BuildRequires: libmusicbrainz-devel >= 2.0.0 |
---|
| 23 | BuildRequires: gtk+-devel curl-devel libidn-devel openssl-devel zlib-devel |
---|
| 24 | BuildRequires: xmms >= 1.2.4 |
---|
| 25 | Requires: %{name} = %version-%release |
---|
| 26 | Requires: xmms libmusicbrainz curl openssl zlib libidn |
---|
| 27 | Provides: %{name}-xmms = %version-%release |
---|
| 28 | |
---|
| 29 | %description xmms |
---|
| 30 | Plugin of audioscrobber for xmms |
---|
| 31 | |
---|
| 32 | %package beepmp |
---|
| 33 | Summary: Plugin of audioscrobber for beepmp |
---|
| 34 | Group: Applications/Multimedia |
---|
| 35 | BuildRequires: libmusicbrainz-devel >= 2.0.0 |
---|
| 36 | BuildRequires: curl-devel libidn-devel openssl-devel zlib-devel |
---|
| 37 | BuildRequires: beepmp-devel >= 0.9.7 |
---|
| 38 | Requires: %{name} = %version-%release |
---|
| 39 | Requires: beepmp libmusicbrainz curl openssl zlib libidn |
---|
| 40 | Provides: %{name}-beepmp = %version-%release |
---|
| 41 | |
---|
| 42 | %description beepmp |
---|
| 43 | Plugin of audioscrobber for beepmp |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q -n %{pname}-%{version} |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | ./configure --prefix=%{_prefix} |
---|
| 50 | make |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | %makeinstall DESTDIR=$RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %clean |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | %post -n %{name}-xmms -p /sbin/ldconfig |
---|
| 60 | %post -n %{name}-beepmp -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | %postun -n %{name}-xmms -p /sbin/ldconfig |
---|
| 63 | %postun -n %{name}-beepmp -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | %files |
---|
| 66 | %defattr(-,root,root) |
---|
| 67 | %doc AUTHORS COPYING ChangeLog KnownIssues NEWS README* TODO |
---|
| 68 | |
---|
| 69 | %files xmms |
---|
| 70 | %defattr(-,root,root) |
---|
| 71 | %{_libdir}/xmms/General/* |
---|
| 72 | |
---|
| 73 | %files beepmp |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %{_libdir}/bmp/General/* |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %changelog |
---|
| 79 | * Sat May 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-0vl5 |
---|
| 80 | - rebuild with new curl |
---|
| 81 | |
---|
| 82 | * Sat Jun 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.6-0vl4 |
---|
| 83 | - changed Group to Applicatins/Multimedia |
---|
| 84 | |
---|
| 85 | * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 0.3.6-0vl3 |
---|
| 86 | - added "BuildRequires: gtk+-devel" |
---|
| 87 | |
---|
| 88 | * Sun Mar 06 2005 Satoshi MACHINO <machino@vinelinux.org> 0.3.6-0vl1.1 |
---|
| 89 | - rebuilt for Vine Linux-3.1 |
---|
| 90 | |
---|
| 91 | * Sun Mar 06 2005 Satoshi MACHINO <machino@vinelinux.org> 0.3.6-0vl2 |
---|
| 92 | - fixed dependencies |
---|
| 93 | |
---|
| 94 | * Sat Mar 05 2005 Satoshi MACHINO <machino@vinelinux.org> 0.3.6-0vl1 |
---|
| 95 | - initial built. |
---|