]> git.pld-linux.org Git - packages/perl-Module-Info.git/blob - perl-Module-Info.spec
- merge from RA-branch: updated to 0.18
[packages/perl-Module-Info.git] / perl-Module-Info.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define pdir    Module
6 %define pnam    Info
7 Summary:        Module::Info perl module - information about Perl Modules
8 Summary(pl):    Modu³ perla Module::Info - informacje o modu³ach perla
9 Name:           perl-Module-Info
10 Version:        0.18
11 Release:        1
12 License:        ?
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl >= 5.6
16 %if %{?_without_tests:0}%{!?_without_tests:1}
17 #BuildRequires: perl-B-Utils
18 BuildRequires:  perl(File::Spec) >= 0.8
19 %endif
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Conflicts:      perl-B-Utils
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Module::Info gives you information about Perl modules without actually
27 loading the module. It actually isn't specific to modules and should
28 work on any perl code.
29
30 %description -l pl
31 Module::Info podaje informacje o modu³ach Perla bez wczytywania
32 modu³u. Dzia³anie to w³a¶ciwie nie jest ograniczone do modu³ów i
33 powinno dzia³aæ z dowolnym kodem w Perlu.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor 
41 %{__make}
42
43 %{!?_without_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes
56 %attr(755,root,root) %{_bindir}/*
57 %{perl_vendorlib}/B/*.pm
58 %{perl_vendorlib}/B/Module
59 %{perl_vendorlib}/Module/Info.pm
60 %{_mandir}/man[13]/*
This page took 0.114448 seconds and 3 git commands to generate.