]> git.pld-linux.org Git - packages/perl-Authen-Smb.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Fri, 1 Oct 1999 21:51:11 +0000 (21:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Authen-Smb.spec -> 1.1

perl-Authen-Smb.spec [new file with mode: 0644]

diff --git a/perl-Authen-Smb.spec b/perl-Authen-Smb.spec
new file mode 100644 (file)
index 0000000..be8a7cc
--- /dev/null
@@ -0,0 +1,58 @@
+Summary:       Authen-Smb perl module
+Summary(pl):   Modu³ perla Authen-Smb
+Name:          perl-Authen-Smb
+Version:       0.8
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Authen/Authen-Smb-%{version}.tar.gz
+BuildRequires: perl >= 5.005_03-10
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Authen-Smb is a module to authenticate against an SMB server.
+
+%description -l pl
+Authen-Smb jest modu³em umo¿liwiaj±cym dostêp do serwera SMB.
+
+%prep
+%setup -q -n Authen-Smb-%{version}
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Authen/Smb/*.so
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Authen/Smb
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        Changes README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {Changes,README}.gz
+
+%{perl_sitearch}/Authen/Smb.pm
+
+%dir %{perl_sitearch}/auto/Authen/Smb
+%{perl_sitearch}/auto/Authen/Smb/.packlist
+%{perl_sitearch}/auto/Authen/Smb/Smb.bs
+%{perl_sitearch}/auto/Authen/Smb/autosplit.ix
+%attr(755,root,root) %{perl_sitearch}/auto/Authen/Smb/Smb.so
+
+%{_mandir}/man3/*
This page took 0.035612 seconds and 4 git commands to generate.