]> git.pld-linux.org Git - packages/perl-Coro.git/blob - perl-Coro.spec
- pl, generic URL
[packages/perl-Coro.git] / perl-Coro.spec
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
8 Summary:        Coro - do events the coro-way
9 Summary(pl):    Coro - obs³uga zdarzeñ na sposób coro
10 Name:           perl-Coro
11 Version:        1.9
12 Release:        0.1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
17 # Source0-md5:  63efa9fb31ded80f2c7d1fb900163824
18 URL:            http://search.cpan.org/dist/Coro/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module enables you to create programs using the powerful Event
25 model (and module), while retaining the linear style known from simple
26 or threaded programs.
27
28 %description -l pl
29 Ten modu³ pozwala na tworzenie programów przy u¿yciu potê¿nego modelu
30 (i modu³u) Event z zachowaniem liniowego stylu znanego z prostych lub
31 w±tkowych programów.
32
33 %prep
34 %setup -q -n %{pnam}-%{version}
35
36 %build
37 echo "y
38 l
39 16384" | %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make} \
42         OPTIMIZE="%{rpmcflags}"
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc ANNOUNCE ChangeLog README TODO
58 %{perl_vendorarch}/Coro.pm
59 %{perl_vendorarch}/Coro
60 %dir %{perl_vendorarch}/auto/Coro
61 %{perl_vendorarch}/auto/Coro/*.bs
62 %attr(755,root,root) %{perl_vendorarch}/auto/Coro/*.so
63 %{_mandir}/man3/*
This page took 0.060805 seconds and 3 git commands to generate.