Changeset 1227
- Timestamp:
- 14/04/09 18:34:02 (3 years ago)
- File:
-
- 1 edited
-
trunk/nexus_spec.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nexus_spec.in
r1059 r1227 24 24 # Prefix allows our package to be relocatable i.e. installable in 25 25 # other than just the /usr/local directory 26 Prefix: /usr/local 26 #Prefix: /usr 27 27 # BuildRoot is the root for software installation 28 28 # this value will not usually be used, but something must … … 37 37 access routines, documentation, examples and a basic NeXus file browser. 38 38 39 #%package devel 40 #Summary: Libraries and utilities for using NeXus format data files 41 #Group: Development/Libraries 42 # 43 #%description devel 44 #NeXus is an international standard for exchanging data files 45 #among Neutron, Muon and X-ray science facilities. The underlying 46 #data is stored using the HDF format from NCSA. This package provides 47 39 48 %prep 40 49 %setup -q … … 45 54 ./configure --prefix="$RPM_INSTALL_PREFIX" $NEXUS_CONFIG_OPTIONS 46 55 else 47 ./configure --prefix= /usr/local$NEXUS_CONFIG_OPTIONS56 ./configure --prefix=%{_prefix} --libdir=%{_libdir} $NEXUS_CONFIG_OPTIONS 48 57 fi 49 58 make … … 58 67 %doc README NEWS ChangeLog AUTHORS COPYING INSTALL 59 68 # %docdir /usr/local/doc 60 /usr/local/lib 61 /usr/local/bin 62 /usr/local/include 63 /usr/local/share 69 %{_libdir}/* 70 %{_bindir}/* 71 %{_datadir}/* 72 %{_includedir}/* 73 #%files devel 74 #%{_libdir}/*.a 75 #%{_libdir}/*.so* 64 76 65 77 %clean … … 70 82 INSTALL_PREFIX=$RPM_INSTALL_PREFIX 71 83 else 72 INSTALL_PREFIX= /usr/local84 INSTALL_PREFIX=%{_prefix} 73 85 fi 74 86 ( cd $INSTALL_PREFIX/bin; for i in nxbuild; do \
Note: See TracChangeset
for help on using the changeset viewer.
