packages: z88dk/z88dk.spec - package manuals in mandir

glen glen at pld-linux.org
Sun Nov 7 22:44:39 CET 2010


Author: glen                         Date: Sun Nov  7 21:44:39 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package manuals in mandir

---- Files affected:
packages/z88dk:
   z88dk.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: packages/z88dk/z88dk.spec
diff -u packages/z88dk/z88dk.spec:1.30 packages/z88dk/z88dk.spec:1.31
--- packages/z88dk/z88dk.spec:1.30	Sun Nov  7 22:34:18 2010
+++ packages/z88dk/z88dk.spec	Sun Nov  7 22:44:34 2010
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# TODO
+# - package like other cross compilers: /usr/<platform> ?
+# - rename conflicting manpages?
 %define		subver	20101107
 %define		rel	1
 Summary:	Z88 Development Kit
@@ -43,9 +46,12 @@
 %setup -q -n %{name}
 %patch0 -p1
 
+
 rm doc/netman/.sock_open.man.swp
 find -name CVS | xargs rm -rf
 
+mv doc/netman .
+
 %build
 PWD=$(pwd)
 export Z80_OZFILES=$PWD/lib/
@@ -64,8 +70,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix} \
-	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{_mandir}/man3,%{_examplesdir}/%{name}-%{version}}
 
 %{__make} install \
 	prefix=%{_prefix} \
@@ -75,14 +80,23 @@
 install -p tapmaker $RPM_BUILD_ROOT%{_bindir}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+cp -a netman/man3z/* $RPM_BUILD_ROOT%{_mandir}/man3
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README.1st EXTENSIONS doc/* support LICENSE
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/appmake
+%attr(755,root,root) %{_bindir}/copt
+%attr(755,root,root) %{_bindir}/sccz80
+%attr(755,root,root) %{_bindir}/tapmaker
+%attr(755,root,root) %{_bindir}/z80asm
+%attr(755,root,root) %{_bindir}/zcc
+%attr(755,root,root) %{_bindir}/zcpp
 %{_datadir}/%{name}
+%{_mandir}/man3/*.3*
 
 %files examples
 %defattr(644,root,root,755)
@@ -94,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2010/11/07 21:44:34  glen
+- package manuals in mandir
+
 Revision 1.30  2010/11/07 21:34:18  glen
 - cosmetics, do not package vim swap file and CVS dirs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/z88dk/z88dk.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list