Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
mathrider
mathrider.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mathrider.spec of Package mathrider
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: mathrider Summary: An education-friendly mathematics computing environment License: GNU General Public License (GPL) v.2,Apache Software License, Version 1.1, GFDL 1.1 Group: Productivity/Scientific/Math Version: 76 Release: 1 Url: http://mathrider.org/ Vendor: openSUSE-Education BuildArch: noarch BuildRequires: update-desktop-files BuildRequires: unzip Requires: jre Source0: %{name}_linux_dist_v.76_beta.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png BuildRoot: %{_tmppath}/%{name}-%{version}-build %define installpath %{_datadir}/java/%{name} %description For software developers, MathRider can be thought of as a mathematics-oriented IDE. For non-developers, MathRider can be thought of as an education-friendly Super Scientific Calculator (SSC) for performing numeric and symbolic computations. %prep %setup -q -n %{name} %build %install %{__install} -d -m 755 %{buildroot}/%installpath %{__install} -d -m 755 %{buildroot}/%{_bindir} %{__install} -d -m 755 %{buildroot}/%_defaultdocdir/%name cp -r * %{buildroot}/%installpath/ mv doc examples %{buildroot}/%_defaultdocdir/%name/ cat >> %{buildroot}/%_bindir/%name << EOF #!/bin/sh %installpath/unix_run.sh EOF chmod +x %{buildroot}/%_bindir/%name # # install desktop entry # %{__install} -Dm 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %{__install} -Dm 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file %{name} Education Math %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc %_defaultdocdir/%name %dir %installpath %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %installpath/* %_bindir/%name %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