]> git.pld-linux.org Git - packages/dosemu.git/blobdiff - dosemu.spec
- reenabled html docs (no rationale specified for disabling)
[packages/dosemu.git] / dosemu.spec
index affae9a95aaed98dcb277915ddd097ff9e741148..07033f739f5eaf5336598de92f4467166366b939 100644 (file)
@@ -4,6 +4,7 @@
 %bcond_with    static          # link statically
 %bcond_with    AC
 %bcond_without x               # X support
+%bcond_with    samba           # samba support
 #
 %define                smarthogver     0.1.0
 
@@ -15,12 +16,12 @@ Summary(pl.UTF-8):  Emulator DOS-a
 Summary(pt_BR.UTF-8):  Emulador DOS
 Summary(tr.UTF-8):     DOS öykünümcüsü
 Name:          dosemu
-Version:       1.3.5
-Release:       1
+Version:       1.4.0
+Release:       1%{?with_samba:.smb}
 License:       GPL v2
 Group:         Applications/Emulators
 Source0:       http://dl.sourceforge.net/dosemu/%{name}-%{version}.tgz
-# Source0-md5: 16cb31112d5928c9d45319157948bb7c
+# Source0-md5: 0bba530637266f99d404ba15e3f118d4
 #Source2:      %{name}-sys.tar.gz
 Source3:       %{name}-PRZECZYTAJ_TO
 Source4:       %{name}-README.PLD
@@ -33,6 +34,7 @@ Patch1:               %{name}-make-new.patch
 Patch2:                %{name}-%{name}_conf.patch
 Patch3:                %{name}-doSgmlTools.patch
 Patch4:                %{name}-makehtml.patch
+Patch5:                http://pascalek.pers.pl/files/projects/Samba4DosEmu/%{name}-1.4.0-samba-beta2.patch.gz
 URL:           http://www.dosemu.org/
 BuildRequires: SDL-devel
 BuildRequires: alsa-lib-devel >= 0.9
@@ -44,6 +46,7 @@ BuildRequires:        docbook-style-dsssl
 BuildRequires: flex
 %{?with_static:BuildRequires:  glibc-static}
 BuildRequires: gpm-devel
+%{?with_samba:BuildRequires:   libcli_smb-devel}
 BuildRequires: libsndfile-devel
 BuildRequires: lynx
 BuildRequires: openjade
@@ -140,11 +143,13 @@ Wtyczka X dla dosemu.
 
 %prep
 %setup -q -a6 -a7
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%{?with_samba:%patch5 -p1}
 
 %build
 OPTFLAGS="%{rpmcflags}"; export OPTFLAGS
@@ -243,9 +248,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/dosexec
 %attr(755,root,root) %{_bindir}/midid
 %dir %{_libdir}/dosemu
+%{_libdir}/dosemu/libplugin_alsa.so
 %{_libdir}/dosemu/libplugin_gpm.so
+%{_libdir}/dosemu/libplugin_sndfile.so
 %{_libdir}/dosemu/libplugin_term.so
-%{_libdir}/dosemu/libplugin_alsa.so
 %dir %{_dosemudir}/bootdir
 %dir %{_dosemudir}/bootdir/dosemu
 %{_dosemudir}/bootdir/dosemu/*
This page took 0.156722 seconds and 4 git commands to generate.