>From 0f899825643f4ca7cd1a93fe4a30ce3141e6a086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Wed, 25 Mar 2015 13:23:14 +0100 Subject: Import diff --git a/.gitignore b/.gitignore index e69de29..11d7ded 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Authen-SASL-SASLprep-1.01.tar.gz diff --git a/perl-Authen-SASL-SASLprep.spec b/perl-Authen-SASL-SASLprep.spec new file mode 100644 index 0000000..0964751 --- /dev/null +++ b/perl-Authen-SASL-SASLprep.spec @@ -0,0 +1,66 @@ +Name: perl-Authen-SASL-SASLprep +Version: 1.01 +Release: 1%{?dist} +Summary: Stringprep profile for user names and passwords (RFC 4013) +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Authen-SASL-SASLprep/ +Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/Authen-SASL-SASLprep-%{version}.tar.gz +BuildArch: noarch +BuildRequires: glibc-common +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(Unicode::Stringprep) >= 1 +BuildRequires: perl(Unicode::Stringprep::Mapping) +BuildRequires: perl(Unicode::Stringprep::Prohibited) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::NoWarnings) +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Unicode::Stringprep) >= 1 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Unicode::Stringprep\\)$ + +%description +This Perl module implements the SASLprep specification, which describes how to +prepare Unicode strings representing user names and passwords for comparison. +SASLprep is a profile of the stringprep algorithm. + +%prep +%setup -q -n Authen-SASL-SASLprep-%{version} +for F in README; do + iconv -f iso-8859-1 -t utf-8 < "$F" > "${F}.utf8" + touch -r "$F" "${F}.utf8" + mv "${F}.utf8" "$F" +done + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Mar 20 2015 Petr Pisar <ppisar@xxxxxxxxxx> 1.01-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..865c3b5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e1b800b47e360912c382e764c10a58c9 Authen-SASL-SASLprep-1.01.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Authen-SASL-SASLprep.git/commit/?h=f22&id=0f899825643f4ca7cd1a93fe4a30ce3141e6a086 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel