--- a/SUNWncurses.spec Mon Aug 03 03:57:38 2009 +0000
+++ b/SUNWncurses.spec Mon Aug 03 09:11:00 2009 +0000
@@ -84,7 +84,7 @@
%ncurses.install -d %name-%version/%{base_arch}
-# install man page
+#install man page
#rm -rf $RPM_BUILD_ROOT%{_mandir}
#cd %{_builddir}/%name-%version/sun-manpages
#make install DESTDIR=$RPM_BUILD_ROOT
@@ -124,11 +124,17 @@
%{_libdir}/%{_arch64}/lib*.so.*
%endif
-#%dir %attr(0755, root, bin) %{_mandir}
-#%dir %attr(0755, root, bin) %{_mandir}/man1
-#%{_mandir}/man1/*
-#%dir %attr(0755, root, bin) %{_mandir}/man3
-#%{_mandir}/man3/*
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*
+%dir %attr(0755, root, bin) %{_mandir}/man3
+%{_mandir}/man3/*
+%dir %attr(0755, root, bin) %{_mandir}/man5
+%{_mandir}/man5/*
+%dir %attr(0755, root, bin) %{_mandir}/man7
+%{_mandir}/man7/*
+
+%doc -d %{base_arch}/ncurses-%version ANNOUNCE AUTHORS MANIFEST NEWS README
%files devel
@@ -138,11 +144,9 @@
%dir %attr (0755, root, bin) %{_preincludedir}
%{_preincludedir}/*
-#%ifarch amd64 sparcv9
-#%dir %attr (0755, root, bin) %{_includedir}/%{_arch64}
-#%endif
-
%changelog
+* Mon Aug 03 2009 - [email protected]
+- fix 10426 SUNWncurses missed man page and docs
* Mon Jul 2002009 - [email protected]
- Bump to 5.7
* Tue Jue 02 2009 - [email protected]
--- a/base-specs/ncurses.spec Mon Aug 03 03:57:38 2009 +0000
+++ b/base-specs/ncurses.spec Mon Aug 03 09:11:00 2009 +0000
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Owner: yuntong.jin
+# Owner: jouby
# bugdb :
#
Name: ncurses
@@ -66,6 +66,7 @@
--includedir=%{_preincludedir} \
--datadir=%{_datadir} \
--bindir=%{_bindir} \
+ --mandir=%{_mandir} \
--libdir=%{_libdir} \
--with-normal \
--with-shared \
@@ -82,7 +83,8 @@
%install
make DESTDIR=$RPM_BUILD_ROOT install \
SITEPREFIX=/dummy VENDORPREFIX=/dummy PERLPREFIX=/dummy
-rm -rf $RPM_BUILD_ROOT/%{_prefix}/man
+
+#rm -rf $RPM_BUILD_ROOT/%{_prefix}/man
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
%files
@@ -95,7 +97,6 @@
%files devel
%defattr(-, root, root)
-#%{_libdir}/*.a
%{_preincludedir}/*.h
%clean