source: projects/specs/trunk/p/perl-Thread-Conveyor-Monitored/perl-Thread-Conveyor-Monitored-vl.spec @ 9128

Revision 9128, 2.1 KB checked in by inagaki, 9 years ago (diff)

2014-12-01 Ryoichi INAGAKI <ryo1@…>

  • perl-Algorithm-Depndency, perl-Thread-{Conveyor, Conveyor-Monitored, Pool}: rebuilt
  • perl-BDB, perl-Coro, perl-URI, perl-SUPER: updated


Line 
1%define real_name Thread-Conveyor-Monitored
2
3Summary:        Monitor a belt for specific content
4Name:           perl-Thread-Conveyor-Monitored
5Version:        0.14
6Release:        2%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Thread-Conveyor/
10Source:         http://www.cpan.org/modules/by-module/Thread/Thread-Conveyor-Monitored-%{version}.tar.gz
11BuildArch:      noarch
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  perl
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(load)
17BuildRequires:  perl(Thread::Conveyor) >= 0.15
18Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22
23%description
24The Thread::Conveyor::Monitored module implements a single worker
25thread that takes of boxes of values from a belt created with
26Thread::Conveyor and which checks the boxes for specific content.
27
28It can be used for simply logging actions that are placed on the belt.
29Or only output warnings if a certain value is encountered in a box. Or
30create a safe sandbox for Perl modules that are not thread-safe yet.
31
32This module only functions on Perl versions 5.8.0 and later.
33And then only when threads are enabled with -Dusethreads.  It
34is of no use with any version of Perl before 5.8.0 or without
35threads enabled.
36%prep
37%setup -q -n %{real_name}-%{version}
38
39%build
40perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
41make %{?_smp_mflags}
42
43%install
44rm -rf %{buildroot}
45make pure_install DESTDIR=%{buildroot}
46find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
47find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
48%{_fixperms} %{buildroot}
49
50%check
51make test
52
53%clean
54rm -rf %{buildroot}
55
56%files
57%defattr(-, root, root, -)
58%doc MANIFEST README CHANGELOG TODO
59%{perl_vendorlib}/*
60%{_mandir}/man3/*
61
62%changelog
63* Mon Dec  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.14-2
64- rebuilt with perl 5.16.3
65
66* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1
67- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.