]> git.pld-linux.org Git - packages/perl-Event.git/blame - perl-Event.spec
- rebuild with perl 5.30.0
[packages/perl-Event.git] / perl-Event.spec
CommitLineData
acddc2d1 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
00a1cd99 5%include /usr/lib/rpm/macros.perl
44b0aee5 6%define pdir Event
7%define pnam Event
26075afb 8Summary: Event - a generic Perl event loop
60722498 9Summary(pl.UTF-8): Event - ogólna pętla zdarzeń dla Perla
00a1cd99 10Name: perl-Event
f04651a9 11Version: 1.27
68c6e63c 12Release: 2
26075afb 13# same as perl
14License: GPL v1+ or Artistic
00a1cd99 15Group: Development/Languages/Perl
4be82a11 16Source0: http://www.cpan.org/modules/by-module/Event/%{pnam}-%{version}.tar.gz
f04651a9 17# Source0-md5: efb3756fa9aed5337f1c5ec56eee8613
4be82a11 18URL: http://search.cpan.org/dist/Event/
f0e58841 19BuildRequires: perl-devel >= 1:5.8.0
4be82a11 20BuildRequires: rpm-perlprov >= 4.1-13
00a1cd99 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
313c167a
ŁK
24The Event extension aims to provide an simple and optimized event loop
25for a broad class of applications.
00a1cd99 26
fca21e41
JR
27%description -l pl.UTF-8
28Rozszerzenie Event ma na celu udostępnienie szerokiej klasie aplikacji
29prostej i zoptymalizowanej pętli zdarzeń.
00a1cd99 30
31%prep
32%setup -q -n %{pnam}-%{version}
33
34%build
6b51594b 35%{__perl} Makefile.PL \
61e6aa21 36 INSTALLDIRS=vendor
d242ba0c 37%{__make} \
a60211d4 38 CC="%{__cc}" \
d242ba0c 39 OPTIMIZE="%{rpmcflags}"
acddc2d1 40
41%{?with_tests:%{__make} test}
00a1cd99 42
43%install
44rm -rf $RPM_BUILD_ROOT
45
d242ba0c 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
00a1cd99 48
3931ac96
JB
49%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Event.pod
50
00a1cd99 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
0b8c23dc 56%doc ANNOUNCE README TODO
6b51594b 57%{perl_vendorarch}/Event.pm
58%{perl_vendorarch}/Event
59%dir %{perl_vendorarch}/auto/Event
3931ac96
JB
60%attr(755,root,root) %{perl_vendorarch}/auto/Event/Event.so
61%{_mandir}/man3/Event*.3pm*
This page took 0.066434 seconds and 4 git commands to generate.