]> git.pld-linux.org Git - packages/perl-Acme-Damn.git/blame - perl-Acme-Damn.spec
- rebuild with perl 5.28.0
[packages/perl-Acme-Damn.git] / perl-Acme-Damn.spec
CommitLineData
b2bc345c 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
0c0162d6 4
b2bc345c 5%define pdir Acme
6%define pnam Damn
0c0162d6 7%include /usr/lib/rpm/macros.perl
cf717be5 8Summary: Acme::Damn - 'Unbless' Perl objects
122e9846 9Summary(pl.UTF-8): Acme::Damn - "odbłogosławianie" obiektów Perla
b2bc345c 10Name: perl-Acme-Damn
8532b8ce 11Version: 0.06
be13d509 12Release: 5
b2bc345c 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
e7f9bc54 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8532b8ce 17# Source0-md5: 49967bcae23d97ee8db5eaa1bcca7d2d
0c0162d6 18URL: http://search.cpan.org/dist/Acme-Damn/
567a14d1 19BuildRequires: perl-Test-Exception
b2bc345c 20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Acme::Damn provides a single routine, damn(), which takes a blessed
26reference (a Perl object), and unblesses it, to return the original
27reference. I can't think of any reason why you might want to do this,
cf717be5
JB
28but just because it's of no use doesn't mean that you shouldn't be
29able to do it.
30
e8e9c400
JR
31%description -l pl.UTF-8
32Acme::Damn dostarcza jedną funkcję: damn(), która przyjmuje
33pobłogosławioną referencję (obiekt perlowy) i odbłogosławia ją, aby
eb27d343
ER
34zwrócić oryginalną referencję. Nie znaleziono na razie powodu, żeby to
35robić, ale to, że takie działanie nie ma zastosowania, nie znaczy, że
36nie powinno dać się tego zrobić.
b2bc345c 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make} \
f1118873 45 CC="%{__cc}" \
b2bc345c 46 OPTIMIZE="%{rpmcflags}"
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
eb27d343 62%dir %{perl_vendorarch}/Acme
b2bc345c 63%{perl_vendorarch}/Acme/*.pm
eb27d343 64%dir %{perl_vendorarch}/auto/Acme
b2bc345c 65%dir %{perl_vendorarch}/auto/Acme/Damn
b2bc345c 66%attr(755,root,root) %{perl_vendorarch}/auto/Acme/Damn/*.so
67%{_mandir}/man3/*
This page took 0.104432 seconds and 4 git commands to generate.