audioscrobbler-vl.spec 2.4 KB

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