rpms/ncview/FC-6 ncview.spec,1.6,1.7

Ed Hill (edhill) fedora-extras-commits at redhat.com
Wed Nov 15 06:23:15 UTC 2006


Author: edhill

Update of /cvs/extras/rpms/ncview/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22110

Modified Files:
	ncview.spec 
Log Message:
more cleanups



Index: ncview.spec
===================================================================
RCS file: /cvs/extras/rpms/ncview/FC-6/ncview.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ncview.spec	15 Nov 2006 04:33:31 -0000	1.6
+++ ncview.spec	15 Nov 2006 06:22:45 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           ncview
 Version:        1.92e
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        A visual browser for netCDF format files
 Group:          Applications/Engineering
 License:        GPL
@@ -37,19 +37,20 @@
 #  The parallel build was tested and it does NOT work.
 #  make %{?_smp_mflags}
 make
+sed s=NCVIEW_LIB_DIR=%{_datadir}/ncview= < ncview.1.sed > ncview.1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-export XAPPLRESDIR="${RPM_BUILD_ROOT}%{_libdir}/X11/app-defaults"
-mkdir -p "${RPM_BUILD_ROOT}%{_libdir}/X11/app-defaults"
+mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults
+cp Ncview-appdefaults ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults/Ncview
+cat > install-appdef <<EOF
+#!/bin/bash
+echo "no longer needed"
+EOF
 %makeinstall NCVIEW_LIB_DIR=${RPM_BUILD_ROOT}%{_datadir}/ncview BINDIR=${RPM_BUILD_ROOT}%{_bindir} MANDIR=${RPM_BUILD_ROOT}%{_mandir}/man1
 chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/ncview/*
-chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/X11/app-defaults/Ncview
+chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults/Ncview
 chmod 644 ${RPM_BUILD_ROOT}%{_mandir}/man1/*
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults
-mv ${RPM_BUILD_ROOT}%{_libdir}/X11/app-defaults/Ncview \
-   ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults
-rm -rf ${RPM_BUILD_ROOT}%{_libdir}/X11
 
 
 %clean
@@ -61,11 +62,14 @@
 %doc README COPYING
 %{_bindir}/*
 %{_datadir}/ncview
-%{_datadir}/X11/app-defaults/*
+%{_datadir}/X11/app-defaults/Ncview
 %{_mandir}/man1/*
 
 
 %changelog
+* Tue Nov 14 2006 Ed Hill <ed at eh3.com> - 1.92e-10
+- more cleanups for check-buildroot
+
 * Tue Nov 14 2006 Ed Hill <ed at eh3.com> - 1.92e-9
 - bz 215632
 




More information about the scm-commits mailing list