|
|
@ -1,7 +1,7 @@
|
|
|
|
%define shver 2
|
|
|
|
%define shver 2
|
|
|
|
Name: libsvm
|
|
|
|
Name: libsvm
|
|
|
|
Version: 3.17
|
|
|
|
Version: 3.17
|
|
|
|
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
|
|
|
@ -162,7 +162,7 @@ echo -e "# This file is not in the original libsvm tarball, but added for conven
|
|
|
|
# This file is released under BSD license, just like the rest of the package.\n"\
|
|
|
|
# This file is released under BSD license, just like the rest of the package.\n"\
|
|
|
|
> $RPM_BUILD_ROOT/%{libsvm_python_dir}/__init__.py
|
|
|
|
> $RPM_BUILD_ROOT/%{libsvm_python_dir}/__init__.py
|
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install --delete-original --vendor=fedora \
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-gtk.desktop \
|
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-gtk.desktop \
|
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-qt.desktop \
|
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-qt.desktop \
|
|
|
@ -227,17 +227,20 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc svm-toy/gtk/README
|
|
|
|
%doc svm-toy/gtk/README
|
|
|
|
%{_bindir}/svm-toy-gtk
|
|
|
|
%{_bindir}/svm-toy-gtk
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}-svm-toy-gtk-48.png
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}-svm-toy-gtk-48.png
|
|
|
|
%{_datadir}/applications/fedora-%{name}-svm-toy-gtk.desktop
|
|
|
|
%{_datadir}/applications/*%{name}-svm-toy-gtk.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%files svm-toy-qt
|
|
|
|
%files svm-toy-qt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc svm-toy/qt/README
|
|
|
|
%doc svm-toy/qt/README
|
|
|
|
%{_bindir}/svm-toy-qt
|
|
|
|
%{_bindir}/svm-toy-qt
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}-svm-toy-qt-48.png
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}-svm-toy-qt-48.png
|
|
|
|
%{_datadir}/applications/fedora-%{name}-svm-toy-qt.desktop
|
|
|
|
%{_datadir}/applications/*%{name}-svm-toy-qt.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Apr 25 2013 Jon Ciesla <limburgher@gmail.com> - 3.17-2
|
|
|
|
|
|
|
|
- Drop desktop vendor tag.
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 13 2013 Ding-Yi Chen <dchen@redhat.com> - 3.17-1
|
|
|
|
* Sat Apr 13 2013 Ding-Yi Chen <dchen@redhat.com> - 3.17-1
|
|
|
|
- Upstream update from 3.13 to 3.17
|
|
|
|
- Upstream update from 3.13 to 3.17
|
|
|
|
svm.c and svm.h:
|
|
|
|
svm.c and svm.h:
|
|
|
|