]> git.pld-linux.org Git - packages/perl-Carp-Clan.git/blob - perl-Carp-Clan.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Carp-Clan.git] / perl-Carp-Clan.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Carp
6 %define         pnam    Clan
7 Summary:        Carp::Clan - report errors from perspective of caller of a "clan" of modules
8 Summary(pl.UTF-8):      Carp::Clan - zgłaszanie błędów z perspektywy wywołującego "klan" modułów
9 Name:           perl-Carp-Clan
10 Version:        6.08
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Carp/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  34fe04102374516ef7a105375b95ffde
17 URL:            http://search.cpan.org/dist/Carp-Clan/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 %{?with_tests:BuildRequires:    perl-Test-Simple >= 0.40}
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Conflicts:      perl-Bit-Vector < 6.4
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This module reports errors from the perspective of the caller of a
27 "clan" of modules, similar to "Carp.pm" itself.
28
29 %description -l pl.UTF-8
30 Moduł zgłasza błędy z perspektywy wykonywującego moduł, podobnie jak
31 Carp.pm.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %{perl_vendorlib}/Carp/Clan.pm
56 %{_mandir}/man3/Carp::Clan.3pm*
This page took 0.0736 seconds and 4 git commands to generate.