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