Changeset 1720 for trunk


Ignore:
Timestamp:
28/10/11 00:24:41 (7 months ago)
Author:
Freddie Akeroyd
Message:

put java .so into java package refs #295

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_rpm.in

    r1718 r1720  
    3434fi 
    3535# buildroot is actually where we install to 
    36 env NEXUS_CONFIG_OPTIONS="$build_args" rpmbuild -ba --buildroot $nxtop/installroot nexus.spec --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" 
     36env NEXUS_CONFIG_OPTIONS="$build_args" rpmbuild -ba --buildroot $nxtop/installroot --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" nexus.spec 
  • trunk/nexus_spec.in

    r1688 r1720  
    104104%doc README NEWS ChangeLog AUTHORS COPYING INSTALL 
    105105# %docdir /usr/local/doc 
    106 %{_libdir}/*.so* 
     106%{_libdir}/libNeXus*.so* 
     107%{_libdir}/libnxconvert*.so* 
    107108#%ifarch x86_64 
    108109#/usr/lib/*.so* 
     
    111112%files devel 
    112113%defattr(-,root,root) 
    113 %{_libdir}/*.a 
     114%{_libdir}/libNeXus*.a 
     115%{_libdir}/libnxconvert*.a 
    114116%{_libdir}/pkgconfig 
    115117%{_includedir}/* 
     
    118120%defattr(-,root,root) 
    119121%{_bindir}/* 
     122%{_datadir}/man 
    120123 
    121124%files doc 
    122125%defattr(-,root,root) 
    123 %{_datadir}/man 
    124126%{_datadir}/nexus 
    125127 
     
    131133%defattr(-,root,root) 
    132134%{_datadir}/java 
     135%{_libdir}/libjnexus.so* 
     136%{_libdir}/libjnexus.a 
    133137 
    134138%clean 
     
    136140 
    137141%post 
     142if test `whoami` = root; then ldconfig; fi 
     143 
     144%post tools 
    138145if [ "$RPM_INSTALL_PREFIX" != "" ]; then 
    139146    INSTALL_PREFIX=$RPM_INSTALL_PREFIX 
     
    142149fi 
    143150 
    144 %post tools 
    145151( cd $INSTALL_PREFIX/bin; for i in nxbuild; do \ 
    146152  sed -i -e "s|^prefix=.*|prefix=$INSTALL_PREFIX|" $i; done ) 
    147 if test `whoami` = root; then ldconfig; fi 
    148153 
    149154%postun 
Note: See TracChangeset for help on using the changeset viewer.