]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.spec
- release 2 (in rawhide is 1),
[packages/samba.git] / samba.spec
index 173d42a79d6d452c18611ee1eab3ef2e31423ddf..34fd8f5b9a2e31c78a71f609302959251deca449 100644 (file)
@@ -1,16 +1,16 @@
 Summary:       SMB client and server
 Summary(pl):   Klient i serwer SMB
-Summary(cs):   Klient a server SMB
-Summary(da):   SMB klient og server
-Summary(de):   SMB-Client und -Server
-Summary(fi):   SMB-asiakasohjelma ja palvelin
-Summary(fr):   Client et serveur SMB
-Summary(it):   Client e server SMB
-Summary(tr):   SMB istemci ve sunucusu
+Summary(cs):   Klient a server SMB
+Summary(da):   SMB klient og server
+Summary(de):   SMB-Client und -Server
+Summary(fi):   SMB-asiakasohjelma ja palvelin
+Summary(fr):   Client et serveur SMB
+Summary(it):   Client e server SMB
+Summary(tr):   SMB istemci ve sunucusu
 Name:          samba
 Version:       2.0.6
-Release:       1
-Copyright:     GPL
+Release:       2
+License:       GPL
 Group:         Networking/Daemons
 Group(pl):     Sieciowe/Serwery
 Source0:       ftp://samba.anu.edu.au/pub/samba/%{name}-%{version}.tar.gz
@@ -21,85 +21,79 @@ Patch1:             samba-config.patch
 Patch2:                samba-cap.patch
 Prereq:                /sbin/chkconfig
 Requires:      pam >= 0.66
-BuildRequires: ncurses-devel
+BuildRequires: ncurses-devel >= 5.0
 BuildRequires: readline-devel
 BuildRequires: pam-devel
 BuildRoot:     /tmp/%{name}-%{version}-root
 
-%description
-Samba provides an SMB server which can be used to provide
-network services to SMB (sometimes called "Lan Manager")
-clients, including various versions of MS Windows, OS/2,
-and other Linux machines. Samba also provides some SMB
-clients, which complement the built-in SMB filesystem
-in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
-and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
-protocol.
-
-This release is known as the "Locking Update" and has full
-support for Opportunistic File Locking. In addition this update
-includes native support for Microsoft encrypted passwords,
-improved browse list and WINS database management.
-
-Please refer to the WHATSNEW.txt document for fixup information.
-This binary release includes encrypted password support.
-Please read the smb.conf file and ENCRYPTION.txt in the
-docs directory for implementation details.
-
-%description -l pl
-Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
-us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów takich
-jak MS Windows, OS/2 a tak¿e maszyn linuxowych.  W pakiecie znajduje siê
-równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u NetBIOS po TCP/IP
-(NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma pe³ne wsparcie dla
-blokowania plików, a tak¿e wsparcie dla kodowania hase³ w standardzie
-MS i zarzadzania baz± WINS.
+%define                _sysconfdir     /etc/samba
+%define                _libdir         /etc/samba
 
-UWAGA: w przeciwieñstwie do wersji 2.0.2 aktualnie samba pozbawiona jest
-mozliwo¶ci kontrolowania domeny NT.
+%description
+Samba provides an SMB server which can be used to provide network services
+to SMB (sometimes called "Lan Manager") clients, including various versions
+of MS Windows, OS/2, and other Linux machines. Samba also provides some SMB
+clients, which complement the built-in SMB filesystem in Linux. Samba uses
+NetBIOS over TCP/IP (NetBT) protocols and does NOT need NetBEUI (Microsoft
+Raw NetBIOS frame) protocol.
+
+This release is known as the "Locking Update" and has full support for
+Opportunistic File Locking. In addition this update includes native support
+for Microsoft encrypted passwords, improved browse list and WINS database
+management.
+
+Please refer to the WHATSNEW.txt document for fixup information. This binary
+release includes encrypted password support. Please read the smb.conf file
+and ENCRYPTION.txt in the docs directory for implementation details.
 
 %description -l cs
-Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
-slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
-klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
-Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
-souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
-TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
-NetBIOS od spoleènosti Microsoft.
+Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových slu¾eb
+klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì klientù rùzných
+verzí MS Windows, OS/2 a dal¹ích linuxových strojù. Samba té¾ poskytuje
+nìkteré klienty SMB, kteøí komplementují vestavìný souborový systém SMB v
+Linuxu. Samba pou¾ívá protokoly NetBIOS pøes TCP/IP (NetBT) a NEpotøebuje
+protokol NetBEUI (neformátovaný rámec NetBIOS od spoleènosti Microsoft.
 
 %description -l da
-Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
-services til SMB (også kaldet "Lan Manager") klienter, incl.
-forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
-Samba tilbyder også SMB klienter, som udbygger det indbyggede
-SMB filsystem i Linux.
-Samba benytter NetBIOS over TCP/IP (NetBT) protocolen og kræver ikke
-NetBEUI (Microsoft Raw NetBIOS frame) protokollen.
+Samba tilbyder en SMB server som kan bruges til at tilbyde netværk services
+til SMB (også kaldet "Lan Manager") klienter, incl. forskellige versioner af
+MS Windows, OS/2, og andre Linux maskiner. Samba tilbyder også SMB klienter,
+som udbygger det indbyggede SMB filsystem i Linux. Samba benytter NetBIOS
+over TCP/IP (NetBT) protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS
+frame) protokollen.
 
 %description -l de
 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
 verschiedenen Versionen von MS Windows-, OS/2- und anderen Linux-Rechnern.
 Samba enthält außerdem einige SMB-Clients, die das in Linux integrierte
-SMB-Dateisystem ergänzen. Samba benutzt NetBIOS-über-TCP/IP (NetBT)-Protokolle
-und benötigt KEIN NetBEUI (Microsoft Raw NetBIOS frame)-Protokoll.
+SMB-Dateisystem ergänzen. Samba benutzt NetBIOS-über-TCP/IP
+(NetBT)-Protokolle und benötigt KEIN NetBEUI (Microsoft Raw NetBIOS
+frame)-Protokoll.
 
 %description -l fi
 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
-verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
-Manager" protokollaksi ja asiakasohjelmat toimivat dosissa, Windowseissa,
-OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on myös joitakin
-SMB-asiakasohjelmia, jotka täydentävät Linuxin kernelissä olevaa
-SMB-tiedostojärjestelmän tukea.
+verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan Manager"
+protokollaksi ja asiakasohjelmat toimivat dosissa, Windowseissa, OS/2:ssa ja
+toisissa Linux-koneissa. Samban mukana on myös joitakin SMB-asiakasohjelmia,
+jotka täydentävät Linuxin kernelissä olevaa SMB-tiedostojärjestelmän tukea.
 Samba vaatii NetBIOS over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty
 käyttämään NetBEUI-protokollaa.
 
 %description -l it
-Samba fornisce un server SMB che puo` essere usato per
-fornire servizi di rete ai client SMB, incluse le versioni
-MS Windows, OS/2 e per altre macchine Linux. Samba fornisce
-anche i client SMB. Samba usa NetBIOS sopra TCP/IP e non ha
-bisogno del protocollo NetBEUI.
+Samba fornisce un server SMB che puo` essere usato per fornire servizi di
+rete ai client SMB, incluse le versioni MS Windows, OS/2 e per altre
+macchine Linux. Samba fornisce anche i client SMB. Samba usa NetBIOS sopra
+TCP/IP e non ha bisogno del protocollo NetBEUI.
+
+%description -l pl
+Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia us³ug
+sieciowych (potocznie zwanych "Lan Manager"), dla klientów takich jak MS
+Windows, OS/2 a tak¿e maszyn linuxowych.  W pakiecie znajduje siê równie¿
+oprogramowanie klienckie. Samba u¿ywa protoko³u NetBIOS po TCP/IP (NetBT) i
+nie wymaga protoko³u NetBEUI. Ta wersja ma pe³ne wsparcie dla blokowania
+plików, a tak¿e wsparcie dla kodowania hase³ w standardzie MS i zarzadzania
+baz± WINS.
 
 %package -n swat
 Summary:       Samba Web Administration Tool
@@ -109,12 +103,12 @@ Group(pl):        Sieciowe/Administracja
 Requires:      %{name}
 
 %description -n swat
-swat allows a Samba administrator to configure the complex smb.conf
-file via a Web browser. In addition, a swat configuration page has
-help links to all the configurable options in the smb.conf file
-allowing an administrator to easily look up the effects of any change.
+swat allows a Samba administrator to configure the complex smb.conf file via
+a Web browser. In addition, a swat configuration page has help links to all
+the configurable options in the smb.conf file allowing an administrator to
+easily look up the effects of any change.
 
-swat is run from inetd
+swat is run from inet server.
 
 %description -n swat -l pl
 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy przegl±darki
@@ -131,9 +125,7 @@ cd source
 autoconf
 LDFLAGS="-s" export LDFLAGS \
 %configure \
-       --sysconfdir=/etc/samba \
        --with-privatedir=/etc/samba \
-       --libdir=/etc/samba \
        --localstatedir=/var/log/samba \
        --with-lockdir=/var/lock/samba \
        --with-swatdir=%{_datadir}/swat \
@@ -154,7 +146,7 @@ install -d $RPM_BUILD_ROOT/etc/samba/codepages/src \
        $RPM_BUILD_ROOT/etc/rc.d/init.d \
        $RPM_BUILD_ROOT/home/samba \
        $RPM_BUILD_ROOT/lib/security \
-       $RPM_BUILD_ROOT/usr/{bin,man/man{1,5,7,8},sbin} \
+       $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5,7,8},%{_sbindir}} \
        $RPM_BUILD_ROOT/var/{lock,log,spool}/samba \
        $RPM_BUILD_ROOT%{_datadir}/swat/{include,images,help}
 
@@ -199,14 +191,13 @@ $RPM_BUILD_ROOT%{_bindir}/make_smbcodepage c $i \
 $RPM_BUILD_ROOT/etc/samba/codepages/src/codepage_def.$i \
 $RPM_BUILD_ROOT/etc/samba/codepages/codepage.$i; done
 
-gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man{1,5,7,8}/* \
+gzip -9nf \b $RPM_BUILD_ROOT%{_mandir}/man{1,5,7,8}/* \
        README Manifest WHATSNEW.txt Roadmap docs/*.reg swat/README
 
 %post
 /sbin/chkconfig --add smb
 if test -r /var/run/smb.pid; then
-       /etc/rc.d/init.d/smb stop >&2
-       /etc/rc.d/init.d/smb start >&2
+       /etc/rc.d/init.d/smb restart >&2
 else
        echo "Run \"/etc/rc.d/init.d/smb start\" to start samba daemons."
 fi
@@ -242,12 +233,12 @@ rm -rf $RPM_BUILD_ROOT
 #%attr(755,root,root) /lib/security/*.so
 
 %{_mandir}/man[157]/*
-%{_mandir}/man8/nmbd.8.gz
-%{_mandir}/man8/smbd.8.gz
-%{_mandir}/man8/smbmnt.8.gz
-%{_mandir}/man8/smbmount.8.gz
-%{_mandir}/man8/smbpasswd.8.gz
-%{_mandir}/man8/smbumount.8.gz
+%{_mandir}/man8/nmbd.8*
+%{_mandir}/man8/smbd.8*
+%{_mandir}/man8/smbmnt.8*
+%{_mandir}/man8/smbmount.8*
+%{_mandir}/man8/smbpasswd.8*
+%{_mandir}/man8/smbumount.8*
 
 %dir /home/samba
 /etc/samba/codepages
@@ -260,7 +251,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n swat
 %defattr(644,root,root,755)
-%doc swat/README.gz
+%doc swat/README*
 %attr(755,root,root) %{_sbindir}/swat
 %{_datadir}/swat
-%{_mandir}/man8/swat.8.gz
+%{_mandir}/man8/swat.8*
This page took 0.048239 seconds and 4 git commands to generate.