automatic version update by autodist [release 3.30-1mamba;Mon Aug 22 2022]
This commit is contained in:
parent
7e2fc20544
commit
e396f34df5
45
libsvm.spec
45
libsvm.spec
@ -1,12 +1,12 @@
|
||||
Name: libsvm
|
||||
Version: 3.25
|
||||
Version: 3.30
|
||||
Release: 1mamba
|
||||
Summary: A simple, easy-to-use, and efficient software for SVM classification and regression
|
||||
Group: Development/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
||||
## GITSOURCE https://github.com/cjlin1/libsvm.git v320
|
||||
Source: https://github.com/cjlin1/libsvm.git/v320/libsvm-%{version}.tar.bz2
|
||||
Patch0: libsvm-3.20-Makefile.patch
|
||||
@ -14,7 +14,6 @@ License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
#BuildRequires: libpython-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gcc-c++
|
||||
@ -31,11 +30,20 @@ It also provides an automatic model selection tool for C-SVM classification.
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%package tools
|
||||
Group: Development/Tools
|
||||
Summary: Tools provided with %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description tools
|
||||
This package contains the tools provide with %{name}.
|
||||
|
||||
%package -n python-%{name}
|
||||
Group: Development/Libraries/Python
|
||||
Summary: Python bindings for %{name}
|
||||
@ -54,7 +62,7 @@ cat << _EOF >> %{name}.pc
|
||||
Name: %{name}
|
||||
Description: Library for SVM classification and regression
|
||||
URL: %{url}
|
||||
Version: 3.25
|
||||
Version: 3.30
|
||||
|
||||
prefix=%{_prefix}
|
||||
includedir=%{_includedir}
|
||||
@ -102,24 +110,33 @@ done
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/svm-predict
|
||||
%{_bindir}/svm-scale
|
||||
%{_bindir}/svm-train
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libsvm.so.*
|
||||
%doc COPYRIGHT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_libdir}/libsvm.so
|
||||
%{_libdir}/pkgconfig/libsvm.pc
|
||||
%doc README
|
||||
|
||||
%files -n python-%{name}
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/svm-predict
|
||||
%{_bindir}/svm-scale
|
||||
%{_bindir}/svm-train
|
||||
%{_bindir}/svm-*.py
|
||||
%{python_sitearch}/%{name}
|
||||
|
||||
#%files -n python-%{name}
|
||||
#%defattr(-,root,root)
|
||||
#%{_bindir}/svm-*.py
|
||||
#%{python_sitearch}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2022 Automatic Build System <autodist@mambasoft.it> 3.30-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 15 2021 Automatic Build System <autodist@mambasoft.it> 3.25-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user