]> git.pld-linux.org Git - packages/dosemu.git/commitdiff
- don't make SDL subpackage when building without x
authorpascalek <pascalek@pld-linux.org>
Wed, 26 Nov 2008 11:04:35 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dosemu.spec -> 1.146

dosemu.spec

index 22a55530e4a7eef0918e93f33f252054c8c1ef10..3555a2e0c6b7ea240f079d29a4d6461927a19347 100644 (file)
@@ -42,7 +42,6 @@ Patch7:               %{name}-lpt4.patch
 Patch8:                %{name}-Xquit.patch
 Patch9:                %{name}-creat_mode.patch
 URL:           http://www.dosemu.org/
-BuildRequires: SDL-devel
 BuildRequires: alsa-lib-devel >= 0.9
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: bin86
@@ -63,6 +62,7 @@ BuildRequires:        slang-devel
 BuildRequires: unzip
 BuildRequires: util-linux
 %if %{with x}
+BuildRequires: SDL-devel
 %if !%{with AC}
 BuildRequires: xorg-app-bdftopcf
 BuildRequires: xorg-app-mkfontdir
@@ -289,11 +289,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/mkfatimage16.1*
 %lang(ru) %{_mandir}/ru/man1/mkfatimage16.1*
 
+%if %{with x}
 %files SDL
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/dosemu/libplugin_sdl.so
 
-%if %{with x}
 %files X
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/dosemu/libplugin_X.so
This page took 0.063967 seconds and 4 git commands to generate.