packages: git-core/git-core.spec - move docs to -doc

glen glen at pld-linux.org
Fri Dec 4 14:26:10 CET 2009


Author: glen                         Date: Fri Dec  4 13:26:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- move docs to -doc

---- Files affected:
packages/git-core:
   git-core.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: packages/git-core/git-core.spec
diff -u packages/git-core/git-core.spec:1.181 packages/git-core/git-core.spec:1.182
--- packages/git-core/git-core.spec:1.181	Fri Dec  4 00:46:48 2009
+++ packages/git-core/git-core.spec	Fri Dec  4 14:26:05 2009
@@ -100,6 +100,20 @@
 Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
 katalogu.
 
+%package doc
+Summary:	Documentation for git-core
+Summary(pl.UTF-8):	Dokumentacja do git-core
+Group:		Documentation
+
+%description doc
+Documentation for git-core.
+
+%description doc -l pl.UTF-8
+Dokumentacja do git-core.
+
+%description doc -l fr.UTF-8
+Javadoc pour git-core.
+
 %package daemon-inetd
 Summary:	Files necessary to run git-daemon as an inetd service
 Summary(pl.UTF-8):	Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd
@@ -454,16 +468,11 @@
 %files
 %defattr(644,root,root,755)
 %doc README contrib
+%attr(755,root,root) %{_bindir}/git
+%attr(755,root,root) %{_bindir}/git-*
+
 %if %{with doc}
-%doc Documentation/RelNotes*
-%doc Documentation/*.html Documentation/howto Documentation/technical
 %{_mandir}/man1/git-*.1*
-%if 0
-# rpm doesn't support exclude for %%doc
-%exclude Documentation/*svn*.html
-%exclude Documentation/*git-cvs*.html
-%exclude Documentation/git-archimport.html
-%endif
 %exclude %{_mandir}/man1/git-svn.1*
 %exclude %{_mandir}/man1/git-cvs*.1*
 %{_mandir}/man1/git.1*
@@ -480,19 +489,27 @@
 %{_mandir}/man7/gittutorial.7*
 %{_mandir}/man7/gitworkflows.7*
 %endif
-%attr(755,root,root) %{_bindir}/git
-%attr(755,root,root) %{_bindir}/git-*
+
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*-*
 %attr(755,root,root) %{_libdir}/%{name}/git
+
 %exclude %{_libdir}/%{name}/git-gui
 %exclude %{_libdir}/%{name}/git-svn
 %exclude %{_libdir}/%{name}/git-archimport
 %exclude %{_libdir}/%{name}/git-cvs*
 %exclude %{_libdir}/%{name}/*email*
+
 %{_datadir}/%{name}
+
 %{_localstatedir}/lib/git
 
+%if %{with doc}
+%files doc
+%doc Documentation/RelNotes*
+%doc Documentation/*.html Documentation/howto Documentation/technical
+%endif
+
 %files daemon-inetd
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon
@@ -563,33 +580,27 @@
 %attr(755,root,root) %{_libdir}/%{name}/git-svn
 %if %{with doc}
 %{_mandir}/man1/git-svn.1*
-%doc Documentation/*svn*.html
 %endif
 
 %files cvs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/git-cvs*
 %if %{with doc}
-%doc Documentation/*git-cvs*.html
 %{_mandir}/man1/git-cvs*.1*
 %{_mandir}/man7/gitcvs-migration.7*
 %endif
 
 %files arch
 %defattr(644,root,root,755)
-%doc Documentation/git-archimport.txt
 %attr(755,root,root) %{_libdir}/%{name}/git-archimport
 %if %{with doc}
-%doc Documentation/git-archimport.html
 %{_mandir}/man1/git-archimport.1*
 %endif
 
 %files email
 %defattr(644,root,root,755)
-%doc Documentation/*email*.txt
 %attr(755,root,root) %{_libdir}/%{name}/*email*
 %if %{with doc}
-%doc Documentation/*email*.html
 %{_mandir}/man1/*email*.1*
 %endif
 
@@ -613,6 +624,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2009/12/04 13:26:05  glen
+- move docs to -doc
+
 Revision 1.181  2009/12/03 23:46:48  draenog
 - up to 1.6.5.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/git-core/git-core.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list