SPECS: perl-Audio-MPD.spec (NEW) - initial version

jackass jackass at pld-linux.org
Wed Jun 27 00:41:30 CEST 2007


Author: jackass                      Date: Tue Jun 26 22:41:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SPECS:
   perl-Audio-MPD.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Audio-MPD.spec
diff -u /dev/null SPECS/perl-Audio-MPD.spec:1.1
--- /dev/null	Wed Jun 27 00:41:30 2007
+++ SPECS/perl-Audio-MPD.spec	Wed Jun 27 00:41:25 2007
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Audio
+%define		pnam	MPD
+Summary:	Audio::MPD is a perl module for developing MPD
+Summary(pl.UTF-8):	Audio::MPD to modu³ perla do wtorzenia apikacji dla MPD
+Name:		perl-Audio-MPD
+Version:	0.18.1
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/PDIR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	b7bf749bea189eca28e268841211a49f
+URL:		http://search.cpan.org/dist/PDIR-PNAM/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Audio::MPD is a perl module for developing MPD (Music Player Daemon)
+clients and other scripts that control the MPD server.
+
+%description -l pl.UTF-8
+Audio::MPD to modu³ perla do tworzenia klientow i innych skryptow
+kontroluj±cych dla serwera MPD (Music Player Daemon)
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorlib}/Audio/
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/06/26 22:41:25  jackass
+- initial version
+
================================================================


More information about the pld-cvs-commit mailing list