Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 67b317202f57e4ad68c7947701a0c0b2 > files > 4

kojo-2.1-0.hg20140619.7.mga5.src.rpm

%define rev hg20140619

Summary: A Learning Environment - play, exploration, and learning
Name: kojo
Version: 2.1
Release: %mkrel -c %{rev} 7
License: GPLv3
Group: Sciences/Other
URL: http://www.kogics.net
BuildArchitectures: noarch
Requires: jre >= 1.6.0
#- Get the jar installer http://www.kogics.net/kojo-download
#- Install Kojo on your machine - into say ~/Kojo2
#- tar+gzip the Kojo2 dir
Source0: %{name}-%{version}-%{rev}.tar.gz
Source1: %{name}
Source2: %{name}.desktop

%description
Kojo is a desktop application that runs on Windows, Linux, and the Mac.
It is a Learning Environment - with many different features that enable
play, exploration, and learning in the areas of:
    Computer Programming
    Math and Science
    Systematic and Computational Thinking
    Art, Music, and Creative Thinking
    Computer and Internet Literacy

%prep
%setup -q -n %{name}-%{version}-%{rev}
rm -rf ./Uninstaller
rm -f ./bin/kojo.exe
sed -i 's/\r//' ./licenses/*

%build
#nothing

%install
mkdir -p %{buildroot}%{_javadir}/%{name}
cp -af ./bin %{buildroot}%{_javadir}/%{name}
cp -af ./icons %{buildroot}%{_javadir}/%{name}
cp -af ./lib %{buildroot}%{_javadir}/%{name}
mkdir -p %{buildroot}%{_bindir}
install -m 755 %{SOURCE1} %{buildroot}%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/applications
install -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications

%files
%doc licenses/*
%{_javadir}/%{name}
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop


%changelog
* Wed Jan 07 2015 alexl <alexl> 2.1-0.hg20140619.7.mga5
+ Revision: 808960
- updated desktop file

* Wed Nov 12 2014 alexl <alexl> 2.1-0.hg20140619.6.mga5
+ Revision: 796587
- fixed icon in desktop file

* Wed Oct 15 2014 umeabot <umeabot> 2.1-0.hg20140619.5.mga5
+ Revision: 750257
- Second Mageia 5 Mass Rebuild

* Sun Sep 28 2014 umeabot <umeabot> 2.1-0.hg20140619.4.mga5
+ Revision: 731470
- Mageia 5 Mass Rebuild

* Mon Jul 21 2014 alexl <alexl> 2.1-0.hg20140619.3.mga5
+ Revision: 654979
- enabled AutoReqProv
- new snapshot

* Sun Apr 13 2014 alexl <alexl> 2.1-0.210214.2.mga5
+ Revision: 613831
- used javadir instead of datadir (policy)

* Thu Apr 10 2014 alexl <alexl> 2.1-0.210214.1.mga5
+ Revision: 613205
- imported package kojo