ta-lib.spec.in 465 B

12345678910111213141516171819202122232425
  1. Summary: Technical Analysis Library
  2. Name: ta-lib
  3. Version: @VERSION@
  4. Release: 1
  5. License: BSD
  6. Group: Development/Libraries
  7. %description
  8. TA-Lib provides common functions for the technical analysis of stock/future/commodity market data.
  9. %build
  10. ./autogen.sh
  11. CFLAGS="-g0 -O2 -pipe" ./configure --prefix=/usr
  12. make
  13. %install
  14. rm -rf $RPM_BUILD_ROOT
  15. make DESTDIR=$RPM_BUILD_ROOT install
  16. %post -p /sbin/ldconfig
  17. %postun -p /sbin/ldconfig
  18. %files
  19. %defattr(-,root,root)
  20. /usr