]> git.pld-linux.org Git - packages/perl-Audio-Play-MPG123.git/blame - perl-Audio-Play-MPG123.spec
use generic url
[packages/perl-Audio-Play-MPG123.git] / perl-Audio-Play-MPG123.spec
CommitLineData
32e4b0e8
JB
1#
2# TODO: add subpackage with included version of mpg123, or add patches to
3# mpg123 package (this module works better with modified version)
4#
5# Conditional build:
6ba04971 6%bcond_without tests # do not perform "make test"
50e45f38 7
78b5bd07 8%define pdir Audio
9%define pnam Play-MPG123
50e45f38 10%include /usr/lib/rpm/macros.perl
32e4b0e8 11Summary: Audio::Play::MPG123 Perl module - a frontend to mpg123
63061933 12Summary(pl.UTF-8): Moduł Perla Audio::Play::MPG123 - frontend do mpg123
32e4b0e8 13Name: perl-Audio-Play-MPG123
18785c6c 14Version: 0.63
51f4e2c2 15Release: 2
c7ab3e2a 16License: GPL v1 or Artistic
32e4b0e8 17Group: Development/Languages/Perl
e31997c3 18Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18785c6c 19# Source0-md5: bd5134e4a7b5a537a921e464dc264e5f
50e45f38 20URL: http://search.cpan.org/dist/Audio-Play-MPG123/
195d12ed 21BuildRequires: perl-devel >= 1:5.8.0
0343844e 22BuildRequires: rpm-perlprov >= 4.1-13
32e4b0e8 23Requires: mpg123 >= 0.59r
50e45f38 24BuildArch: noarch
32e4b0e8
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This is a frontend to the mpg123 player. It works by starting an
29external mpg123 process with the `-R' option and feeding commands to
30it.
31
acc90625 32%description -l pl.UTF-8
32e4b0e8 33To jest frontend do odtwarzacza mpg123. Funkcjonuje poprzez
acc90625 34uruchomienie zewnętrznego procesu mpg123 z opcją -R i karmienie go
32e4b0e8
JB
35poleceniami.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
0343844e 41%{__perl} Makefile.PL \
cc167bd4 42 INSTALLDIRS=vendor
32e4b0e8
JB
43%{__make}
44
6ba04971 45%{?with_tests:%{__make} test}
32e4b0e8
JB
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc COPYING Changes README
59%attr(755,root,root) %{_bindir}/mpg123sh
0343844e 60%dir %{perl_vendorlib}/Audio/Play
61%{perl_vendorlib}/Audio/Play/MPG123.pm
32e4b0e8 62%{_mandir}/man3/*
This page took 0.092698 seconds and 4 git commands to generate.