forked from pool/libsvm
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a43803ab88 | |||
| 82171d3f48 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a97ec885a37d40b6e6fb42e568590e509a24cbf78cc649ac24e23f1340dcd06e
|
|
||||||
size 910001
|
|
||||||
3
libsvm-3.36.tar.gz
Normal file
3
libsvm-3.36.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc92901fbb928c44bb6d0c38189624c7443bcdbf1dd8350b4914e58e57b93c11
|
||||||
|
size 943316
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
--- libsvm-3.3/java/Makefile 2023-10-31 23:35:13.969018818 +0100
|
|
||||||
+++ libsvm-3.3/java/Makefile 2023-10-31 23:35:49.032582534 +0100
|
|
||||||
@@ -5,7 +5,7 @@
|
|
||||||
svm_train.class svm_predict.class svm_toy.class svm_scale.class
|
|
||||||
|
|
||||||
#JAVAC = jikes
|
|
||||||
-JAVAC_FLAGS = -target 1.7 -source 1.7
|
|
||||||
+JAVAC_FLAGS = -target 1.8 -source 1.8
|
|
||||||
JAVAC = javac
|
|
||||||
# JAVAC_FLAGS =
|
|
||||||
export CLASSPATH := .:$(CLASSPATH)
|
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 28 23:29:56 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.36:
|
||||||
|
* enhanced Python interface.
|
||||||
|
* Probabilistic outputs for one-class SVM are now supported
|
||||||
|
- drop libsvm-java8.patch (java 11 is now default)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 26 16:05:53 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Thu Sep 26 16:05:53 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
@@ -27,7 +35,7 @@ Tue Nov 8 23:02:48 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
|||||||
* Probabilistic outputs for one-class SVM are now supported.
|
* Probabilistic outputs for one-class SVM are now supported.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 16 23:03:23 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Tue Mar 16 23:03:23 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
- Fix build by adding missing python-rpm-macros dependency.
|
- Fix build by adding missing python-rpm-macros dependency.
|
||||||
- Build Python bindings for current Python version.
|
- Build Python bindings for current Python version.
|
||||||
@@ -86,7 +94,7 @@ Mon Oct 26 12:57:56 UTC 2015 - p.drouand@gmail.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 5 15:27:09 UTC 2014 - scorot@free.fr
|
Sat Apr 5 15:27:09 UTC 2014 - scorot@free.fr
|
||||||
|
|
||||||
- fix permissions of %%doc in libsvm2 package
|
- fix permissions of %%doc in libsvm2 package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 13 15:09:44 UTC 2014 - toddrme2178@gmail.com
|
Thu Mar 13 15:09:44 UTC 2014 - toddrme2178@gmail.com
|
||||||
@@ -97,7 +105,7 @@ Thu Mar 13 15:09:44 UTC 2014 - toddrme2178@gmail.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 7 18:25:49 UTC 2012 - scorot@free.fr
|
Fri Sep 7 18:25:49 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
- add python in build requirements
|
- add python in build requirements
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 7 18:03:49 UTC 2012 - scorot@free.fr
|
Fri Sep 7 18:03:49 UTC 2012 - scorot@free.fr
|
||||||
|
|||||||
16
libsvm.spec
16
libsvm.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsvm
|
# spec file for package libsvm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,18 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libname libsvm3
|
%define libname libsvm4
|
||||||
%define fileversion 3.3
|
%define fileversion 3.36
|
||||||
|
|
||||||
Summary: A Library for Support Vector Machines
|
Summary: A Library for Support Vector Machines
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Name: libsvm
|
Name: libsvm
|
||||||
Version: 3.30
|
Version: 3.36
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
||||||
Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{fileversion}.tar.gz
|
Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{fileversion}.tar.gz
|
||||||
Patch0: libsvm-java8.patch
|
|
||||||
Patch1: libsvm-reproducible-jar-mtime.patch
|
Patch1: libsvm-reproducible-jar-mtime.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@@ -97,7 +96,6 @@ This package contains the Java bindings for libsvm.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{fileversion}
|
%setup -n %{name}-%{fileversion}
|
||||||
%patch -P 0 -p1
|
|
||||||
# The "--date" option was added into jar in OpenJDK 17
|
# The "--date" option was added into jar in OpenJDK 17
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
|
||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
@@ -128,8 +126,8 @@ install -m 755 ./tools/grid.py %{buildroot}%{_bindir}/svm-grid
|
|||||||
install -m 755 ./tools/subset.py %{buildroot}%{_bindir}/svm-subset
|
install -m 755 ./tools/subset.py %{buildroot}%{_bindir}/svm-subset
|
||||||
install -m 755 ./tools/easy.py %{buildroot}%{_bindir}/svm-easy
|
install -m 755 ./tools/easy.py %{buildroot}%{_bindir}/svm-easy
|
||||||
install -m 644 svm.h %{buildroot}%{_includedir}/libsvm/
|
install -m 644 svm.h %{buildroot}%{_includedir}/libsvm/
|
||||||
install -m 755 libsvm.so.3 %{buildroot}%{_libdir}
|
install -m 755 libsvm.so.4 %{buildroot}%{_libdir}
|
||||||
ln -s %{_libdir}/libsvm.so.3 %{buildroot}%{_libdir}/libsvm.so
|
ln -s %{_libdir}/libsvm.so.4 %{buildroot}%{_libdir}/libsvm.so
|
||||||
mv ./python/README README-python
|
mv ./python/README README-python
|
||||||
mv ./tools/README README-python-tools
|
mv ./tools/README README-python-tools
|
||||||
|
|
||||||
@@ -156,7 +154,7 @@ install -m 755 ./java/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
|
|||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT
|
||||||
%{_libdir}/libsvm.so.3
|
%{_libdir}/libsvm.so.4
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/libsvm
|
%{_includedir}/libsvm
|
||||||
|
|||||||
Reference in New Issue
Block a user