[521] | 1 | Name: perl-Crypt-PasswdMD5 |
---|
| 2 | Version: 1.3 |
---|
[9062] | 3 | Release: 7%{?_dist_release} |
---|
[521] | 4 | Summary: Provides interoperable MD5-based crypt() functions |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Crypt-PasswdMD5/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | BuildArch: noarch |
---|
[9062] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[521] | 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | BuildRequires: %{_bindir}/iconv |
---|
[9062] | 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[521] | 15 | |
---|
[3206] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | |
---|
[521] | 19 | %description |
---|
| 20 | This package provides MD5-based crypt() functions |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q -n Crypt-PasswdMD5-%{version} |
---|
| 24 | %{_bindir}/iconv -f iso-8859-1 -t utf-8 -o PasswdMD5.pm.new PasswdMD5.pm && mv PasswdMD5.pm.new PasswdMD5.pm |
---|
| 25 | %{__sed} -i -e 's/ISO-8859-1/UTF-8/' PasswdMD5.pm |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
| 33 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 34 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 35 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 36 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %clean |
---|
| 40 | rm -rf $RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | %check |
---|
| 43 | make test |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root,-) |
---|
| 47 | %doc README |
---|
| 48 | %{perl_vendorlib}/Crypt |
---|
| 49 | %{_mandir}/man3/* |
---|
| 50 | |
---|
| 51 | %changelog |
---|
[9062] | 52 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3-7 |
---|
| 53 | - rebuilt with perl 5.16.3 |
---|
| 54 | |
---|
[3206] | 55 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.3-6vl6 |
---|
| 56 | - build with perl 5.12.3 |
---|
| 57 | - add Vendor and Distribution tags |
---|
| 58 | |
---|
[521] | 59 | * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-5 |
---|
| 60 | - do not require perl(:MODULE_COMPAT_x.y.z) on Vine Linux 4.x |
---|
| 61 | |
---|
| 62 | * Sat May 31 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3-4 |
---|
| 63 | - initial build for Vine Linux |
---|
| 64 | |
---|
| 65 | * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-3.1 |
---|
| 66 | - Rebuild for new perl |
---|
| 67 | |
---|
| 68 | * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-2.1 |
---|
| 69 | - correct license tag |
---|
| 70 | - add BR: perl(ExtUtils::MakeMaker) |
---|
| 71 | |
---|
| 72 | * Tue Feb 27 2007 Mike McGrath <mmcgrath@redhat.com> - 1.3-2 |
---|
| 73 | - Basic fixes (BZ 230228) |
---|
| 74 | |
---|
| 75 | * Tue Feb 27 2007 Mike McGrath <mmcgrath@redhat.com> - 1.3-1 |
---|
| 76 | - Initial Packaging |
---|