diff options
author | Sangjung woo <sangjung.woo@samsung.com> | 2017-09-28 13:58:54 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-03-13 16:04:25 +0900 |
commit | fb77de395f4020331fbb68816033b035bd204eac (patch) | |
tree | c5097f718bdda8d84e59cd7587378ae90c7998bd /packaging | |
parent | ff2433f306c8b51204b875f5d5ef2c09002fcdfa (diff) | |
download | lapack-tizen_6.0.tar.gz lapack-tizen_6.0.tar.bz2 lapack-tizen_6.0.zip |
packaging: Enable cblas packagetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen_6.0_hotfix/20201103.115102submit/tizen_6.0_hotfix/20201102.192902submit/tizen_6.0/20201029.205502submit/tizen_5.5_wearable_hotfix/20201026.184307submit/tizen_5.5_mobile_hotfix/20201026.185107submit/tizen_5.5/20191031.000007submit/tizen_5.0/20181101.000006submit/tizen/20180313.231549accepted/tizen/unified/20180314.062013accepted/tizen/8.0/unified/20231005.095011accepted/tizen/7.0/unified/hotfix/20221116.110924accepted/tizen/7.0/unified/20221110.061828accepted/tizen/6.5/unified/20211029.013210accepted/tizen/6.0/unified/hotfix/20201103.045529accepted/tizen/6.0/unified/hotfix/20201102.234238accepted/tizen/6.0/unified/20201030.105429accepted/tizen/5.5/unified/wearable/hotfix/20201027.095741accepted/tizen/5.5/unified/mobile/hotfix/20201027.073410accepted/tizen/5.5/unified/20191031.010636accepted/tizen/5.0/unified/20181102.024111tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
* Enable cblas package
* Remove unnecessary description
Signed-off-by: Sangjung woo <sangjung.woo@samsung.com>
Corrected subject format.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/lapack.spec | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/packaging/lapack.spec b/packaging/lapack.spec index a96763e6..e31f9333 100644 --- a/packaging/lapack.spec +++ b/packaging/lapack.spec @@ -45,7 +45,6 @@ Summary: LAPACKE development files Group: Development/Libraries/C and C++ Requires: liblapacke3 = %{version} Provides: lapacke = %{version} -Provides: lapacke-devel-static = %{version} %description -n lapacke-devel LAPACKE headers and development files. @@ -63,10 +62,6 @@ linear algebra. BLAS is fast and well-tested, was written in FORTRAN 77 and built with gfortran. BLAS manual pages are available in the blas-man package. -%description -n blas -BLAS (Basic Linear Algebra Subprograms) is a standard library which -provides a number of basic algorithms for numerical algebra. - %package -n blas-devel Summary: BLAS development libraries Group: Development/Libraries @@ -75,6 +70,23 @@ Requires: blas = %{version}-%{release} %description -n blas-devel BLAS development libraries (shared). +%package -n cblas +License: Public Domain, Freeware +Summary: A standard C language APIs for BLAS +Group: Productivity/Scientific/Math + +%description -n cblas +This library provides a native C interface to BLAS routines available +to facilitate usage of BLAS functionality for C programmers. + +%package -n cblas-devel +Summary: BLAS development libraries +Group: Development/Libraries +Requires: cblas = %{version}-%{release} + +%description -n cblas-devel +CBLAS development libraries (shared). + %package -n liblapack3 License: Public Domain, Freeware Summary: LAPACK Shared Library @@ -108,13 +120,16 @@ linear algebra. mkdir -p build cd build -%cmake .. -DLAPACKE_WITH_TMG=YES -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_LIBDIR=%{_libdir} +%cmake .. -DLAPACKE_WITH_TMG=YES \ + -DCBLAS=ON \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} make %{?_smp_mflags} %install cd build -make DESTDIR=%{buildroot} install +%make_install # Remove unnecessary files rm -rf %{buildroot}%{_libdir}/cmake @@ -152,7 +167,7 @@ rm -rf %{buildroot} %files -n lapacke-devel %defattr(-,root,root,-) %{_libdir}/liblapacke.so -%{_includedir}/*.h +%{_includedir}/lapacke*.h %{_libdir}/pkgconfig/lapacke.pc %{_libdir}/pkgconfig/lapack.pc @@ -164,6 +179,15 @@ rm -rf %{buildroot} %{_libdir}/libblas.so %{_libdir}/pkgconfig/blas.pc +%files -n cblas +%defattr(-,root,root) +%{_libdir}/libcblas.so.* + +%files -n cblas-devel +%{_includedir}/cblas*.h +%{_libdir}/libcblas.so +%{_libdir}/pkgconfig/cblas.pc + %files -n libblas3 %defattr(-,root,root) %{_libdir}/libblas.so.%version |