]> git.pld-linux.org Git - packages/perl-Filesys-SmbClient.git/blame - perl-Filesys-SmbClient.spec
- rebuild with perl 5.28.0
[packages/perl-Filesys-SmbClient.git] / perl-Filesys-SmbClient.spec
CommitLineData
cc34a7f0
PG
1# TODO:
2# - make cgi scripts from doc as separate packages
bdf65db4 3#
4# Conditional build:
a16ad902 5%bcond_without tests # do not perform "make test"
792b48ed 6#
cc34a7f0 7%include /usr/lib/rpm/macros.perl
372c8952 8%define pdir Filesys
9%define pnam SmbClient
b21f5a65 10Summary: Filesys::SmbClient - interface for access Samba filesystem
6dac4295 11Summary(pl.UTF-8): Filesys::SmbClient - interfejs dostępu do systemu plików Samby
cc34a7f0 12Name: perl-Filesys-SmbClient
7c349288 13Version: 3.2
6ff1ad76 14Release: 7
a16ad902 15License: GPL or Artistic
cc34a7f0 16Group: Development/Languages/Perl
9a82ecfb 17Source0: http://www.cpan.org/modules/by-module/Filesys/%{pdir}-%{pnam}-%{version}.tar.gz
7c349288 18# Source0-md5: 8a4205fe748aac7f43fb2a0e8ef502b2
9a82ecfb 19URL: http://search.cpan.org/dist/Filesys-SmbClient/
7c349288
JR
20Patch0: Makefile.patch
21Patch1: samba4.patch
39029bba 22BuildRequires: autoconf
cc34a7f0 23BuildRequires: libsmbclient-devel
b71a1391 24BuildRequires: perl-devel >= 1:5.8.0
a55363ca 25BuildRequires: rpm-perlprov >= 4.1-13
cc34a7f0
PG
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
a7eaa69f 28%define _noautocompressdoc *.cgi
29
cc34a7f0 30%description
b21f5a65 31Filesys::SmbClient Perl module provides interface to access routine
32defined in libsmbclient.so and, using this routine, Samba filesystem.
cc34a7f0 33
41a3b9f6
JR
34%description -l pl.UTF-8
35Moduł Perla Filesys::SmbClient stanowi interfejs dostępu do procedury
36zdefiniowanej w libsmbclient.so i, za pośrednictwem tej procedury, do
37systemu plików Samby.
cc34a7f0
PG
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
7c349288
JR
41%patch0 -p1
42%patch1 -p1
cc34a7f0
PG
43
44%build
39029bba 45%{__autoconf}
cc34a7f0 46%configure
383cda35 47%{__perl} Makefile.PL \
fb637294 48 INSTALLDIRS=vendor
383cda35 49
7802cd29 50%{__make} \
74c80683 51 CC="%{__cc}" \
383cda35 52 CFLAGS="%{rpmcflags}"
cc34a7f0 53
a16ad902 54%{?with_tests:%{__make} test}
bdf65db4 55
cc34a7f0
PG
56%install
57rm -rf $RPM_BUILD_ROOT
58
7802cd29 59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
cc34a7f0
PG
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc Changes smb2www-2.cgi smb2www.css
a55363ca 68%dir %{perl_vendorarch}/Filesys
69%{perl_vendorarch}/Filesys/*.pm
70%dir %{perl_vendorarch}/auto/Filesys
71%dir %{perl_vendorarch}/auto/Filesys/SmbClient
792b48ed 72# empty autosplit.ix
a55363ca 73#%%{perl_vendorarch}/auto/Filesys/SmbClient/autosplit.ix
a55363ca 74%attr(755,root,root) %{perl_vendorarch}/auto/Filesys/SmbClient/SmbClient.so
cc34a7f0 75# this is NOT duplicate:
a55363ca 76#%dir %{perl_vendorarch}/auto/Filesys/Smbclient
77#%dir %{perl_vendorarch}/auto/Filesys/Smbclient/libauthSamba
78#%%{perl_vendorarch}/auto/Filesys/Smbclient/libauthSamba/libauthSamba.a
cc34a7f0 79%{_mandir}/man3/*
This page took 0.107788 seconds and 4 git commands to generate.