SHA256
8
0
forked from pool/ta-lib

Accepting request 101945 from home:jengelh:branches:devel:libraries:c_c++

- Use shlib name rpmlint wants
- Add explicit autotools buildrequires for factory/12.2

OBS-URL: https://build.opensuse.org/request/show/101945
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ta-lib?expand=0&rev=7
This commit is contained in:
Ismail Dönmez
2012-01-29 13:34:30 +00:00
committed by Git OBS Bridge
parent a94d71be8f
commit 26eaef1ce5
2 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 29 12:31:26 UTC 2012 - jengelh@medozas.de
- Use shlib name rpmlint wants
- Add explicit autotools buildrequires for factory/12.2
-------------------------------------------------------------------
Sun Jan 29 01:36:22 UTC 2012 - jengelh@medozas.de

View File

@@ -6,19 +6,21 @@ License: BSD
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}-src.tar.bz2
BuildRequires: autoconf >= 2.59 automake libtool
%description
TA-Lib provides common functions for the technical analysis of stock/future/commodity market data.
%package -n libta0
%package -n libta_lib0
Summary: Technical Analysis Library
Group: Development/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} <= %{version}
# O/P added for 12.2. Must be <= until version update.
Obsoletes: libta0 <= %version
Provides: libta0 = %version
%description -n libta0
%description -n libta_lib0
TA-Lib provides common functions for the technical analysis of stock/future/commodity market data.
@@ -26,7 +28,7 @@ TA-Lib provides common functions for the technical analysis of stock/future/comm
%package -n libta-devel
Summary: Technical Analysis Library
Group: Development/Libraries
Requires: libta0 = %{version} glibc-devel
Requires: libta_lib0 = %{version} glibc-devel
Provides: %{name}-devel = %{version}
Obsoletes: %{name}-devel <= %{version}
@@ -61,13 +63,14 @@ make -j1
%install
%{__make} DESTDIR=%{buildroot} install
rm -f "%buildroot/%_libdir"/*.la
%post -n libta0 -p /sbin/ldconfig
%postun -n libta0 -p /sbin/ldconfig
%post -n libta_lib0 -p /sbin/ldconfig
%postun -n libta_lib0 -p /sbin/ldconfig
%files -n libta0
%files -n libta_lib0
%defattr(-,root,root)
%{_libdir}/libta_*.so.0*
%{_libdir}/libta_lib.so.0*
%files -n libta-devel
%defattr(-,root,root)
@@ -75,6 +78,5 @@ make -j1
%dir %{_includedir}/ta-lib
%{_includedir}/ta-lib/*.h
%{_libdir}/libta_*.so
%exclude %{_libdir}/*.la
%changelog