Browse Source

* new packages

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5875 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 13 years ago
parent
commit
1f9ca5b6e3

+ 64 - 0
p/perl-Thread-Conveyor-Monitored/perl-Thread-Conveyor-Monitored-vl.spec

@@ -0,0 +1,64 @@
+%define real_name Thread-Conveyor-Monitored
+
+Summary:        Monitor a belt for specific content
+Name:           perl-Thread-Conveyor-Monitored
+Version:        0.14
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Thread-Conveyor/
+Source:         http://www.cpan.org/modules/by-module/Thread/Thread-Conveyor-Monitored-%{version}.tar.gz
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(load)
+BuildRequires:  perl(Thread::Conveyor) >= 0.15
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+The Thread::Conveyor::Monitored module implements a single worker
+thread that takes of boxes of values from a belt created with 
+Thread::Conveyor and which checks the boxes for specific content.
+
+It can be used for simply logging actions that are placed on the belt.
+Or only output warnings if a certain value is encountered in a box. Or
+create a safe sandbox for Perl modules that are not thread-safe yet.
+
+This module only functions on Perl versions 5.8.0 and later.
+And then only when threads are enabled with -Dusethreads.  It
+is of no use with any version of Perl before 5.8.0 or without
+threads enabled.
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%doc MANIFEST README CHANGELOG TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1
+- initial build for Vine Linux

+ 75 - 0
p/perl-Thread-Conveyor/perl-Thread-Conveyor-vl.spec

@@ -0,0 +1,75 @@
+%define real_name Thread-Conveyor
+
+Summary:        Transport of any data-structure between threads
+Name:           perl-Thread-Conveyor
+Version:        0.19
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Thread-Conveyor/
+Source:         http://www.cpan.org/modules/by-module/Thread/Thread-Conveyor-%{version}.tar.gz
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(load)
+BuildRequires:  perl(Thread::Tie) >= 0.09
+BuildRequires:  perl(Thread::Serialize)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+The Thread::Conveyor object is a thread-safe data structure that 
+mimics the behaviour of a conveyor belt. One or more worker threads
+can put boxes with frozen values and references on one end of the belt
+to be taken off by one or more worker threads on the other end of the
+belt to be thawed and returned.
+
+A box may consist of any combination of scalars and references to
+scalars, arrays (lists) and hashes. Freezing and thawing is currently
+done with the Thread::Serialize module, but that may change in the 
+future. Objects and code references are currently not allowed.
+
+By default, the maximum number of boxes on the belt is limited to 50.
+Putting of boxes on the belt is halted if the maximum number of boxes
+is exceeded. This throttling feature was added because it was found 
+that excessive memory usage could be caused by having the belt growing
+too large. Throttling can be disabled if so desired.
+
+This module only functions on Perl versions 5.8.0 and later.
+And then only when threads are enabled with -Dusethreads.  It
+is of no use with any version of Perl before 5.8.0 or without
+threads enabled.
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+%{expand: %%define optflags %{optflags} -fPIC}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%doc MANIFEST README CHANGELOG TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
+- initial build for Vine Linux

+ 64 - 0
p/perl-Thread-Pool/perl-Thread-Pool-vl.spec

@@ -0,0 +1,64 @@
+%define real_name Thread-Pool
+
+Summary:        Group of threads for performing similar jobs
+Name:           perl-Thread-Pool
+Version:        0.33
+Release:        1%{?_dist_release}
+License:        Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Thread-Pool/
+
+Source:         http://www.cpan.org/modules/by-module/Thread/Thread-Pool-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(load)
+BuildRequires:  perl(Thread::Conveyor) >= 0.15
+BuildRequires:  perl(Thread::Conveyor::Monitored) >= 0.11
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+The Thread::Pool allows you to set up a group of (worker) threads to
+execute a (large) number of similar jobs that need to be executed
+asynchronously. The routine that actually performs the job (the "do"
+routine), must be specified as a name or a reference to a (anonymous)
+subroutine.
+
+This module only functions on Perl versions 5.8.0 and later.
+And then only when threads are enabled with -Dusethreads.  It
+is of no use with any version of Perl before 5.8.0 or without
+threads enabled.
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc MANIFEST README CHANGELOG TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1
+- initial build for Vine Linux

+ 60 - 0
p/perl-Thread-Serialize/perl-Thread-Serialize-vl.spec

@@ -0,0 +1,60 @@
+%define real_name Thread-Serialize
+
+Summary:        serialize data-structures between threads
+Name:           perl-Thread-Serialize
+Version:        0.11
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Development/Libraries
+Source:         http://search.cpan.org/CPAN/authors/id/E/EL/ELIZABETH/Thread-Serialize-%{version}.tar.gz
+URL:            http://search.cpan.org/dist/Thread-Serialize/
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(load) >= 0.10
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Storable)
+Requires:       perl(load) >= 0.10
+
+%description
+The Thread::Serialize module is a library for centralizing the 
+routines used to serialize data-structures between threads.
+Because of this central location, other modules such as 
+Thread::Conveyor, Thread::Pool or Thread::Tie can benefit from 
+the same optimizations that may take place here in the future.
+
+This module only functions on Perl versions 5.8.0 and later.
+And then only when threads are enabled with -Dusethreads.  It
+is of no use with any version of Perl before 5.8.0 or without
+threads enabled.
+
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+%{expand: %%define optflags %{optflags} -fPIC}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc MANIFEST README CHANGELOG TODO
+%doc %{_mandir}/man3/Thread::Serialize.3pm*
+%dir %{perl_vendorlib}/Thread/
+%{perl_vendorlib}/Thread/Serialize.pm
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.11-1
+- initial build for Vine Linux

+ 77 - 0
p/perl-Thread-Tie/perl-Thread-Tie-vl.spec

@@ -0,0 +1,77 @@
+%define real_name Thread-Tie
+
+Summary:        Tie variables into a thread of their own
+Name:           perl-Thread-Tie
+Version:        0.13
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Applications/CPAN
+URL:            http://search.cpan.org/dist/Thread-Tie/
+
+Source:         http://search.cpan.org/CPAN/authors/id/E/EL/ELIZABETH/Thread-Tie-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch:      noarch
+
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Thread::Serialize) >= 0.07
+BuildRequires:  perl(load) >= 0.11
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Thread::Serialize) >= 0.07
+Requires:       perl(load) >= 0.11
+
+%description
+The standard shared variable scheme used by Perl, is based on tie-ing
+the variable to some very special dark magic. This dark magic ensures
+that shared variables, which are copied just as any other variable
+when a thread is started, update values in all of the threads where 
+they exist as soon as the value of a shared variable is changed.
+
+Needless to say, this could use some improvement.
+
+The Thread::Tie module is a proof-of-concept implementation of another
+approach to shared variables. Instead of having shared variables exist 
+in all the threads from which they are accessible, shared variable 
+exist as "normal", unshared variables in a seperate thread. Only a 
+tied object exists in each thread from which the shared variable is 
+accesible.
+
+Through the use of a client-server model, any thread can fetch and/or 
+update variables living in that thread. This client-server 
+functionality is hidden under the hood of tie().
+
+
+This module only functions on Perl versions 5.8.0 and later.
+And then only when threads are enabled with -Dusethreads.  It
+is of no use with any version of Perl before 5.8.0 or without
+threads enabled.
+
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+%{expand: %%define optflags %{optflags} -fPIC}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc MANIFEST README CHANGELOG TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.13-1
+- initial build for Vine Linux

+ 106 - 0
p/perl-UNIVERSAL-require/perl-UNIVERSAL-require-vl.spec

@@ -0,0 +1,106 @@
+Name:           perl-UNIVERSAL-require
+Version:        0.13
+Release:        1%{?_dist_release}
+Summary:        Require() modules from a variable
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/UNIVERSAL-require/
+Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%if "%{_dist_release}" > "vl6"
+# Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards)
+%global __provides_exclude ^perl\\(UNIVERSAL\\)
+%else
+# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
+%define __perl_provides %{provfilt}
+%endif
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n UNIVERSAL-require-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make
+
+%install
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc Changes
+%{perl_vendorlib}/UNIVERSAL/
+%{_mandir}/man3/UNIVERSAL::require.3pm*
+
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.13-1
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-7
+- Perl mass rebuild
+
+* Thu Apr 14 2011 Paul Howarth <paul@city-fan.org> - 0.13-6
+- Tweak provides filter to work with rpm >= 4.9 too
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
+- Rebuild to fix problems with vendorarch/lib (#661697)
+
+* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
+- rebuild against perl 5.10.1
+
+* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
+- update to new upstream release
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-4
+- Rebuild for perl 5.10 (again)
+
+* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
+- rebuild for new perl
+
+* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
+- license tag fix
+
+* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
+- bump to 0.11
+
+* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
+- get rid of false provide
+
+* Mon Sep  4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
+- initial package for Fedora

+ 59 - 0
p/perl-load/perl-load-vl.spec

@@ -0,0 +1,59 @@
+%define real_name load
+
+Summary: Control when subroutines will be loaded
+Name:           perl-%{real_name}
+Version:        0.20
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/load/
+Source:         http://www.cpan.org/authors/id/E/EL/ELIZABETH/load-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+The "load" pragma allows a module developer to give the application
+developer more options with regards to optimize for memory or CPU 
+usage. The "load" pragma gives more control on the moment when 
+subroutines are loaded and start taking up memory. This allows the 
+application developer to optimize for CPU usage (by loading all of a
+module at compile time and thus reducing the amount of CPU used during
+the execution of an application). Or allow the application developer 
+to optimize for memory usage, by loading subroutines only when they 
+are actually needed, thereby however increasing the amount of CPU 
+needed during execution.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{expand: %%define optflags %{optflags} -fPIC}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%doc MANIFEST README CHANGELOG TODO
+%doc %{_mandir}/man3/load.3pm*
+%{perl_vendorlib}/load.pm
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.20-1
+- initial build for Vine Linux