Accepting request 34489 from devel:languages:perl
Copy from devel:languages:perl/perl-Readonly based on submit request 34489 from user coolo OBS-URL: https://build.opensuse.org/request/show/34489 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=1
This commit is contained in:
commit
57af1c9492
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
|
3
Readonly-1.03.tar.bz2
Normal file
3
Readonly-1.03.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ad18cae0d0dad6247b32dce179227e52ca9e6305f906251dddcc7c61b5bb4d9
|
||||
size 13320
|
24
perl-Readonly.changes
Normal file
24
perl-Readonly.changes
Normal file
@ -0,0 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 21 20:06:56 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- cleanup spec
|
||||
o fixed Header
|
||||
o sort tags
|
||||
o added perl-macros (perl_gen_filelist)
|
||||
o removed noarch
|
||||
o fixed deps
|
||||
o moved benchmark.pl to doc
|
||||
o moved changelog to changes file
|
||||
o bzipped SOURCE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 21 16:11:43 CEST 2009 - rschweikert@novell.com
|
||||
|
||||
- Add changes file
|
||||
- Cleanup %changelog to only have initial build entry
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 05:22:35 CET 2009 - rschweikert@novell.com
|
||||
|
||||
- Initial build.
|
||||
|
67
perl-Readonly.spec
Normal file
67
perl-Readonly.spec
Normal file
@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package perl-Readonly (Version 1.03)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Readonly
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Facility for creating read-only scalars, arrays, hashes
|
||||
Version: 1.03
|
||||
Release: 1
|
||||
License: Artistic License, GPL, see package
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Readonly/
|
||||
Source0: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl = %{perl_version}
|
||||
Provides: %{cpan_name}
|
||||
|
||||
%description
|
||||
Readonly.pm provides a facility for creating non-modifiable scalars,
|
||||
arrays, and hashes.
|
||||
|
||||
Authors:
|
||||
Eric J. Roode, roode@cpan.org
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/benchmark.pl
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README benchmark.pl
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user