]> git.pld-linux.org Git - packages/perl-Sub-Identify.git/blame - perl-Sub-Identify.spec
- macros for perl autodeps
[packages/perl-Sub-Identify.git] / perl-Sub-Identify.spec
CommitLineData
6cf63581
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
6cf63581
JB
5%define pdir Sub
6%define pnam Identify
7Summary: Sub::Identify - Retrieve names of code references
8Summary(pl.UTF-8): Sub::Identify - odtwarzanie nazw z referencji do kodu
9Name: perl-Sub-Identify
7bcc9270 10Version: 0.14
78a1a6e0 11Release: 2
6cf63581
JB
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Sub/%{pdir}-%{pnam}-%{version}.tar.gz
7bcc9270 16# Source0-md5: 014f19e72698b6a2cbcb54adc9691825
f91b8628 17URL: https://metacpan.org/release/Sub-Identify
6cf63581
JB
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
f91b8628 20BuildRequires: rpmbuild(macros) >= 1.745
6cf63581
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Sub::Identify allows you to retrieve the real name of code references.
25For this, it uses Perl's introspection mechanism, provided by the B
26module.
27
29972486 28%description -l pl.UTF-8
6cf63581
JB
29Sub::Identify umożliwia odtworzenie prawdziwej nazwy z referencji do
30kodu. W tym celu wykorzystuje mechanizm obserwacyjny Perla
31udostępniany przez moduł B.
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
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc Changes
32a375a4 55%{perl_vendorarch}/Sub/Identify.pm
624a7d3a 56%dir %{perl_vendorarch}/auto/Sub/Identify
6e4a8044
JB
57%attr(755,root,root) %{perl_vendorarch}/auto/Sub/Identify/Identify.so
58%{_mandir}/man3/Sub::Identify.3pm*
This page took 0.082429 seconds and 4 git commands to generate.