Projects
Staging
vlc-beta
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 73
View file
vlc-beta.spec
Changed
@@ -16,8 +16,7 @@ # -%define libvlc 123 -%define libvlccore 123 +%global _buildshell /bin/bash %bcond_with vlc_opencv %bcond_with fdk_aac %ifarch %arm @@ -265,6 +264,16 @@ %autosetup -p1 %build +VERSION=%{version} +sed -i~ " +s@^AC_INIT.*@AC_INIT([%{name}], [%{version}])@ +s@^VERSION_MAJOR=.@VERSION_MAJOR=${VERSION:0:2}@ +s@^VERSION_MINOR=.@VERSION_MINOR=${VERSION:2:2}@ +s@^VERSION_REVISION=.@VERSION_REVISION=${VERSION:4:2}@ +s@^VERSION_EXTRA=.@VERSION_EXTRA=${VERSION:6:2}@ +s@^VERSION_DEV=.@VERSION_DEV=${VERSION#*.}@ +" configure.ac +diff -u "$_"~ "$_" && exit 1 # fix builddate info # Remove build time references so build-compare can do its work FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') @@ -484,39 +493,76 @@ find %{buildroot} -type f -name "*.a" -delete -print rm -rf %{buildroot}/usr/share/macosx %suse_update_desktop_file vlc AudioVideo Audio Video Player -%fdupes %{buildroot}%{_datadir}/vlc +%fdupes %{buildroot} # remove duplicate file -rm %{buildroot}/%{_datadir}/vlc/lua/http/requests/README.txt +rm %{buildroot}/%{_datadir}/%{name}/lua/http/requests/README.txt # add missing manfiles for i in ?vlc; do pushd %{buildroot}/%{_mandir}/man1 ln -s vlc.1 $i.1 popd done -%find_lang vlc +%find_lang %{name} +ls -l %{buildroot}/%{_libdir}/%{name}/plugins/plugins.dat +> %{buildroot}/%{_libdir}/%{name}/plugins/plugins.dat %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %posttrans -%{_libexecdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins +%{_libexecdir}/%{name}/vlc-cache-gen %{_libdir}/%{name}/plugins -%files -f vlc.lang +%files -f %{name}.lang +%dir %{_libdir}/%{name}/ +%dir %{_libdir}/%{name}/plugins +%dir %{_libdir}/%{name}/plugins/access +%dir %{_libdir}/%{name}/plugins/access_output +%dir %{_libdir}/%{name}/plugins/audio_filter +%dir %{_libdir}/%{name}/plugins/audio_mixer +%dir %{_libdir}/%{name}/plugins/audio_output +%dir %{_libdir}/%{name}/plugins/codec +%dir %{_libdir}/%{name}/plugins/control +%dir %{_libdir}/%{name}/plugins/demux +%dir %{_libdir}/%{name}/plugins/gui +%dir %{_libdir}/%{name}/plugins/keystore +%dir %{_libdir}/%{name}/plugins/logger +%dir %{_libdir}/%{name}/plugins/lua +%dir %{_libdir}/%{name}/plugins/meta_engine +%dir %{_libdir}/%{name}/plugins/misc +%dir %{_libdir}/%{name}/plugins/mux +%dir %{_libdir}/%{name}/plugins/notify +%dir %{_libdir}/%{name}/plugins/packetizer +%dir %{_libdir}/%{name}/plugins/services_discovery +%dir %{_libdir}/%{name}/plugins/spu +%dir %{_libdir}/%{name}/plugins/stream_extractor +%dir %{_libdir}/%{name}/plugins/stream_filter +%dir %{_libdir}/%{name}/plugins/stream_out +%dir %{_libdir}/%{name}/plugins/text_renderer +%dir %{_libdir}/%{name}/plugins/vaapi +%dir %{_libdir}/%{name}/plugins/vdpau +%dir %{_libdir}/%{name}/plugins/video_chroma +%dir %{_libdir}/%{name}/plugins/video_filter +%dir %{_libdir}/%{name}/plugins/video_output +%dir %{_libdir}/%{name}/plugins/video_splitter +%dir %{_libdir}/%{name}/plugins/visualization +%ghost %{_libdir}/%{name}/plugins/*.dat %{_bindir}/* +%{_datadir}/%{name}/ %{_datadir}/applications/* -%{_datadir}/doc/vlc/ +%{_datadir}/doc/%{name}/ %{_datadir}/icons/* %{_datadir}/kde4 %{_datadir}/metainfo %{_datadir}/pixmaps/* -%{_datadir}/vlc/ %{_includedir}/* +%{_libdir}/%{name}/*.so +%{_libdir}/%{name}/*.so.* +%{_libdir}/%{name}/plugins/*/*.so %{_libdir}/*.so %{_libdir}/*.so.* %{_libdir}/pkgconfig/*.pc -%{_libdir}/vlc -%{_libexecdir}/vlc +%{_libexecdir}/%{name} %{_mandir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.