[521] | 1 | %define real_name Authen-Smb |
---|
| 2 | |
---|
| 3 | Summary: Authenticate against an SMB server |
---|
| 4 | Name: perl-Authen-Smb |
---|
| 5 | Version: 0.91 |
---|
[8736] | 6 | Release: 3%{?_dist_release} |
---|
[521] | 7 | License: Artistic |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/Authen-Smb/ |
---|
| 10 | |
---|
| 11 | Packager: Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | |
---|
| 15 | Source: http://www.cpan.org/modules/by-module/Authen/Authen-Smb-%{version}.tar.gz |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | BuildRequires: perl >= 5.10.0 |
---|
[8736] | 19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[521] | 20 | |
---|
| 21 | %description |
---|
| 22 | Authen::Smb allows you to authenticate users against an NT server. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -n %{real_name}-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 29 | %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | %{__rm} -rf %{buildroot} |
---|
| 33 | %makeinstall |
---|
| 34 | %{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod |
---|
| 35 | %{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist |
---|
| 36 | |
---|
| 37 | %clean |
---|
| 38 | %{__rm} -rf %{buildroot} |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-, root, root, 0755) |
---|
| 42 | %doc Changes README |
---|
| 43 | %{_mandir}/man3/* |
---|
| 44 | %{perl_vendorarch}/Authen/Smb.pm |
---|
| 45 | %{perl_vendorarch}/auto/Authen/Smb |
---|
| 46 | |
---|
| 47 | %changelog |
---|
[8736] | 48 | * Fri Jul 4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.91-3 |
---|
| 49 | - rebuilt with perl-5.16.3. |
---|
| 50 | |
---|
[521] | 51 | * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-2 |
---|
| 52 | - changed Group to Development/Libraries |
---|
| 53 | |
---|
| 54 | * Mon May 04 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.91-1 |
---|
| 55 | - Initial package for VineSeed / Vine 5.x |
---|
| 56 | |
---|