SPECS: git-core.spec - build documentation (BR: asciidoc, xmlto) -...

witekfl witekfl at pld-linux.org
Tue Jan 10 22:16:35 CET 2006


Author: witekfl                      Date: Tue Jan 10 21:16:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build documentation (BR: asciidoc, xmlto)
- rel 2

---- Files affected:
SPECS:
   git-core.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/git-core.spec
diff -u SPECS/git-core.spec:1.11 SPECS/git-core.spec:1.12
--- SPECS/git-core.spec:1.11	Tue Jan 10 21:21:34 2006
+++ SPECS/git-core.spec	Tue Jan 10 22:16:30 2006
@@ -5,16 +5,18 @@
 Summary(pl):	Prymitywne narzędzie do śledzenia treści
 Name:		git-core
 Version:	1.0.7
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Development/Tools
 Source0:	http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
 # Source0-md5:	4f8292542771b2303241b0bfea7101ed
 URL:		http://git.or.cz/
+BuildRequires:	asciidoc
 BuildRequires:	curl-devel
 BuildRequires:	openssl-devel
 BuildRequires:	perl-base
 BuildRequires:	python
+BuildRequires:	xmlto
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -61,6 +63,8 @@
 	CFLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}"
 
+%{__make} -C Documentation
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -68,13 +72,19 @@
 	prefix=%{_prefix} \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__make} -C Documentation install \
+	prefix=%{_prefix} \
+	mandir=%{_mandir} \
+	DESTDIR=$RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README Documentation/*.html Documentation/howto Documentation/technical
 %attr(755,root,root) %{_bindir}/*
+%{_mandir}/man*/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*
 
@@ -84,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/01/10 21:16:30  witekfl
+- build documentation (BR: asciidoc, xmlto)
+- rel 2
+
 Revision 1.11  2006/01/10 20:21:34  witekfl
 - missing build phase
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/git-core.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list