SPECS: dosemu.spec - internal support for samba

pascalek pascalek at pld-linux.org
Mon Nov 26 02:26:13 CET 2007


Author: pascalek                     Date: Mon Nov 26 01:26:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- internal support for samba

---- Files affected:
SPECS:
   dosemu.spec (1.133 -> 1.134) 

---- Diffs:

================================================================
Index: SPECS/dosemu.spec
diff -u SPECS/dosemu.spec:1.133 SPECS/dosemu.spec:1.134
--- SPECS/dosemu.spec:1.133	Wed May 23 12:04:06 2007
+++ SPECS/dosemu.spec	Mon Nov 26 02:26:08 2007
@@ -5,6 +5,7 @@
 %bcond_with	static		# link statically
 %bcond_with	AC
 %bcond_without	x		# X support
+%bcond_with	samba		# samba support
 #
 %define		smarthogver	0.1.0
 
@@ -17,7 +18,7 @@
 Summary(tr.UTF-8):	DOS öykünümcüsü
 Name:		dosemu
 Version:	1.4.0
-Release:	1
+Release:	1%{?with_samba:.smb}
 License:	GPL v2
 Group:		Applications/Emulators
 Source0:	http://dl.sourceforge.net/dosemu/%{name}-%{version}.tgz
@@ -34,6 +35,7 @@
 Patch2:		%{name}-%{name}_conf.patch
 Patch3:		%{name}-doSgmlTools.patch
 Patch4:		%{name}-makehtml.patch
+Patch5:		http://www.pers.pl/~pascalek/%{name}-1.4.0-samba-beta1.patch.gz
 URL:		http://www.dosemu.org/
 BuildRequires:	SDL-devel
 BuildRequires:	alsa-lib-devel >= 0.9
@@ -45,6 +47,7 @@
 BuildRequires:	flex
 %{?with_static:BuildRequires:	glibc-static}
 BuildRequires:	gpm-devel
+%{?with_samba:BuildRequires:	libcli_smb-devel}
 BuildRequires:	libsndfile-devel
 BuildRequires:	lynx
 BuildRequires:	openjade
@@ -141,11 +144,13 @@
 
 %prep
 %setup -q -a6 -a7
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%{?with_samba:%patch5 -p1}
 
 %build
 OPTFLAGS="%{rpmcflags}"; export OPTFLAGS
@@ -178,11 +183,11 @@
 echo '.so dosemu.1' > pl/man1/dosdebug.1
 
 # documentation
-%{__make} -C src/doc/DANG html
-%{__make} -C src/doc/HOWTO html
-%{__make} -C src/doc/README html
+#%{__make} -C src/doc/DANG html
+#%{__make} -C src/doc/HOWTO html
+#%{__make} -C src/doc/README html
 
-find src/doc -name "*.html" -exec cp -f '{}' doc/ ';'
+#find src/doc -name "*.html" -exec cp -f '{}' doc/ ';'
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -288,7 +293,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.133  2007-05-23 10:04:06  pascalek
+Revision 1.134  2007-11-26 01:26:08  pascalek
+- internal support for samba
+
+Revision 1.133  2007/05/23 10:04:06  pascalek
 - updated to 1.4.0
 
 Revision 1.132  2007/04/29 21:00:52  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dosemu.spec?r1=1.133&r2=1.134&f=u



More information about the pld-cvs-commit mailing list