8
0

Accepting request 264775 from home:smithfarm:branches:devel:languages:perl:CPAN-C

initial submission

OBS-URL: https://build.opensuse.org/request/show/264775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-MySQL?expand=0&rev=1
This commit is contained in:
2014-12-11 12:10:54 +00:00
committed by Git OBS Bridge
commit 4e0c30a200
5 changed files with 95 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
Crypt-MySQL-0.04.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93ebdfaaefcfe9ab683f0121c85f24475d8197f0bcec46018219e4111434dde3
size 3453

6
perl-Crypt-MySQL.changes Normal file
View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Thu Dec 11 12:08:03 UTC 2014 - ncutler@suse.com
- check license
- take maintainership

62
perl-Crypt-MySQL.spec Normal file
View File

@@ -0,0 +1,62 @@
#
# spec file for package perl-Crypt-MySQL
#
# Copyright (c) 2014 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/
#
Name: perl-Crypt-MySQL
Version: 0.04
Release: 0
%define cpan_name Crypt-MySQL
Summary: Emulate the MySQL PASSWORD() function
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Crypt-MySQL/
Source: http://www.cpan.org/authors/id/I/IK/IKEBE/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(Module::Build)
#BuildRequires: perl(Crypt::MySQL)
#BuildRequires: perl(DBD::mysql)
#BuildRequires: perl(DBI)
Requires: perl(Digest::SHA1)
%{perl_requires}
%description
Crypt::MySQL emulates MySQL PASSWORD() SQL function, without
libmysqlclient. You can compare encrypted passwords, without real MySQL
environment.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog