]> git.pld-linux.org Git - packages/perl-Devel-Trace.git/blame - perl-Devel-Trace.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Devel-Trace.git] / perl-Devel-Trace.spec
CommitLineData
d47c1fb6 1#
bf39b957
MP
2# Conditional build:
3%bcond_without tests # do perform "make test"
d47c1fb6 4#
6fc1347e 5%define pdir Devel
6%define pnam Trace
d47c1fb6 7Summary: Devel::Trace - print out each line before it is executed (like `sh -x')
5552dedb 8Summary(pl.UTF-8): Devel::Trace - wypisywanie każdej linii przed wykonaniem (jak `sh -x')
bf39b957 9Name: perl-Devel-Trace
df1bfd0a 10Version: 0.11
11Release: 1
d47c1fb6 12License: unknown
bf39b957
MP
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
df1bfd0a 15# Source0-md5: 1138fe5d16b446dca3d55ccea37d8b96
d47c1fb6
JB
16URL: http://www.plover.com/~mjd/perl/Trace/
17BuildRequires: perl-devel >= 1:5.8.0
bf39b957 18BuildRequires: rpm-perlprov >= 4.1-13
d47c1fb6 19BuildArch: noarch
bf39b957
MP
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23If you run your program with `perl -d:Trace program', this module will
24print a message to standard error just before each line is executed.
25This is is something like the shell's `-x' option.
26
1dd53e3e
JR
27%description -l pl.UTF-8
28Jeśli uruchomi się program poprzez `perl -d:Trace program', ten moduł
29będzie wypisywał na standardowe wyjście diagnostyczne komunikat przed
30wykonaniem każdej linii. Jest to coś w rodzaju opcji `-x' powłoki.
d47c1fb6 31
bf39b957
MP
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
d47c1fb6
JB
34
35%{__perl} -pi -e 's@<STDIN>;@#<STDIN>;@' test.pl
bf39b957
MP
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40
41%{__make}
42
d47c1fb6 43%{?with_tests:%{__make} test}
bf39b957
MP
44
45%install
46rm -rf $RPM_BUILD_ROOT
d47c1fb6
JB
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
bf39b957
MP
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%{perl_vendorlib}/Devel/Trace.pm
57%{_mandir}/man3/*
This page took 0.089806 seconds and 4 git commands to generate.