Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

35 commits

Author SHA1 Message Date
Miro Hrončok
629e5f3c72 Orphaned for 6+ weeks 2019-09-11 12:52:41 +02:00
Fedora Release Engineering
50c52ff767 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:23:22 +00:00
Fedora Release Engineering
d9374c0441 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:38:15 +00:00
Severin Gehwolf
61dd82d4ca Add explicit requirement for javapackages-tools 2018-08-31 14:19:10 +02:00
Fedora Release Engineering
7fb1506b79 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:47:27 +00:00
Fedora Release Engineering
20b9f9339e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:51:29 +00:00
455459f0e7 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:48:30 +01:00
Fedora Release Engineering
d05123e7d4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:33:38 +00:00
Fedora Release Engineering
69f0d15ddc - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:19:41 +00:00
gil
81eae18e96 Rebuilt for exculde ppc ppc64 arches 2016-11-06 14:58:02 +01:00
gil
9532626fac Rebuilt for exculde ppc ppc64 arches 2016-11-06 13:24:04 +01:00
gil
7e2195036e Rebuilt for exculde ppc ppc64 arches 2016-11-06 11:02:38 +01:00
gil
66df0683ef Rebuilt for exculde ppc ppc64 arches 2016-11-06 10:30:20 +01:00
gil
e6e6f2f155 remove appdata 2016-07-21 09:13:40 +02:00
gil
311bc31f6d update to 3.6.14 2016-05-28 11:21:25 +02:00
Fedora Release Engineering
b1a072d6e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:58:29 +00:00
gil
8658356298 update to 3.6.13 2015-10-14 07:32:09 +02:00
gil
ce7c102b9b switch to maven 2015-10-12 21:04:24 +02:00
Dennis Gilmore
c498692009 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:20:35 +00:00
Dennis Gilmore
d7831d7554 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:22:54 -05:00
Dennis Gilmore
0e30260e4a - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:46:30 -05:00
Dennis Gilmore
8aaa8b7a0f - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:03:04 -06:00
Milos Jakubicek
b233225776 Update to 3.6.8 2012-08-19 18:55:46 +02:00
Milos Jakubicek
8b9315a3ee fix build of 3.6.7 2012-08-19 13:09:24 +02:00
Dennis Gilmore
51a85cf08a - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 22:24:37 -05:00
Milos Jakubicek
4e62f99442 fix forgotten bump of _version 2012-07-10 22:40:05 +02:00
Milos Jakubicek
7ddf2ea7a5 - Update to 3.6.7 2012-07-10 14:44:08 +02:00
Dennis Gilmore
fe5f10963a - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:13:54 -06:00
Dennis Gilmore
35dd541a20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 20:17:40 -06:00
Fedora Release Engineering
3cb97dcf2a dist-git conversion 2010-07-29 15:15:04 +00:00
Miloš Jakubíček
0d95206ddf - Fix typo causing $CLASSPATH in %%{_bindir}/weka to be expanded during the
build
2010-05-03 13:55:32 +00:00
Miloš Jakubíček
aacbac425d - java_cup, hsqldb, postgresql-jdbc, mysql-connector-java, sqlite added to
CLASSPATH and required (resolve BZ#587596)
2010-04-30 16:10:20 +00:00
Miloš Jakubíček
43342cfe54 - Added Requires: libsvm-java (BZ#523684) 2010-03-03 11:43:12 +00:00
Miloš Jakubíček
db806e8e49 - Update to 3.6.2
- Fix libsvm usage (resolves BZ#523684)
- Fix removing jars
- Added BR: jflex, java_cup >= 1:0.11a
2010-01-17 20:12:27 +00:00
Bill Nottingham
7af263a74f Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:12 +00:00
7 changed files with 1 additions and 184 deletions

View file

@ -1 +0,0 @@
weka-3-6-0.zip

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: weka
# $Id$
NAME := weka
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
weka-3_6_0-3_fc10:HEAD:weka-3.6.0-3.fc10.src.rpm:1235909856

View file

@ -1 +0,0 @@
a782afc9b2a84ed34db4e631545955f5 weka-3-6-0.zip

View file

@ -1,13 +0,0 @@
[Desktop Entry]
Name=Weka
GenericName=Waikato Environment for Knowledge Analysis
GenericName[de]=Waikato - System für Wissensanalyse
GenericName[cs]=Waikato - systém pro analýzu znalostí
Comment=Start Weka
Comment[de]=Weka starten
Comment[cs]=Spustit Weku
Exec=weka
Terminal=false
Type=Application
Icon=weka
Categories=Education;Science;ArtificialIntelligence;

147
weka.spec
View file

@ -1,147 +0,0 @@
%global _version 3-6-0
# whether to run jUnit tests, caution: takes horribly long
# currently disabled as the tests fail, filed in upstream's bugtracker:
# https://sourceforge.net/tracker2/?func=detail&aid=2648813&group_id=5091&atid=105091
# %%global _with_tests 1
Name: weka
Version: 3.6.0
Release: 4%{?dist}
Summary: Waikato Environment for Knowledge Analysis
Group: Applications/Engineering
License: GPLv2+
URL: http://www.cs.waikato.ac.nz/ml/%{name}/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{_version}.zip
# wrapper script:
Source1: weka.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: ant
BuildRequires: desktop-file-utils
BuildRequires: ImageMagick
BuildRequires: junit
Requires: java >= 1:1.6.0
Requires: jpackage-utils
%description
Weka is a collection of machine learning algorithms for data mining tasks.
The algorithms can either be applied directly to a dataset or called from
your own Java code. Weka contains tools for data pre-processing,
classification, regression, clustering, association rules, and visualization.
It is also well-suited for developing new machine learning schemes.
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{_version}
# unzip the sources jar
unzip %{name}-src.jar
# remove prebuilt jars
find -name '*.jar' -o -name '*.class' -delete
# we won't run JUnit tests and 128m for making javadocs was not enough:(
sed -i -e 's/name="lib" value="lib"/name="lib" value="src"/' -e 's/maxmemory="128m"/maxmemory="256m"/' build.xml
%build
ant compile
%if %{?_with_tests:1}%{!?_with_tests:0}
%check
CLASSPATH=/usr/share/java/junit.jar ant run_tests
%endif
%install
rm -rf $RPM_BUILD_ROOT
# jar
ant exejar
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p dist/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# javadoc
ant docs
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# wrapper script
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cat > $RPM_BUILD_ROOT%{_bindir}/%{name} <<-EOF
#!/bin/bash
. /usr/share/java-utils/java-functions
MAIN_CLASS="weka.gui.GUIChooser"
set_classpath "weka.jar"
run "$@"
EOF
chmod a+x $RPM_BUILD_ROOT%{_bindir}/%{name}
# desktop file and icon
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
# convert icon to png
convert %{name}.ico %{name}.png
install -Dp %{name}.png ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%{_javadir}/%{name}.jar
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%doc documentation.html
%doc documentation.css
%doc WekaManual.pdf
%doc COPYING
%doc README
%doc changelogs
%doc data
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}
%changelog
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Feb 28 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 3.6.0-3
- Fixed desktop file name
- Added optional running junit tests into %%check, added BR:junit
- Fixed changelog entry
* Wed Feb 25 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 3.6.0-2
- Running gtk-update-icon-cache
- Converting icon to png, added BR:ImageMagick, changed icon path
in desktop file "weka" only
- java/java-devel R: and BR: made versioned to >= 1:1.6.0
- removed vendor tag in desktop-file-install according to the guidelines
for new packages.
* Wed Jan 14 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 3.6.0-1
- Initial release.