diff --git a/libsvm.spec b/libsvm.spec index 34e8391..4d5bf12 100644 --- a/libsvm.spec +++ b/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 -URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm +Packager: Silvan Calarco +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 3.30-1mamba +- automatic version update by autodist + * Thu Apr 15 2021 Automatic Build System 3.25-1mamba - automatic version update by autodist