]> git.pld-linux.org Git - packages/perl-POE-Component-CD-Rip.git/blob - perl-POE-Component-CD-Rip.spec
1d064a6c78d3c64e85967dc0cd41dd3007d82772
[packages/perl-POE-Component-CD-Rip.git] / perl-POE-Component-CD-Rip.spec
1 #
2 # Conditional build:
3 %bcond_without  tests # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    POE
7 %define         pnam    Component-CD-Rip
8 Summary:        POE::Component::CD::Rip - POE component for running cdparanoia, a CD ripper
9 Summary(pl.UTF-8):      POE::Component::CD::Rip - komponenty POE do ripowania CD przy pomocy cdparanoi
10 Name:           perl-POE-Component-CD-Rip
11 Version:        1.2
12 Release:        1
13 License:        MIT
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  c5aeb2fed00d7f02e9bfb3e7b8a64720
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-POE >= 0.22
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This POE component serves to rip tracks from a CD.  At present it is
27 merely a wrapper for the cdparanoia program which does the bulk of the
28 work.
29
30 %description -l pl.UTF-8
31 Ten komponent POE służy do ripowania ścieżek z płyt CD. Aktualnie jest
32 to jedynie interfejs do programu cdparanoia, który wykonuje całą
33 pracę.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make}
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes
57 %{perl_vendorlib}/%{pdir}/Component/CD/*
58 %{_mandir}/man3/*
This page took 0.190974 seconds and 2 git commands to generate.