Sync from SUSE:SLFO:Main perl-Archive-Cpio revision 534816863e88802c2baa0fd53da59865

This commit is contained in:
Adrian Schröter 2024-05-03 17:49:41 +02:00
commit f5e469f458
6 changed files with 113 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
Archive-Cpio-0.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
In https://rt.cpan.org/Public/Bug/Display.html?id=43597
the autor clarified the license of this software,
though he did not add this information to the package itself yet:
On Wed Feb 25 04:08:03 2009, RSRCHBOY wrote:
> I'm looking to package Archive::Cpio for Fedora, but I can't seem to
> find the license for this package.
>
> Did you intend to license this package "under the same terms as Perl
> itself", that is, GPL v1+ and the Artistic License? (or maybe the LGPL
> v2+...? :))
yeah, same as Perl. I'll try to add a mention of it in next release. thanks

5
cpanspec.yml Normal file
View File

@ -0,0 +1,5 @@
---
# package does not have any licensing information
# neither on https://metacpan.org/pod/Archive::Cpio or the tarball itself
# so assume it is the standard perl terms
license: GPL-1.0+ or Artistic-1.0

View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Fri May 12 08:36:12 UTC 2017 - Bernhard M. Wiedemann <bwiedemann@suse.com>
- Add LICENSE information
-------------------------------------------------------------------
Tue May 9 04:27:43 UTC 2017 - Bernhard M. Wiedemann <bwiedemann@suse.com>
- Initial package of version 0.10

60
perl-Archive-Cpio.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package perl-Archive-Cpio
#
# Copyright (c) 2017 SUSE LINUX 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/
#
Name: perl-Archive-Cpio
Version: 0.10
Release: 0
%define cpan_name Archive-Cpio
Summary: Module for Manipulations of Cpio Archives
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Archive-Cpio/
Source0: http://www.cpan.org/authors/id/P/PI/PIXEL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Source2: LICENSE
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
Archive::Cpio provides a few functions to read and write cpio files.
%prep
%setup -q -n %{cpan_name}-%{version}
cp -a %{SOURCE2} .
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%license LICENSE
%changelog