packages: vlc/vlc.spec, vlc/vlc.desktop (REMOVED) - vlc-config manual to -d...
glen
glen at pld-linux.org
Mon Jan 18 00:39:32 CET 2010
Author: glen Date: Sun Jan 17 23:39:32 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- vlc-config manual to -devel package
- use .desktop from sources (has MimeType key set for browser actions)
- cleanups
- rel 2
---- Files affected:
packages/vlc:
vlc.spec (1.208 -> 1.209) , vlc.desktop (1.2 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/vlc/vlc.spec
diff -u packages/vlc/vlc.spec:1.208 packages/vlc/vlc.spec:1.209
--- packages/vlc/vlc.spec:1.208 Sat Jan 16 11:48:10 2010
+++ packages/vlc/vlc.spec Mon Jan 18 00:39:26 2010
@@ -43,7 +43,6 @@
# use the bz2 src, its a 4mb difference
Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: 3a0db00380b6d5b24dc7eb73e5d8ae51
-Source1: %{name}.desktop
Patch0: %{name}-buildflags.patch
Patch1: %{name}-defaultfont.patch
Patch2: %{name}-real_codecs_path.patch
@@ -272,7 +271,7 @@
%configure \
CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -I/usr/include/xulrunner/stable -I/usr/include/liveMedia" \
--enable-shared \
- --enable-static \
+ --disable-static \
%ifarch ppc
--disable-altivec \
%endif
@@ -345,17 +344,17 @@
%{!?with_hal:--disable-hal} \
--disable-optimizations # we use own RPM_OPT_FLAGS optimalizations
-%{__make}
+%{__make} \
+ npvlcdir=%{_browserpluginsdir}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_mandir}/man1}
%{__make} install \
+ npvlcdir=%{_browserpluginsdir} \
DESTDIR=$RPM_BUILD_ROOT
-cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-cp -a doc/vlc.1 $RPM_BUILD_ROOT%{_mandir}/man1
+rm -rf $RPM_BUILD_ROOT/usr/share/doc/vlc
%if "%{_lib}" != "lib"
install -d $RPM_BUILD_ROOT%{_prefix}/lib
@@ -363,35 +362,28 @@
%endif
# rm -f *.{a,la}
-find $RPM_BUILD_ROOT%{_libdir} -type f -regex ".*\.?a$" -exec rm -f {} \;
+find $RPM_BUILD_ROOT%{_libdir} -type f -regex '.*\.?a$' -exec rm -f {} ';'
mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt}
# needs fixed?
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{ckb,co,my,no,ps,tet}
-%if %{with mozilla}
-# mozilla compatible browser plugin
-install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
-install -p projects/mozilla/.libs/libvlcplugin.so $RPM_BUILD_ROOT%{_browserpluginsdir}
-%endif
-
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%post -n browser-plugin-%{name}
%update_browser_plugins
-%post -p /sbin/ldconfig
-
%postun -n browser-plugin-%{name}
if [ "$1" = 0 ]; then
- %update_browser_plugins
+ %update_browser_plugins
fi
-%postun -p /sbin/ldconfig
-
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS MAINTAINERS NEWS README THANKS
@@ -742,7 +734,6 @@
%attr(755,root,root) %{_datadir}/%{name}/utils/*.sh
%{_mandir}/man1/vlc.1*
-%{_mandir}/man1/vlc-config.1*
%{_mandir}/man1/vlc-wrapper.1*
%files devel
@@ -751,11 +742,7 @@
%{_pkgconfigdir}/*.pc
%attr(755,root,root) %{_libdir}/libvlc.so
%attr(755,root,root) %{_libdir}/libvlccore.so
-
-#%files static
-#%defattr(644,root,root,755)
-#%{_libdir}/libvlc.a
-#%{_libdir}/%{name}/*.a
+%{_mandir}/man1/vlc-config.1*
%files X11
%defattr(644,root,root,755)
@@ -810,6 +797,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.209 2010/01/17 23:39:26 glen
+- vlc-config manual to -devel package
+- use .desktop from sources (has MimeType key set for browser actions)
+- cleanups
+- rel 2
+
Revision 1.208 2010/01/16 10:48:10 charles
- updated to 1.0.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vlc/vlc.spec?r1=1.208&r2=1.209&f=u
More information about the pld-cvs-commit
mailing list