Changes of Revision 15
[-] | Changed | xine-lib.spec |
x 1
2 %else 3 %bcond_with pulseaudio 4 %endif 5 -%bcond_with sdl 6 -%bcond_with aalib 7 -%bcond_with arts 8 -%bcond_with esd 9 -%bcond_with jack 10 +%bcond_without sdl 11 +%bcond_without aalib 12 +%bcond_without arts 13 +%bcond_without esd 14 +%bcond_without jack 15 %bcond_without gnome_vfs 16 -%bcond_with directfb 17 +%bcond_without directfb 18 %if 0%{suse_version} > 1110 19 %bcond_without modplug 20 %else 21
22 LIB="%{buildroot}%{_libdir}/xine/plugins/%{abiversion}" 23 # install documentation 24 install -m 0644 %{SOURCE10} COPYING AUTHORS %{buildroot}%{_defaultdocdir}/xine/ 25 -%if !!%{with distributable} 26 -touch ${RPM_BUILD_ROOT}%{_datadir}/xine/mad 27 +%if !%{with distributable} 28 +touch ${RPM_BUILD_ROOT}%{_datadir}/xine/mad || echo "can't touch" 29 %endif 30 # remove usless READMEs 31 rm %{buildroot}%{_defaultdocdir}/xine/README.{irix,solaris,WIN32} 32
33 xineplug_ao_out_file 34 xineplug_ao_out_none 35 xineplug_ao_out_oss 36 +xineplug_ao_out_jack 37 xineplug_vo_out_fb 38 xineplug_vo_out_none 39 xineplug_vo_out_opengl 40
41 xargs -i+ strip --strip-debug %{buildroot}/+ <files.codecs 42 %endif 43 %endif 44 -%if !%{with onlynondistributable} 45 +%if %{with distributable} 46 for i in files files.*; do 47 test "$i" = 'files.codecs' || xargs -i+ rm -f %{buildroot}/+ < $i 48 done 49
50 51 %clean 52 rm -rf %{buildroot} 53 -%if %{with onlynondistributable} 54 +%if !%{with distributable} 55 56 %post -n libxine1 -p /sbin/ldconfig 57 58 |