]> git.pld-linux.org Git - packages/perl-Python-Bytecode.git/blame - perl-Python-Bytecode.spec
- removed non-effective autodeps bcond
[packages/perl-Python-Bytecode.git] / perl-Python-Bytecode.spec
CommitLineData
95d7f661
ER
1#
2# Conditional build:
95d7f661
ER
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Python
7%define pnam Bytecode
8Summary: Python::Bytecode - Disassemble and investigate Python bytecode
9Name: perl-Python-Bytecode
10Version: 2.7
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Python/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: e357351a3bf32c54ac1aa8910b4c53f7
17URL: http://search.cpan.org/dist/Python-Bytecode/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Python::Bytecode accepts a string or filehandle contain Python
25bytecode and puts it into a format you can manipulate.
26
27%prep
28%setup -q -n %{pdir}-%{pnam}-%{version}
29
30%build
31%{__perl} Makefile.PL \
32 INSTALLDIRS=vendor
33%{__make}
34
35%{?with_tests:%{__make} test}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40%{__make} pure_install \
41 DESTDIR=$RPM_BUILD_ROOT
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc Changes README
49%{perl_vendorlib}/Python/*.pm
50%{perl_vendorlib}/Python/Bytecode
51%{_mandir}/man3/*
This page took 0.069716 seconds and 4 git commands to generate.