]> git.pld-linux.org Git - packages/vlc.git/commitdiff
- it should be possible to turn off bcond via commandline
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Dec 2011 11:52:35 +0000 (11:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- package lua/extensions dir

Changed files:
    vlc.spec -> 1.284

vlc.spec

index 0e3a8913ffefcdd6cc508f8a9a3b58500a24d012..077e311098b1455f81f49e6e026bab69fe3a596c 100644 (file)
--- a/vlc.spec
+++ b/vlc.spec
@@ -6,6 +6,7 @@
 # - configs to /etc (../http/.hosts)
 # - package lua files
 # - qvlc should be in qt4 or such package not generic X11
+# - /usr/share/vlc/utils scripts insecure (use /tmp hardcoded paths)
 #
 # Conditional build:
 %bcond_without aalib           # build without aalib support
 %bcond_without udev            # udev services discovery
 %bcond_without upnp            # upnp plugin
 %bcond_without x264            # build without x264 support
-%bcond_with    v4l1            # video4linux v1
+%bcond_without v4l1            # video4linux v1
 
-%if "%(test -f %{_includedir}/linux/videodev.h && echo 1 || echo 0)" == "1"
-%global        with_v4l1       1
+%if "%(test -f %{_includedir}/linux/videodev.h && echo 0 || echo 1)" == "1"
+%undefine      with_v4l1
 %endif
 
 Summary:       VLC - a multimedia player and stream server
@@ -392,11 +393,13 @@ cp -f /usr/share/automake/config.* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        npvlcdir=%{_browserpluginsdir} \
        DESTDIR=$RPM_BUILD_ROOT
 
+# dir for lua extensions
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/lua/extensions
+
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/vlc
 
 %if "%{_lib}" != "lib"
@@ -792,7 +795,8 @@ fi
 %attr(755,root,root) %{_libdir}/vlc/plugins/visualization/libvisual_plugin.so
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/http
-%{_datadir}/%{name}/lua
+%dir %{_datadir}/%{name}/lua
+%dir %{_datadir}/%{name}/lua/extensions
 %{_datadir}/%{name}/osdmenu
 %dir %{_datadir}/%{name}/utils
 %attr(755,root,root) %{_datadir}/%{name}/utils/*.sh
This page took 0.142299 seconds and 4 git commands to generate.