SPECS: dosemu.spec - bcond without x - BR: docbook-style-dsssl
witekfl
witekfl at pld-linux.org
Tue Dec 6 12:44:16 CET 2005
Author: witekfl Date: Tue Dec 6 11:44:16 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bcond without x
- BR: docbook-style-dsssl
---- Files affected:
SPECS:
dosemu.spec (1.114 -> 1.115)
---- Diffs:
================================================================
Index: SPECS/dosemu.spec
diff -u SPECS/dosemu.spec:1.114 SPECS/dosemu.spec:1.115
--- SPECS/dosemu.spec:1.114 Tue Jun 21 22:04:22 2005
+++ SPECS/dosemu.spec Tue Dec 6 12:44:11 2005
@@ -2,6 +2,7 @@
#
# Conditional build:
%bcond_with static # linked statically
+%bcond_without x
#
Summary: A DOS emulator
Summary(de): DOS-Emulator
@@ -29,12 +30,15 @@
Patch3: %{name}-doSgmlTools.patch
Patch4: %{name}-makehtml.patch
URL: http://www.dosemu.org/
+%if %{with x}
BuildRequires: XFree86-devel
%{?with_static:BuildRequires: XFree86-static}
+%endif
BuildRequires: autoconf >= 2.57
BuildRequires: bin86
BuildRequires: bison
BuildRequires: docbook-dtd30-sgml
+BuildRequires: docbook-style-dsssl
BuildRequires: flex
%{?with_static:BuildRequires: glibc-static}
BuildRequires: lynx
@@ -76,6 +80,7 @@
sessőes X Window. Oferece suporte para gráficos VGA bem como suporte
para mouse.
+%if %{with x}
%package -n xdosemu
Summary: A DOS emulator for the X Window System
Summary(de): DOS-Emulator für X
@@ -116,6 +121,7 @@
%description -n xdosemu -l tr
Bu yazýlým, DOS öykünümcüsünün X altýnda çalýţan bir sürümüdür. VGA
grafikleri ve fare desteđi vardýr.
+%endif
%package utils
Summary: Utilities for dosemu
@@ -158,14 +164,16 @@
%{__make} WAIT=no
mv -f bin/dosemu.bin bin/dos-nox
+%if %{with x}
# X version
%configure2_13 \
%{?with_static:--enable-linkstatic} \
--enable-new-intcode \
--enable-aspi
%{__make} WAIT=no
-%{__make} -C man
+%endif
+%{__make} -C man
mv -f man/dosemu.bin.1 man/dosemu.1
echo '.so dosemu.1' > man/dos.1
mv -f man/ru/dosemu.bin.1 man/ru/dosemu.1
@@ -192,12 +200,16 @@
#%%{__make} install \
# DESTDIR=$RPM_BUILD_ROOT
-install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dosemu
install bin/dos-nox $RPM_BUILD_ROOT%{_bindir}/dos
install bin/midid $RPM_BUILD_ROOT%{_bindir}/midid
+
+%if %{with x}
+install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dosemu
ln -sf dosemu $RPM_BUILD_ROOT%{_bindir}/xdosemu
ln -sf dosemu $RPM_BUILD_ROOT%{_bindir}/xdosexec
ln -sf dosemu $RPM_BUILD_ROOT%{_bindir}/xdos
+%endif
+
install bin/dosdebug $RPM_BUILD_ROOT%{_bindir}/dosdebug
install src/tools/periph/{dexeconfig,hdinfo,mkhdimage,mkfatimage16} $RPM_BUILD_ROOT%{_bindir}
ln -sf dos $RPM_BUILD_ROOT%{_bindir}/dosexec
@@ -242,6 +254,7 @@
%lang(ru) %{_mandir}/ru/man1/d*
%{_pixmapsdir}/dosemu.xpm
+%if %{with x}
%files -n xdosemu
%defattr(644,root,root,755)
%doc QuickStart COPYING ChangeLog* doc/* README.PLD
@@ -265,6 +278,7 @@
%lang(ru) %{_mandir}/ru/man1/xdosemu.1*
%{_desktopdir}/*
%{_pixmapsdir}/dosemu.xpm
+%endif
%files utils
%defattr(644,root,root,755)
@@ -281,6 +295,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.115 2005/12/06 11:44:11 witekfl
+- bcond without x
+- BR: docbook-style-dsssl
+
Revision 1.114 2005/06/21 20:04:22 witekfl
- Rel 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dosemu.spec?r1=1.114&r2=1.115&f=u
More information about the pld-cvs-commit
mailing list