Commit c8106487 authored by jehan's avatar jehan

fix rpm spec for SLED 11

parent 668bdcc2
...@@ -39,7 +39,7 @@ This package contains header files and development libraries needed to ...@@ -39,7 +39,7 @@ This package contains header files and development libraries needed to
develop programs using the mediastreamer2 library. develop programs using the mediastreamer2 library.
%ifarch %ix86 %ifarch %ix86
%define mediastreamer2_arch_cflags -malign-double -march=i686 -mcpu=%{mediastreamer2_cpu} %define mediastreamer2_arch_cflags -malign-double -march=i686 -mtune=%{mediastreamer2_cpu}
%else %else
# Must be non-empty # Must be non-empty
%define mediastreamer2_arch_cflags -Wall %define mediastreamer2_arch_cflags -Wall
...@@ -58,7 +58,7 @@ develop programs using the mediastreamer2 library. ...@@ -58,7 +58,7 @@ develop programs using the mediastreamer2 library.
%setup -q %setup -q
%build %build
options="--enable-shared --enable-static" options="--enable-shared --enable-static --docdir=%{_docdir} "
%if !%{have_video} %if !%{have_video}
options="$options --disable-video" options="$options --disable-video"
%endif %endif
...@@ -79,9 +79,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -79,9 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_bindir}/mediastream %{_bindir}/mediastream
%{_libdir}/*.so.* %{_libdir}/*.so.*
/usr/share/images/nowebcamCIF.jpg %{_datadir}/images/nowebcamCIF.jpg
/usr/share/locale/??/LC_MESSAGES/mediastreamer.mo %{_datadir}/locale/??/LC_MESSAGES/mediastreamer.mo
/usr/share/locale/??_??/LC_MESSAGES/mediastreamer.mo %{_datadir}/locale/??_??/LC_MESSAGES/mediastreamer.mo
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment