]> git.pld-linux.org Git - packages/perl-Audio-CD.git/commitdiff
- adapterized, added OPTIMIZE and CPAN-specific macros perl-Audio-CD-0_04-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Jul 2002 14:39:55 +0000 (14:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Audio-CD.spec -> 1.2

perl-Audio-CD.spec

index 2d29e0a27f2f0f25d86c7a7bf03cb0a868e93b77..ce4755b503de21c31e6393ede50eafadf9c57ad5 100644 (file)
@@ -1,4 +1,6 @@
 %include       /usr/lib/rpm/macros.perl
+%define        pdir    Audio
+%define        pnam    CD
 Summary:       Perl interface to libcdaudio
 Summary(pl):   Interfejs perla do libcdaudio
 Name:          perl-Audio-CD
@@ -6,7 +8,7 @@ Version:        0.04
 Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Audio/Audio-CD-0.04.tar.gz
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: libcdaudio-devel
 BuildRequires: perl-devel
 BuildRequires: rpm-perlprov >= 3.0.3-16
@@ -19,11 +21,11 @@ Perl interface to libcdaudio.
 Interfejs perla do libcdaudio.
 
 %prep
-%setup -q -n Audio-CD-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 perl Makefile.PL
-%{__make}
+%{__make} OPTIMIZE="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.059612 seconds and 4 git commands to generate.