SPECS: cogito.spec - built documentation (BR:asciidoc and xmlto) -...

witekfl witekfl at pld-linux.org
Wed Jan 11 12:09:31 CET 2006


Author: witekfl                      Date: Wed Jan 11 11:09:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- built documentation (BR:asciidoc and xmlto)
- rel 2

---- Files affected:
SPECS:
   cogito.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/cogito.spec
diff -u SPECS/cogito.spec:1.21 SPECS/cogito.spec:1.22
--- SPECS/cogito.spec:1.21	Wed Dec 21 22:36:45 2005
+++ SPECS/cogito.spec	Wed Jan 11 12:09:25 2006
@@ -6,15 +6,17 @@
 Summary(pl):	Cogito - popularny system kontroli wersji korzystający z git
 Name:		cogito
 Version:	0.16.2
-Release:	1
+Release:	2
 Vendor:		Petr Baudis <pasky at ucw.cz>
 License:	GPL v2
 Group:		Development/Tools
 Source0:	http://kernel.org/pub/software/scm/cogito/%{name}-%{version}.tar.bz2
 # Source0-md5:	2eca7ad8af6eaea76a440867cc501756
 URL:		http://kernel.org/pub/software/scm/cogito/
+BuildRequires:	asciidoc
 BuildRequires:	curl-devel
 BuildRequires:	openssl-devel
+BuildRequires:	xmlto
 BuildRequires:	zlib-devel
 Requires:	diffutils
 Requires:	git-core
@@ -43,6 +45,8 @@
 %{__make} \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} -Wall '-DSHA1_HEADER=\$(SHA1_HEADER)'"
+	
+%{__make} -C Documentation
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,15 +56,20 @@
 	prefix=%{_prefix} \
 	libdir=%{_libdir}/cogito
 
+%{__make} -C Documentation install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	mandir=%{_mandir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 # COPYING contains additional note
-%doc COPYING README Documentation/*
+%doc COPYING README Documentation/*.html
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/cogito
+%{_mandir}/man*/*
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/01/11 11:09:25  witekfl
+- built documentation (BR:asciidoc and xmlto)
+- rel 2
+
 Revision 1.21  2005/12/21 21:36:45  adamg
 - updated to 0.16.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cogito.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list