SPECS: opal.spec - updated install + files sections
sls
sls at pld-linux.org
Wed Nov 5 18:15:30 CET 2008
Author: sls Date: Wed Nov 5 17:15:30 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated install + files sections
---- Files affected:
SPECS:
opal.spec (1.39 -> 1.40)
---- Diffs:
================================================================
Index: SPECS/opal.spec
diff -u SPECS/opal.spec:1.39 SPECS/opal.spec:1.40
--- SPECS/opal.spec:1.39 Wed Nov 5 18:08:37 2008
+++ SPECS/opal.spec Wed Nov 5 18:15:25 2008
@@ -115,17 +115,12 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/opal,%{_bindir},%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT%{_bindir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# using cp as install won't preserve links
-cp -d lib/lib*.a $RPM_BUILD_ROOT%{_libdir}
-install version.h $RPM_BUILD_ROOT%{_includedir}/opal
-install samples/simple/obj_*/simpleopal $RPM_BUILD_ROOT%{_bindir}
-sed -i -e 's@\$(OPALDIR)/include@&/opal@' \
- -e 's@\$(OPALDIR)/lib@\$(OPALDIR)/%{_lib}@' $RPM_BUILD_ROOT%{_datadir}/opal/opal_inc.mak
+install samples/simple/obj/simpleopal $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -137,12 +132,27 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%dir %{_libdir}/opal-3.4.2
+%dir %{_libdir}/opal-3.4.2/codecs
+%dir %{_libdir}/opal-3.4.2/codecs/audio
+%dir %{_libdir}/opal-3.4.2/codecs/video
+%dir %{_libdir}/opal-3.4.2/lid
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/g726_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/gsm0610_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/gsmamrcodec_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/ilbc_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/ima_adpcm_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/lpc10_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/audio/speex_audio_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/video/h261-vic_video_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/codecs/video/h263-ffmpeg_video_pwplugin.so
+%attr(755,root,root) %{_libdir}/opal-3.4.2/lid/vpb_lid_pwplugin.so
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/*.so
-%{_includedir}/*
-%{_datadir}/%{name}
+%{_includedir}/opal
+%{_pkgconfigdir}/opal.pc
%files static
%defattr(644,root,root,755)
@@ -154,6 +164,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.40 2008/11/05 17:15:25 sls
+- updated install + files sections
+
Revision 1.39 2008/11/05 17:08:37 sls
- added build.patch (build sections works, hooray!)
- more TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opal.spec?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list