%global pkg_name Audio-MPD %global pkg_version 0.18.2 %global rpm_pkg_version 0.18.2 %global rpm_pkg_release 1.n0i.2 Summary: Class to talk to MPD (Music Player Daemon) Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JQ/JQUELIN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Audio::MPD::Common) BuildRequires: perl(Class::Accessor) BuildRequires: perl(Encode) BuildRequires: perl(IO::Socket) BuildRequires: perl(Readonly) BuildRequires: perl(Scalar::Util) %description Audio::MPD gives a clear object-oriented interface for talking to and controlling MPD (Music Player Daemon) servers. A connection to the MPD server is established as soon as a new Audio::MPD object is created. Commands are then sent to the server as the class's methods are called. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build # audio device access needed (and proper MPD conf) %{perl_build -t} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc AUTHORS Changes examples/ LICENSE README TODO %changelog * Wed Nov 14 2007 Marius Feraru - 0.18.2-1.n0i.2 - version 0.18.2 - spec update (new reb00t build tools) * Wed Jun 13 2007 Marius Feraru - 0.18.1-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 0.018001