packages: mplayer/mplayer.spec - html docs in -doc

glen glen at pld-linux.org
Thu Feb 2 09:23:49 CET 2012


Author: glen                         Date: Thu Feb  2 08:23:49 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- html docs in -doc

---- Files affected:
packages/mplayer:
   mplayer.spec (1.460 -> 1.461) 

---- Diffs:

================================================================
Index: packages/mplayer/mplayer.spec
diff -u packages/mplayer/mplayer.spec:1.460 packages/mplayer/mplayer.spec:1.461
--- packages/mplayer/mplayer.spec:1.460	Fri Jan 27 14:27:26 2012
+++ packages/mplayer/mplayer.spec	Thu Feb  2 09:23:44 2012
@@ -94,7 +94,7 @@
 
 %define		subver	rc5
 %define		svnver	33917
-%define		rel	2
+%define		rel	3
 Summary:	MPlayer - THE Movie Player for UN*X
 Summary(de.UTF-8):	MPlayer ist ein unter der freien GPL-Lizenz stehender Media-Player
 Summary(es.UTF-8):	Otro reproductor de películas
@@ -337,6 +337,13 @@
 %description common -l pl.UTF-8
 Pliki konfiguracyjne, strona manuala i dokumentacja HTML dla MPlayera.
 
+%package doc
+Summary:	HTML documentation for %{name}
+Group:		Documentation
+
+%description doc
+HTML Documentation for %{name}.
+
 %package -n mencoder
 Summary:	MEncoder - a movie encoder for Linux
 Summary(pl.UTF-8):	MEncoder - koder filmów dla Linuksa
@@ -637,14 +644,9 @@
 %attr(755,root,root) %{_bindir}/mencoder*
 %endif
 
-%files common
-%defattr(644,root,root,755)
-%doc DOCS/tech
-%{?with_shared:%attr(755,root,root) %{_libdir}/libmplayer.so}
-%if %{with win32}
-%doc etc/codecs.win32.conf
-%endif
 %if %{with doc}
+%files doc
+%doc DOCS/tech
 # HTML and XML-generated docs
 %doc DOCS/HTML/en
 %lang(cs) %doc DOCS/HTML/cs
@@ -656,7 +658,14 @@
 %lang(ru) %doc DOCS/HTML/ru
 #%lang(zh_CN) %doc DOCS/zh
 %endif
+
+%files common
+%defattr(644,root,root,755)
 %doc AUTHORS README
+%{?with_shared:%attr(755,root,root) %{_libdir}/libmplayer.so}
+%if %{with win32}
+%doc etc/codecs.win32.conf
+%endif
 
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
@@ -683,6 +692,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.461  2012/02/02 08:23:44  glen
+- html docs in -doc
+
 Revision 1.460  2012/01/27 13:27:26  cactus
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mplayer/mplayer.spec?r1=1.460&r2=1.461&f=u



More information about the pld-cvs-commit mailing list