|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
Summary: Multi-platform MPEG, DVD, and DivX player
|
|
Summary: Multi-platform MPEG, DVD, and DivX player
|
|
Name: vlc
|
|
Name: vlc
|
|
-Version: 1.1.4
|
|
|
|
|
|
+Version: 1.1.5
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: Applications/Multimedia
|
|
Group: Applications/Multimedia
|
|
@@ -23,9 +23,10 @@ Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}
|
|
# %if %with_internal_live555
|
|
# %if %with_internal_live555
|
|
# Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz
|
|
# Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz
|
|
# %endif
|
|
# %endif
|
|
-Source10: vlc-handlers.schemas
|
|
|
|
Patch0: vlc-1.1.0-vlc-cache-gen_noerror.patch
|
|
Patch0: vlc-1.1.0-vlc-cache-gen_noerror.patch
|
|
-#Patch1: vlc-1.1.0-bugfix-dlopen.patch
|
|
|
|
|
|
+Patch1: 0001-Libnotify-depends-on-a-gtk.patch
|
|
|
|
+Patch3: vlc-1.1.4-hardode_font_patch.patch
|
|
|
|
+Patch4: vlc-1.1.4-tls_path.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
@@ -289,9 +290,11 @@ VLC plugins for libdc1394
|
|
%endif
|
|
%endif
|
|
--enable-dvdread --enable-dvdnav \
|
|
--enable-dvdread --enable-dvdnav \
|
|
%{?_with_opencv:--enable-opencv} \
|
|
%{?_with_opencv:--enable-opencv} \
|
|
|
|
+ --enable-sftp \
|
|
--enable-v4l \
|
|
--enable-v4l \
|
|
--enable-pvr \
|
|
--enable-pvr \
|
|
--enable-gnomevfs \
|
|
--enable-gnomevfs \
|
|
|
|
+ %{?_with_vcdimager--enable-vcdx} \
|
|
--enable-cddax \
|
|
--enable-cddax \
|
|
--enable-wma-fixed \
|
|
--enable-wma-fixed \
|
|
--enable-shine \
|
|
--enable-shine \
|
|
@@ -362,7 +365,7 @@ desktop-file-install --vendor vine \
|
|
--mode 644 \
|
|
--mode 644 \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
|
|
|
|
|
|
-# Remove installed fonts for skin2 - needs
|
|
|
|
|
|
+# Remove installed fonts for skin2
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/vlc/skin2/fonts/*.ttf
|
|
%__rm -rf $RPM_BUILD_ROOT%{_datadir}/vlc/skin2/fonts/*.ttf
|
|
%__ln_s -f ../../../fonts/dejavu/DejaVuSans.ttf \
|
|
%__ln_s -f ../../../fonts/dejavu/DejaVuSans.ttf \
|
|
$RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSans.ttf
|
|
$RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSans.ttf
|
|
@@ -372,8 +375,6 @@ desktop-file-install --vendor vine \
|
|
#Fix unowned directories
|
|
#Fix unowned directories
|
|
%__rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
|
|
%__rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
|
|
|
|
|
|
-#Fix CGonf2 url-handler support
|
|
|
|
-%__install -pm 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vlc/utils/
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
@@ -381,42 +382,18 @@ desktop-file-install --vendor vine \
|
|
%clean
|
|
%clean
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%pre
|
|
|
|
-if [ "$1" -gt 1 ] ; then
|
|
|
|
-if [ -x %{_bindir}/gconftool-2 ] ; then
|
|
|
|
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
-gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_datadir}/vlc/utils/vlc-handlers.schemas >/dev/null
|
|
|
|
-fi
|
|
|
|
-fi || :
|
|
|
|
-
|
|
|
|
|
|
|
|
%post
|
|
%post
|
|
-if [ -x %{_bindir}/gconftool-2 ] ; then
|
|
|
|
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
-gconftool-2 --makefile-install-rule \
|
|
|
|
- %{_datadir}/vlc/utils/vlc-handlers.schemas >/dev/null
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
fi
|
|
fi
|
|
-%{_bindir}/update-desktop-database %{_datadir}/applications || :
|
|
|
|
|
|
+%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null || :
|
|
|
|
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
-%preun
|
|
|
|
-if [ "$1" -eq 0 ]; then
|
|
|
|
-if [ -x %{_bindir}/gconftool-2 ] ; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_datadir}/vlc/utils/vlc-handlers.schemas >& /dev/null
|
|
|
|
-fi
|
|
|
|
-fi || :
|
|
|
|
-
|
|
|
|
%postun
|
|
%postun
|
|
-%{_bindir}/update-desktop-database %{_datadir}/applications
|
|
|
|
|
|
+%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
@@ -425,6 +402,18 @@ fi || :
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
+%posttrans
|
|
|
|
+[ -f /var/lib/dbus/machine-id ] || \
|
|
|
|
+ %{_bindir}/dbus-uuidgen > /var/lib/dbus/machine-id
|
|
|
|
+%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
|
|
|
|
+
|
|
|
|
+%preun
|
|
|
|
+if [ $1 == 0 ] ; then
|
|
|
|
+ %__rm -rf %{_libdir}/vlc/plugins-*-*.dat
|
|
|
|
+fi || :
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
|
|
@@ -461,6 +450,9 @@ fi || :
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Nov 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Mon Aug 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
|
|
* Mon Aug 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|