Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
xlogo
xlogo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xlogo.spec of Package xlogo
# # spec file for package xlogo # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: xlogo Version: 0.9.95 Release: 1 License: GPL-2.0+ Summary: Logo interpreter, written in Java Url: http://xlogo.tuxfamily.org/ Group: Development/Tools/IDE Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png BuildRequires: ant BuildRequires: ant-nodeps BuildRequires: java-devel BuildRequires: update-alternatives BuildRequires: update-desktop-files Requires: java >= 1.5.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description XLogo is a Logo interpreter, written in Java. Logo is a programming language developed in the 1970's by Seymour Papert. It is an excellent language to begin learning with, as it teaches the basics of things like loops, tests, procedures, etc. The user moves an object called a "turtle" around the screen using commands as simple as forward, back, right, and so on. As it moves, the turtle leaves a trail behind it, and so it is therefore possible to create drawings. Operations on lists and words are also possible. %prep %setup -q %build %ant -DsignJar=false -DbuildSrc=false -Dplatform=linux deploy %install export NO_BRP_CHECK_BYTECODE_VERSION="true" %{__install} -d -m 755 %{buildroot}%{_javadir}/%{name} %{__install} -m 755 deploy/%{name}.jar %{buildroot}%{_javadir}/%{name}/%{name}-%{version}.jar # startscript cat > %{name}.sh << EOF #!/bin/sh java -jar %{_javadir}/%{name}/%{name}-%{version}.jar EOF %{__install} -d -m 755 %{buildroot}%{_bindir} %{__install} -m 755 %{name}.sh %{buildroot}%{_bindir}/ # Icon %{__install} -D -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png # Desktop menu entry %{__install} -d -m 755 %{buildroot}%{_datadir}/applications %{__install} -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file -n xlogo Teaching %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_bindir}/* %{_javadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor