license fixed OBS-URL: https://build.opensuse.org/request/show/498556 OBS-URL: https://build.opensuse.org/package/show/science/galaxy2?expand=0&rev=1
66 lines
2.0 KiB
RPMSpec
66 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package galaxy2
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
Name: galaxy2
|
|
Summary: Stellar Simulation
|
|
Version: 1.3
|
|
Release: 0
|
|
License: GPL-3.0
|
|
Group: Productivity/Scientific/Other
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: desktop-file-utils
|
|
Source: http://www.kornelix.net/downloads/tarballs/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Url: http://www.kornelix.net/galaxy2/galaxy2.html
|
|
|
|
%description
|
|
Galaxy2 is program which simulates the motion of stars under the influence of gravity.
|
|
Create a field of random stars to begin with, then watch the stars move as they are
|
|
accelerated by their mutual gravitational attractions. Watch how the attractive forces
|
|
accelerate individual stars to send them in new directions. Watch large groups of stars
|
|
develop spiral arms over time. Galaxy2 can be used as a learning aid for young students
|
|
of science.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
install -d %{buildroot}%{_datadir}/icons/
|
|
%make_install
|
|
rm -rf %{buildroot}%{_datadir}/doc/galaxy2
|
|
|
|
%post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc doc/README doc/changelog doc/copyright
|
|
%{_bindir}/galaxy2
|
|
%{_datadir}/galaxy2
|
|
%{_datadir}/icons/galaxy2.png
|
|
%{_datadir}/applications/galaxy2.desktop
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|