SPECS: vdr.spec - pl fixes, some cleanups

qboosh qboosh at pld-linux.org
Mon Sep 11 19:29:06 CEST 2006


Author: qboosh                       Date: Mon Sep 11 17:29:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl fixes, some cleanups

---- Files affected:
SPECS:
   vdr.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/vdr.spec
diff -u SPECS/vdr.spec:1.1 SPECS/vdr.spec:1.2
--- SPECS/vdr.spec:1.1	Sat Aug 26 12:10:07 2006
+++ SPECS/vdr.spec	Mon Sep 11 19:29:00 2006
@@ -1,11 +1,14 @@
 # $Revision$, $Date$
+# TODO: License, optflags
+#
+# Conditional build:
 %bcond_with	sc	# softCAM support
 %bcond_without	xine	# xine support
-
+#
 %define		_sc_ver		0.5.9
 %define		_xine_ver	0.7.9
 Summary:	Video Disk Recorder
-Summary(pl):	Video Disk Recorder
+Summary(pl):	Video Disk Recorder - narzędzie do nagrywania filmów
 Name:		vdr
 Version:	1.4.1
 Release:	0.1
@@ -21,10 +24,10 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Video Disk Recorder
+Video Disk Recorder.
 
 %description -l pl
-Video Disk Recorder
+Video Disk Recorder - narzędzie do nagrywania filmów.
 
 %package sc
 Summary:	SoftCAM plugin for VDR
@@ -36,8 +39,8 @@
 means softcam, which means a software CAM emulation.
 
 %description sc -l pl
-Używanie tego oprogramowania jest nielegalne we większości krajów
-świata. SC znaczy softcam, co oznacza programowa emulacje CAM.
+Używanie tego oprogramowania jest nielegalne w większości krajów
+świata. SC znaczy softcam, co oznacza programową emulację CAM.
 
 %package xine
 Summary:	xine plugin for VDR
@@ -45,27 +48,27 @@
 Group:		Libraries
 
 %description xine
-xine plugin for VDR
+xine plugin for VDR.
 
 %description xine -l pl
-Wtyczka xine dla VDR
+Wtyczka xine dla VDR.
 
 %prep
 %setup -q
 %patch0 -p1
 %if %{with sc}
-cd PLUGINS/src/
-/bin/gzip -dc %{SOURCE1} | tar -xf -
+cd PLUGINS/src
+gzip -dc %{SOURCE1} | tar -xf -
 mv sc* sc
-cd ../../
+cd ../..
 patch -p1 <PLUGINS/src/sc/patches/vdr-1.4.0-sc.diff
 %endif
 
 %if %{with xine}
-cd PLUGINS/src/
-/bin/gzip -dc %{SOURCE2} | tar -xf -
+cd PLUGINS/src
+gzip -dc %{SOURCE2} | tar -xf -
 mv xine* xine
-cd ../../
+cd ../..
 %endif
 
 %build
@@ -98,12 +101,12 @@
 
 mv $RPM_BUILD_ROOT/var/lib/vdr/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/vdr
 cd $RPM_BUILD_ROOT
-ln -s %{_sysconfdir}/vdr/channels.conf var/lib/vdr/
-ln -s %{_sysconfdir}/vdr/diseqc.conf var/lib/vdr/
-ln -s %{_sysconfdir}/vdr/keymacros.conf var/lib/vdr/
-ln -s %{_sysconfdir}/vdr/sources.conf var/lib/vdr/
-ln -s %{_sysconfdir}/vdr/svdrphosts.conf var/lib/vdr/
-ln -s %{_sysconfdir}/vdr/plugins var/lib/vdr/
+ln -s %{_sysconfdir}/vdr/channels.conf var/lib/vdr
+ln -s %{_sysconfdir}/vdr/diseqc.conf var/lib/vdr
+ln -s %{_sysconfdir}/vdr/keymacros.conf var/lib/vdr
+ln -s %{_sysconfdir}/vdr/sources.conf var/lib/vdr
+ln -s %{_sysconfdir}/vdr/svdrphosts.conf var/lib/vdr
+ln -s %{_sysconfdir}/vdr/plugins var/lib/vdr
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -125,13 +128,14 @@
 %attr(755,root,root) %{_libdir}/libvdr-svccli.so*
 %attr(755,root,root) %{_libdir}/libvdr-svcsvr.so*
 %attr(755,root,root) %{_libdir}/libvdr-svdrpdemo.so*
+# XXX: no such user; and is it proper group?
 %attr(755,video,video) /var/lib/%{name}
 %{_mandir}/*/*
 
 %if %{with sc}
 %files sc
 %defattr(644,root,root,755)
-%doc PLUGINS/src/sc/HISTORY PLUGINS/src/sc/README
+%doc PLUGINS/src/sc/{HISTORY,README}
 %attr(755,root,root) %{_libdir}/libsc*
 %attr(755,root,root) %{_libdir}/libvdr-sc.so*
 %endif
@@ -139,7 +143,7 @@
 %if %{with xine}
 %files xine
 %defattr(644,root,root,755)
-%doc PLUGINS/src/xine/HISTORY PLUGINS/src/xine/MANUAL PLUGINS/src/xine/INSTALL PLUGINS/src/xine/README
+%doc PLUGINS/src/xine/{HISTORY,MANUAL,INSTALL,README}
 %attr(755,root,root) %{_libdir}/libvdr-xine.so*
 %endif
 
@@ -149,6 +153,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/09/11 17:29:00  qboosh
+- pl fixes, some cleanups
+
 Revision 1.1  2006/08/26 10:10:07  luzik
 - VDR initial release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vdr.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list