1.36
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-threads-shared?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
5
perl-threads-shared.changes
Normal file
5
perl-threads-shared.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 27 17:04:35 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial package (1.36)
|
||||||
|
|
73
perl-threads-shared.spec
Normal file
73
perl-threads-shared.spec
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
|
||||||
|
Name: perl-threads-shared
|
||||||
|
Version: 1.36
|
||||||
|
Release: 0
|
||||||
|
Summary: Perl extension for sharing data structures between threads
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/threads-shared-%{version}.tar.gz
|
||||||
|
URL: http://search.cpan.org/dist/threads-shared
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
|
BuildRequires: perl(threads) >= 1.73
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(ExtUtils::testlib)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
|
Requires: perl(warnings)
|
||||||
|
Requires: perl(Scalar::Util)
|
||||||
|
Requires: perl(XSLoader)
|
||||||
|
Requires: perl(threads) >= 1.73
|
||||||
|
Requires: perl(Config)
|
||||||
|
Requires: perl(ExtUtils::testlib)
|
||||||
|
Requires: perl(Carp)
|
||||||
|
Requires: perl(strict)
|
||||||
|
Requires: perl(Test::More)
|
||||||
|
Requires: perl(Test)
|
||||||
|
|
||||||
|
%description
|
||||||
|
By default, variables are private to each thread, and each newly created
|
||||||
|
thread gets a private copy of each existing variable. This module allows
|
||||||
|
you to share variables across different threads (and pseudo-forks on
|
||||||
|
Win32). It is used together with the threads module.
|
||||||
|
|
||||||
|
This module supports the sharing of the following data types only: scalars
|
||||||
|
and scalar refs, arrays and array refs, and hashes and hash refs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "threads-shared-%{version}"
|
||||||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changes README
|
||||||
|
%dir %{perl_vendorarch}/threads
|
||||||
|
%{perl_vendorarch}/threads/shared.pm
|
||||||
|
%dir %{perl_vendorarch}/auto/threads
|
||||||
|
%{perl_vendorarch}/auto/threads/shared
|
||||||
|
%doc %{perl_man3dir}/threads::shared.%{perl_man3ext}%{ext_man}
|
||||||
|
|
3
threads-shared-1.36.tar.gz
Normal file
3
threads-shared-1.36.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:260f4bb5037415fc85f21c2ab389ee8fd7f90a15763a704c6b17b108c59a833d
|
||||||
|
size 88163
|
Reference in New Issue
Block a user