[svn] r5835 - in trunk/rpms: . perl-Filesys-SmbClient
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Tue Sep 11 21:19:41 CEST 2007
Author: dries
Date: 2007-09-11 21:18:40 +0200 (Tue, 11 Sep 2007)
New Revision: 5835
Added:
trunk/rpms/perl-Filesys-SmbClient/
trunk/rpms/perl-Filesys-SmbClient/perl-Filesys-SmbClient.spec
Log:
add
Added: trunk/rpms/perl-Filesys-SmbClient/perl-Filesys-SmbClient.spec
===================================================================
--- trunk/rpms/perl-Filesys-SmbClient/perl-Filesys-SmbClient.spec (rev 0)
+++ trunk/rpms/perl-Filesys-SmbClient/perl-Filesys-SmbClient.spec 2007-09-11 19:18:40 UTC (rev 5835)
@@ -0,0 +1,53 @@
+# $Id$
+# Authority: dries
+# Upstream: Alain Barbet <alian$alianwebserver,com>
+
+%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Filesys-SmbClient
+
+Summary: Samba client
+Name: perl-Filesys-SmbClient
+Version: 3.1
+Release: 1
+License: GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Filesys-SmbClient/
+
+Source: http://search.cpan.org/CPAN/authors/id/A/AL/ALIAN/Filesys-SmbClient-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl, perl(ExtUtils::MakeMaker), samba-common
+
+%description
+Perl client to reach Samba resources with smbclient.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+echo | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install
+%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes README
+%doc %{_mandir}/man3/Filesys::SmbClient*
+%dir %{perl_vendorarch}/Filesys/
+%{perl_vendorarch}/Filesys/SmbClient.pm
+%dir %{perl_vendorarch}/auto/
+%dir %{perl_vendorarch}/auto/Filesys/
+%{perl_vendorarch}/auto/Filesys/SmbClient/
+
+%changelog
+* Tue Sep 11 2007 Dries Verachtert <dries at ulyssis.org> - 3.1-1
+- Initial package.
More information about the svn-commits
mailing list