]> git.pld-linux.org Git - packages/perl-Coro.git/blame - perl-Coro.spec
- unfinished
[packages/perl-Coro.git] / perl-Coro.spec
CommitLineData
a7b1870a
AM
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Coro
7%define pnam Coro
8Summary: Coro - do events the coro-way
9Name: perl-Coro
10Version: 1.9
11Release: 0.1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
16# Source0-md5: 63efa9fb31ded80f2c7d1fb900163824
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module enables you to create programs using the powerful Event
23model (and module), while retaining the linear style known from simple
24or threaded programs.
25
26%prep
27%setup -q -n %{pnam}-%{version}
28
29%build
30echo "y
31l
3216384" | %{__perl} Makefile.PL \
33 INSTALLDIRS=vendor
34%{__make} \
35 OPTIMIZE="%{rpmcflags}"
36
37%{?with_tests:%{__make} test}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc ANNOUNCE ChangeLog README TODO
51
52%{perl_vendorarch}/Coro.pm
53%{perl_vendorarch}/Coro
54%dir %{perl_vendorarch}/auto/Coro
55%{perl_vendorarch}/auto/Coro/*.bs
56%attr(755,root,root) %{perl_vendorarch}/auto/Coro/*.so
57%{_mandir}/man3/*
This page took 0.089989 seconds and 4 git commands to generate.