packages: dshowserver/dshowserver.spec - use %doc macro!!! Don't install do...
pawelz
pawelz at pld-linux.org
Tue May 4 01:18:21 CEST 2010
Author: pawelz Date: Mon May 3 23:18:21 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use %doc macro!!! Don't install documentation manually
- don't package COPYING since it contains well known GPL v2 license
- dropped %post saying where to find README file. Every PLD user knows that.
---- Files affected:
packages/dshowserver:
dshowserver.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/dshowserver/dshowserver.spec
diff -u packages/dshowserver/dshowserver.spec:1.12 packages/dshowserver/dshowserver.spec:1.13
--- packages/dshowserver/dshowserver.spec:1.12 Sat Jan 9 20:01:13 2010
+++ packages/dshowserver/dshowserver.spec Tue May 4 01:18:16 2010
@@ -77,24 +77,19 @@
rm -rf $RPM_BUILD_ROOT
%{__make} install -C dshowserver PREFIX=$RPM_BUILD_ROOT/usr
install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-0.svn%{svn}
#install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
#install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
cp -a man/ds* $RPM_BUILD_ROOT%{_mandir}/man1
-cp -a {COPYING,README} $RPM_BUILD_ROOT%{_docdir}/%{name}-0.svn%{svn}
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-echo "How to use that - check %{_docdir}/%{name}-0.svn%{svn}/README"
-
%files
%defattr(644,root,root,755)
+%doc README
%attr(755,root,video) %{_bindir}/dshowserver
%attr(755,root,video) %{_libdir}/dshowserver/dshowserver.exe.so
%{_mandir}/man1/ds*
-%{_docdir}/%{name}-0.svn%{svn}/*
#%files -n registercodec
#%defattr(644,root,root,755)
@@ -106,6 +101,11 @@
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2010/05/03 23:18:16 pawelz
+- use %doc macro!!! Don't install documentation manually
+- don't package COPYING since it contains well known GPL v2 license
+- dropped %post saying where to find README file. Every PLD user knows that.
+
Revision 1.12 2010/01/09 19:01:13 w.kier
- removed registerodec build - package works via wine
- added dshowserver-make.patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dshowserver/dshowserver.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list