Changeset 1753 for trunk


Ignore:
Timestamp:
14/11/11 11:45:19 (6 months ago)
Author:
Freddie Akeroyd
Message:

Pass configure options down into spec file. Refs #302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nexus_spec.in

    r1720 r1753  
    6464data is stored using the HDF format from NCSA. This package provides 
    6565 
    66 %package python 
    67 Summary: Libraries and utilities for using NeXus format data files 
    68 Group: Development/Libraries 
     66@HAVE_PYTHON_TRUE@%package python 
     67@HAVE_PYTHON_TRUE@Summary: Libraries and utilities for using NeXus format data files 
     68@HAVE_PYTHON_TRUE@Group: Development/Libraries 
     69@HAVE_PYTHON_TRUE@ 
     70@HAVE_PYTHON_TRUE@%description python 
     71@HAVE_PYTHON_TRUE@NeXus is an international standard for exchanging data files 
     72@HAVE_PYTHON_TRUE@among Neutron, Muon and X-ray science facilities. The underlying 
     73@HAVE_PYTHON_TRUE@data is stored using the HDF format from NCSA. This package provides 
    6974 
    70 %description python 
    71 NeXus is an international standard for exchanging data files 
    72 among Neutron, Muon and X-ray science facilities. The underlying 
    73 data is stored using the HDF format from NCSA. This package provides 
    74  
    75 %package java 
    76 Summary: Libraries and utilities for using NeXus format data files 
    77 Group: Development/Libraries 
    78  
    79 %description java 
    80 NeXus is an international standard for exchanging data files 
    81 among Neutron, Muon and X-ray science facilities. The underlying 
    82 data is stored using the HDF format from NCSA. This package provides 
     75@HAVE_JAVAC_TRUE@%package java 
     76@HAVE_JAVAC_TRUE@Summary: Libraries and utilities for using NeXus format data files 
     77@HAVE_JAVAC_TRUE@Group: Development/Libraries 
     78@HAVE_JAVAC_TRUE@ 
     79@HAVE_JAVAC_TRUE@%description java 
     80@HAVE_JAVAC_TRUE@NeXus is an international standard for exchanging data files 
     81@HAVE_JAVAC_TRUE@among Neutron, Muon and X-ray science facilities. The underlying 
     82@HAVE_JAVAC_TRUE@data is stored using the HDF format from NCSA. This package provides 
    8383 
    8484%prep 
     
    126126%{_datadir}/nexus 
    127127 
    128 %files python 
    129 %defattr(-,root,root) 
    130 /usr/lib/python*/site-packages/nxs 
     128@HAVE_PYTHON_TRUE@%files python 
     129@HAVE_PYTHON_TRUE@%defattr(-,root,root) 
     130@HAVE_PYTHON_TRUE@/usr/lib/python*/site-packages/nxs 
    131131 
    132 %files java 
    133 %defattr(-,root,root) 
    134 %{_datadir}/java 
    135 %{_libdir}/libjnexus.so* 
    136 %{_libdir}/libjnexus.a 
     132@HAVE_JAVAC_TRUE@%files java 
     133@HAVE_JAVAC_TRUE@%defattr(-,root,root) 
     134@HAVE_JAVAC_TRUE@%{_datadir}/java 
     135@HAVE_JAVAC_TRUE@%{_libdir}/libjnexus.so* 
     136@HAVE_JAVAC_TRUE@%{_libdir}/libjnexus.a 
    137137 
    138138%clean 
Note: See TracChangeset for help on using the changeset viewer.