]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.spec
- missing pl summary, BuildRequires: autoconf
[packages/samba.git] / samba.spec
index d8037efc5a0fef8275556da120a272e96515f4b4..384cff3765d38530358110361c780b69404eb039 100644 (file)
-Summary:       SMB client and server
-Summary(pl):   Klient i serwer SMB
+Summary:       SMB server
+Summary(pl):   Serwer SMB
+Summary(cs):   Server SMB
+Summary(da):   SMB server
+Summary(de):   SMB-Server
+Summary(fi):   SMB-palvelin
+Summary(fr):   Serveur SMB
+Summary(it):   Server SMB
+Summary(pl):   Serwer SMB
+Summary(tr):   SMB sunucusu
 Name:          samba
-Version:       2.0.3
-Release:       2
-Copyright:     GPL
+Version:       2.2.1a
+Release:       4
+License:       GPL
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
-Source0:       ftp://samba.anu.edu.au/pub/samba/%{name}-%{version}.tar.gz
-Source1:       %{name}.PLD.tar.bz2
-Patch0:                %{name}-glibc2.1.patch
+URL:           http://www.samba.org/
+Source0:       ftp://ftp.samba.org/pub/samba/%{name}-%{version}.tar.gz
+Source1:       smb.init
+Source2:       %{name}.pamd
+Source3:       swat.inetd
+Source4:       %{name}.sysconfig
+Source5:       %{name}.logrotate
+Source6:       smb.conf
 Patch1:                %{name}-config.patch
 Patch2:                %{name}-cap.patch
-Prereq:                /sbin/chkconfig 
-Prereq:                fileutils
-Requires:      pam >= 0.66 
-#Requires:     krb5-lib >= 1.0.5
-BuildRoot:     /tmp/%{name}-%{version}-root
+Patch3:                %{name}-DESTDIR.patch
+Patch6:                %{name}-manpages_PLD_fixes.patch
+Patch7:                %{name}-smbprint.patch
+Patch8:                %{name}-autoconf.patch
+Patch9:                %{name}-smbadduser.patch
+Patch10:       %{name}-nocups.patch
+Patch11:       %{name}-nmbd_socket.patch
+Patch12:       %{name}-debug-0-suxorz.patch
+Prereq:                /sbin/chkconfig
+Requires:      pam >= 0.66
+Requires:      logrotate
+Requires:      samba-common = %{version} 
+BuildRequires: autoconf
+BuildRequires: ncurses-devel >= 5.2
+BuildRequires: readline-devel >= 4.2
+BuildRequires: pam-devel > 0.66
+BuildRequires: openssl-devel >= 0.9.6a
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/samba
+%define                _libdir         %{_sysconfdir}
+%define                _localstatedir  %{_var}/log/samba
 
 %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.
+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.
+
+%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.
+
+%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.
+
+%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. 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.
 
 %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.
-
-UWAGA: w przeciwieñstwie do wersji 2.0.2 aktualnie samba pozbawiona jest
-mozliwo¶ci kontrolowania domeny NT.
+us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
+takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. 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
 Summary(pl):   Narzêdzie administracyjne serwisu Samba
 Group:         Networking/Admin
+Group(de):     Netzwerkwesen/Administration
 Group(pl):     Sieciowe/Administacyjne
 Requires:      %{name}
+Requires:      rc-inetd >= 0.8.2
+Requires:      inetdaemon
 
 %description -n swat
 swat allows a Samba administrator to configure the complex smb.conf
@@ -62,253 +134,237 @@ 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
-internetowej.
+swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
+przegl±darki WWW.
+
+%package client
+Summary:       Samba client programs
+Summary(pl):   Klienci serwera Samba
+Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
+Group(pl):     Aplikacje/Sieciowe
+Requires:      samba-common = %{version}
+Obsoletes:     smbfs
+
+%description client
+Samba-client provides some SMB clients, which complement the build-in
+SMB filesystem in Linux. These allow accessing of SMB shares and
+printing to SMB printers.
+
+%description client -l pl
+Samba-client dostarcza pewne programy które uzupe³niaj± system plików
+SMB zawarty w j±drze. Pozwala na wspó³dzielenie i drukowanie w sieci
+SMB.
+
+%package common
+Summary:       Files used by both Samba servers and clients
+Summary(pl):   Pliki u¿ywane przez serwer i klientów Samba
+Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
+Group(pl):     Sieciowe/Serwery
+
+%description common
+Samba-common provides files necessary for both the server and client
+packages of Samba.
+
+%description common -l pl
+Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
+klientów Samba.
 
 %prep
-%setup -q -a1
-%patch0 -p1
+%setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+#update required
+#%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
 
 %build
 cd source
 autoconf
-LDFLAGS="-s" export LDFLAGS \
-    %configure \
-       --prefix=/usr \
-       --sysconfdir=/etc/samba \
-       --sbindir=/usr/sbin \
-       --bindir=/usr/bin \
-       --with-privatedir=/etc/samba \
-       --libdir=/etc/samba \
-       --localstatedir=/var \
-       --with-swatdir=/usr/share/swat \
+%configure \
+       --with-readline \
+       --with-privatedir=%{_libdir} \
+       --with-lockdir=%{_var}/lock/samba \
+       --with-swatdir=%{_datadir}/swat \
        --with-smbmount \
-       --with-smbwrapper \
+       --with-automount \
+       --without-smbwrapper \
+       --with-netatalk \
+       --with-msdfs \
        --with-quotas \
+       --with-vfs \
+       --with-utmp \
        --with-syslog \
-       --with-automount 
-#      --with-krb5=/usr \
+       --with-mmap \
+       --with-pam \
+       --with-ssl \
+       --with-sslinc=%{_prefix}
        
-make all smbwrapper bin/smbrun bin/debug2html
+%{__make} all 
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
+       $RPM_BUILD_ROOT/{var/{lock,log,log/archiv,spool},home}/samba \
+       $RPM_BUILD_ROOT/sbin 
 
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/samba/codepages/src
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,sysconfig}
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT/home/samba
-install -d $RPM_BUILD_ROOT/lib/security
-install -d $RPM_BUILD_ROOT/usr/{bin,sbin}
-install -d $RPM_BUILD_ROOT/usr/man/{man1,man5,man7,man8}
-install -d $RPM_BUILD_ROOT/var/lock/samba
-install -d $RPM_BUILD_ROOT/var/log/samba
-install -d $RPM_BUILD_ROOT/var/spool/samba
-install -d $RPM_BUILD_ROOT/usr/share/swat/{include,images,help}
-
-( cd source;
-make prefix=$RPM_BUILD_ROOT/usr \
-    BASEDIR=$RPM_BUILD_ROOT/usr \
-    BINDIR=$RPM_BUILD_ROOT/usr/bin \
-    SBINDIR=$RPM_BUILD_ROOT/usr/sbin \
-    LIBDIR=$RPM_BUILD_ROOT/etc/samba \
-    PRIVATEDIR=$RPM_BUILD_ROOT/etc/samba \
-    SWATDIR=$RPM_BUILD_ROOT/usr/share/swat \
-    VARDIR=$RPM_BUILD_ROOT/var \
-    install
-)
-
-install  source/codepages/codepage_def.* \
-    $RPM_BUILD_ROOT/etc/samba/codepages/src
-
-install  packaging/PLD/smb.conf                $RPM_BUILD_ROOT/etc/samba
-install  packaging/PLD/smbusers                $RPM_BUILD_ROOT/etc/samba
-install  packaging/PLD/smbprint                $RPM_BUILD_ROOT/usr/bin
-install  packaging/PLD/smbadduser      $RPM_BUILD_ROOT/usr/bin
-install  packaging/PLD/findsmb         $RPM_BUILD_ROOT/usr/bin
-install  packaging/PLD/smb.init                $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
-install  packaging/PLD/samba.pam       $RPM_BUILD_ROOT/etc/pam.d/samba
-install  packaging/PLD/samba.log       $RPM_BUILD_ROOT/etc/logrotate.d/samba
-
-install -s source/bin/*.so     $RPM_BUILD_ROOT/lib/security
-install -s source/bin/{smbsh,smbrun,debug2html} $RPM_BUILD_ROOT/usr/bin
+cd source
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install script/mksmbpasswd.sh /$RPM_BUILD_ROOT%{_sbindir}
+cd ..
+
+ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs 
+
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
+install %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/smb.conf
 
 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
 
-echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/samba/lmhosts
+echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_libdir}/lmhosts
+
+> $RPM_BUILD_ROOT%{_libdir}/smbusers
+> $RPM_BUILD_ROOT/etc/security/blacklist.samba
 
-echo "NICELEVEL=+5" > $RPM_BUILD_ROOT/etc/sysconfig/samba
+rm -f docs/faq/*.{sgml,txt}
+rm -f docs/htmldocs/*.[0-9].html
 
-for i in 437 737 850 852 861 866 932 949 950 936; do
-$RPM_BUILD_ROOT/usr/bin/make_smbcodepage c $i \
-$RPM_BUILD_ROOT/etc/samba/codepages/src/codepage_def.$i \
-$RPM_BUILD_ROOT/etc/samba/codepages/codepage.$i; done
+gzip -9nfr Manifest README Roadmap WHATSNEW.txt docs/*.reg docs/{announce,history,THANKS} docs/textdocs/*.txt
 
-gzip -9fn $RPM_BUILD_ROOT/usr/man/man[1578]/* \
-       README Manifest WHATSNEW.txt Roadmap docs/*.reg swat/README
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add smb
+if [ -r /var/lock/subsys/smb ]; then
+       /etc/rc.d/init.d/smb restart >&2
+else
+       echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
+fi
 
-%post -n swat
-# Not for PLD
-#if !( grep ^[:space:]*swat /etc/services > /dev/null ) then
-#echo 'swat    901/tcp         # Swat service used via inetd' >> /etc/services
-#fi
+%preun
+if [ "$1" = "0" ]; then
+       if [ -r /var/lock/subsys/smb ]; then
+               /etc/rc.d/init.d/smb stop >&2
+       fi
+       /sbin/chkconfig --del smb
+fi
 
-# Not for PLD 
-#if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
-#echo 'swat    stream  tcp     nowait.400      root    /usr/sbin/swat swat' >> /etc/inetd.conf
-#killall -HUP inetd >&2
-#fi
+%post -n swat
+if [ -f /var/lock/subsys/rc-inetd ]; then
+       /etc/rc.d/init.d/rc-inetd reload 1>&2
+else
+       echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
+fi
 
-%preun
-if [ $1 = 0 ]; then
-    /etc/rc.d/init.d/smb stop >&2
-    /sbin/chkconfig --del smb
+%postun -n swat
+if [ -f /var/lock/subsys/rc-inetd ]; then
+       /etc/rc.d/init.d/rc-inetd reload
 fi
 
-%preun -n swat
-#if [ $1 = 0 ]; then
-# Not for PLD 
-#    cd /etc
-#    tmpfile=/etc/tmp.$$
-#    sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile
-#    mv $tmpfile inetd.conf
-#    sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile
-#    mv $tmpfile services
-#fi
+%triggerpostun -- samba < 1.9.18p7
+if [ "$1" != "0" ]; then
+       /sbin/chkconfig --add smb
+fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%triggerpostun -- samba < 2.0.5a-3
+if [ "$1" != "0" ]; then
+       [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
+       [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
+fi
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz Manifest.gz WHATSNEW.txt.gz
-%doc Roadmap.gz docs/faq/*.html docs/*.reg.gz 
-
-%attr(755,root,root) /usr/bin/*
-%attr(755,root,root) /usr/sbin/nmbd
-%attr(755,root,root) /usr/sbin/smbd
-
-
-%dir /etc/samba
-%config(noreplace) %verify(not size mtime md5) /etc/samba/smb.conf
-%attr(600,root,root) %config(noreplace) %verify(not size mtime md5) /etc/samba/smbusers
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/samba/lmhosts
-
-%attr(750,root,root) /etc/rc.d/init.d/smb
-%attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/samba
+%attr(755,root,root) %{_sbindir}/nmbd
+%attr(755,root,root) %{_sbindir}/smbd
+%attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
+%attr(755,root,root) %{_bindir}/smbstatus
+%attr(755,root,root) %{_bindir}/smbpasswd
+%attr(755,root,root) %{_bindir}/make_*
+%attr(755,root,root) %{_bindir}/smbcontrol
+
+%dir %{_libdir}
+%attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_libdir}/smbusers
+%attr(754,root,root) /etc/rc.d/init.d/smb
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
 %attr(640,root,root) /etc/logrotate.d/samba
-%attr(640,root,root) /etc/pam.d/samba
-
-%attr(755,root,root) /lib/security/*.so
-
-/usr/man/man[157]/*
-/usr/man/man8/nmbd.8.gz
-/usr/man/man8/smbd.8.gz
-/usr/man/man8/smbmnt.8.gz
-/usr/man/man8/smbmount.8.gz
-/usr/man/man8/smbpasswd.8.gz
-/usr/man/man8/smbumount.8.gz
+%attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/samba
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
+%{_mandir}/man1/smbstatus.1*
+%{_mandir}/man1/smbcontrol.1*
+%{_mandir}/man5/smbpasswd.5*
+%{_mandir}/man7/samba.7*
+%{_mandir}/man8/nmbd.8*
+%{_mandir}/man8/smbd.8*
+%{_mandir}/man8/smbpasswd.8*
 
 %dir /home/samba
-/etc/samba/codepages
-
 %dir /var/lock/samba
 %ghost /var/lock/samba/*
 
 %attr(0750,root,root) %dir /var/log/samba
+%attr(0750,root,root) %dir /var/log/archiv/samba
 %attr(1777,root,root) %dir /var/spool/samba
 
+%files client
+%defattr(644,root,root,755)
+%attr(755,root,root) /sbin/mount.smbfs
+%attr(755,root,root) %{_bindir}/smbmount
+%attr(755,root,root) %{_bindir}/smbmnt
+%attr(755,root,root) %{_bindir}/smbumount
+%{_mandir}/man8/smbmnt.8*
+%{_mandir}/man8/smbmount.8*
+%{_mandir}/man8/smbumount.8*
+%attr(755,root,root) %{_bindir}/nmblookup
+%attr(755,root,root) %{_bindir}/smbclient
+%attr(755,root,root) %{_bindir}/smbtar
+%attr(755,root,root) %{_bindir}/smbspool
+%attr(755,root,root) %{_bindir}/smbcacls
+%{_mandir}/man1/smbtar.1*
+%{_mandir}/man1/smbclient.1*
+%{_mandir}/man1/nmblookup.1*
+%{_mandir}/man1/smbcacls.1*
+%attr(755,root,root) %{_bindir}/rpcclient
+%{_mandir}/man1/rpcclient.1*
+
+%files common
+%defattr(644,root,root,755)
+%doc README.gz Manifest.gz WHATSNEW.txt.gz
+%doc Roadmap.gz docs/faq docs/*.reg.gz
+%doc docs/textdocs docs/htmldocs/*.* docs/{history,announce,THANKS}.gz
+%config(noreplace) %verify(not size mtime md5) %{_libdir}/smb.conf
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_libdir}/lmhosts
+%attr(755,root,root) %{_bindir}/make_smbcodepage
+%attr(755,root,root) %{_bindir}/make_unicodemap
+%attr(755,root,root) %{_bindir}/testparm
+%attr(755,root,root) %{_bindir}/testprns
+%attr(755,root,root) %{_bindir}/make_printerdef
+%{_libdir}/codepages
+%{_mandir}/man1/make_smbcodepage.1*
+%{_mandir}/man1/make_unicodemap.1*
+%{_mandir}/man1/testparm.1*
+%{_mandir}/man1/testprns.1*
+%{_mandir}/man5/smb.conf.5*
+%{_mandir}/man5/lmhosts.5*
+
 %files -n swat
 %defattr(644,root,root,755)
-%doc swat/README.gz
-%attr(755,root,root) /usr/sbin/swat
-/usr/share/swat
-/usr/man/man8/swat.8.gz
-
-
-%changelog
-* Wed Apr 14 1999 Artur Frysiak <wiget@pld.org.pl>
-  [2.0.3-2]
-- Changed group to Networking/Daemons
-- Changed name of source1
-- Added swat subpackage
-- Used %%configure macro
-- Correct one typo in configure args
-- Added --with-syslog and --with-automount to configure
-- Added /etc/sysconfig/samba (allow set nice level of [sn]mbd )
-- Removed %%config from /etc/rc.d/init.d/smb
-- Removed manuly install man and swat ( make install do it)
-- Install smbrun and debug2html
-- Fixed lmhosts files
-- Added noreplace to config files
-- Added %%ghost macro to state files 
-
-* Sun Mar 28 1999 Ziemek Borowski <zmb@ziembor.waw.pl>
-[2.0.3] 
-- updated to 2.0.3 (change in samba.2.0.3.patch file)
-- removed kerberos support
-
-* Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [2.2.0-1d]
-- updated to new version,
-- added Group(pl),
-- added patch against GNU libc-2.1 -- prepared by Paul Laufer
-  http://www.cspupomona.edu/~pelaufer/samba,
-- some other changes ...
-
-* Wed Aug 05 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [1.9.18p8-1d]
-- build against glibc-2.1,
-  patch prepared by Paul Laufer <PELaufer@csupomona.edu>
-  http://www.netcom.com/~mlaufer/samba,
-- translation modified for pl,
-- build with Kerberos V support,
-- moved %changelog at the end of spec,
-- build from non root's acccount,
-- changed permisions of binaries to 755,
-- moved config files to /etc/samba instead /etc,
-- added a sticky bit on /var/spool/samba,
-- minor modifications of spec.
-
-* Sat Jul 4 1998 John H Terpstra <jht@samba.anu.edu.au>
-  - changed classification of codepage source files
-  - altered installation of samba system files
-  - modified doc handling (removed attribute setting parameters)
-
-* Sat Jun 13 1998 John H Terpstra <jht@samba.anu.edu.au>
-  - Added code pages 737 and 861 to files section
-  - Added auto-generation of empty /etc/lmhosts file if not exist
-  - Always zap and create empty /var/lock/samba/STATUS..LCK file
-
-* Wed Jun 10 1998 John H Terpstra <jht@samba.anu.edu.au>
-  - Updated version info for 1.9.18p8 release
-  - updated codepage support for pages 737 861
-
-* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
-  - minor tidy up in preparation for release of 1.9.18p5
-  - added findsmb utility from SGI package
-
-* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
-  - Updated version and codepage info.
-  - Release to test name resolve order
-
-* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
- - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
-  - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
-  - Compounded make line
-  - Updated smb.init restart mechanism
-  - Use compound mkdir -p line instead of individual calls to mkdir
-  - Fixed smb.conf file path for log files
-  - Fixed smb.conf file path for incoming smb print spool directory
-  - Added a number of options to smb.conf file
-  - Added smbadduser command (missed from all previous RPMs) - Doooh!
-  - Added smbuser file and smb.conf file updates for username map
+%doc swat/README*
+%attr(755,root,root) %{_sbindir}/swat
+%{_datadir}/swat
+%{_mandir}/man8/swat.8*
+
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
This page took 0.054431 seconds and 4 git commands to generate.