forked from pool/perl-String-CRC32
Accepting request 296841 from devel:languages:perl:autoupdate
- updated to 1.5 see /usr/share/doc/packages/perl-String-CRC32/ OBS-URL: https://build.opensuse.org/request/show/296841 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-CRC32?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
544fa04a72
commit
99de1111a7
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14a9f6cede715b415c662344c2e7173fd3b667ad03f76b38fbfca9fe35698351
|
||||
size 6976
|
||||
3
String-CRC32-1.5.tar.gz
Normal file
3
String-CRC32-1.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5a812f1a7b08330fe49f64cd479970cbc2193285c8bb6951f4dd4291c4947054
|
||||
size 6990
|
||||
12
cpanspec.yml
Normal file
12
cpanspec.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
license: SUSE-Public-Domain
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 19:23:13 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.5
|
||||
see /usr/share/doc/packages/perl-String-CRC32/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:44 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-String-CRC32
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -16,49 +16,46 @@
|
||||
#
|
||||
|
||||
|
||||
%define modname String-CRC32
|
||||
|
||||
Name: perl-%{modname}
|
||||
Version: 1.4
|
||||
Release: 1
|
||||
Name: perl-String-CRC32
|
||||
Version: 1.5
|
||||
Release: 0
|
||||
#Upstream: CRC algorithm code taken from CRC-32 by Craig Bruce. The module stuff is inspired by a similar perl module called String::CRC by David Sharnoff & Matthew Dillon. Horst Fickenscher told me that it could be useful to supply an init value to the crc checking function and so I included this possibility. the public domain.
|
||||
%define cpan_name String-CRC32
|
||||
Summary: Perl interface for cyclic redundency check generation
|
||||
License: SUSE-Public-Domain
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-CRC32/
|
||||
Source: http://www.cpan.org/authors/id/S/SO/SOENKE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
License: Public Domain
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The CRC32 module calculates CRC sums of 32 bit lengths. It generates the same
|
||||
CRC values as ZMODEM, PKZIP, PICCHECK and many others.
|
||||
The *CRC32* module calculates CRC sums of 32 bit lenghts. It generates the
|
||||
same CRC values as ZMODEM, PKZIP, PICCHECK and many others.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Soenke J. Peters <peters__perl@opcenter.de>
|
||||
Despite its name, this module is able to compute the checksum of files as
|
||||
well as strings.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/String
|
||||
%{perl_vendorarch}/auto/String
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user