|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: libsvm
|
|
|
|
Name: libsvm
|
|
|
|
Version: 2.85
|
|
|
|
Version: 2.85
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: A Library for Support Vector Machines
|
|
|
|
Summary: A Library for Support Vector Machines
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -31,7 +31,7 @@ estimation (one-class SVM ). It supports multi-class classification.
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Header file, object file, and source files of libsvm in C, C++ and Java
|
|
|
|
Summary: Header file, object file, and source files of libsvm in C, C++ and Java
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: glibc-devel gawk
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -94,7 +94,7 @@ cp ../../SOURCES/guide.pdf .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}"
|
|
|
|
make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR=%{_libdir}
|
|
|
|
%{__sed} -i 's/\r//' FAQ.html
|
|
|
|
%{__sed} -i 's/\r//' FAQ.html
|
|
|
|
%{__sed} -i 's/\r//' ChangeLog
|
|
|
|
%{__sed} -i 's/\r//' ChangeLog
|
|
|
|
mv python/README python/README-Python
|
|
|
|
mv python/README python/README-Python
|
|
|
@ -163,8 +163,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Feb 04 2008 Ding-Yi Chen <dchen@redhat.com> - 2.85-1
|
|
|
|
* Tue Feb 05 2008 Ding-Yi Chen <dchen@redhat.com> - 2.85-2
|
|
|
|
- Fix build error
|
|
|
|
- Fix svm-toy-qt build error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 05 2008 Ding-Yi Chen <dchen@redhat.com> - 2.85-1
|
|
|
|
|
|
|
|
- Fix svm-toy-gtk build error
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2008 Ding-Yi Chen <dchen@redhat.com> - 2.85-0
|
|
|
|
* Mon Feb 04 2008 Ding-Yi Chen <dchen@redhat.com> - 2.85-0
|
|
|
|
- Upgrade to 2.85
|
|
|
|
- Upgrade to 2.85
|
|
|
|