]> git.pld-linux.org Git - packages/perl-forks.git/blob - perl-forks.spec
perl 5.36.0 rebuild
[packages/perl-forks.git] / perl-forks.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4 #
5 %define         pdir    forks
6 %define         pnam    forks
7 Summary(pl.UTF-8):      drop-in replacement for Perl threads using fork()
8 Name:           perl-forks
9 Version:        0.34
10 Release:        13
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://search.cpan.org/CPAN/authors/id/R/RY/RYBSKEJ/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  26e5b395cb24975f9b99414fe1d748f1
16 URL:            http://search.cpan.org/dist/forks/
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The "forks" pragma allows a developer to use threads without having to have a threaded perl.
22
23 %prep
24 %setup -q -n %{pnam}-%{version}
25
26 %build
27 %{__perl} Makefile.PL \
28         INSTALLDIRS=vendor
29 %{__make}
30
31 %{?with_tests:%{__make} test}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/forks
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %{perl_vendorarch}/forks.pm
48 %dir %{perl_vendorarch}/auto/forks
49 %attr(755,root,root) %{perl_vendorarch}/auto/forks/*.so
50 %{perl_vendorarch}/forks
51 %{perl_vendorarch}/threads
52 %{_mandir}/man3/*
This page took 0.066637 seconds and 4 git commands to generate.