Accepting request 40040 from GNOME:Apps
Copy from GNOME:Apps/genius based on submit request 40040 from user dimstar OBS-URL: https://build.opensuse.org/request/show/40040 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/genius?expand=0&rev=1
This commit is contained in:
commit
bf36578c72
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
genius-1.0.9.tar.bz2
Normal file
3
genius-1.0.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f3a7e9e8ab77e973cf83d64efcc173e5c5fa99fa96fe324e2ea82f4d3a26d68
|
||||
size 1624879
|
71
genius.changes
Normal file
71
genius.changes
Normal file
@ -0,0 +1,71 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 21:14:28 UTC 2010 - dimstar@opensuse.org
|
||||
|
||||
- PreRequire shared-mime-info
|
||||
- Do not package .omf files twice.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 25 01:20:42 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 1.0.9:
|
||||
+ Fix matrix expansion. This also fixes AuxilliaryUnitMatrix and
|
||||
JordanBlock.
|
||||
+ Fix several possible crashers.
|
||||
+ Fix a minor memory leak.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 13 13:09:38 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 1.0.8:
|
||||
+ Buildfixes for Cygwin and parallel builds
|
||||
+ Check events before executing a command line, fixes a race
|
||||
which results in display anomalies on new vte.
|
||||
+ Documentation updates
|
||||
+ Require GTK/GLib 2.12 and use the new tooltips API.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 31 12:34:19 CEST 2009 - vuntz@novell.com
|
||||
|
||||
- Update to version 1.0.7:
|
||||
+ SYNTAX: Added a possibility to exactly specify which variables
|
||||
are copied into a function's extra dictionary when it is being
|
||||
returned. E.g. "`(x) [x0] = (x-x0)" will copy x0 from the
|
||||
current context. This is a lot more efficient than the current
|
||||
behaviour which tries to copy everything referenced.
|
||||
+ SYNTAX: Add "local" variables by specifying "local x,y,z" or
|
||||
"local *" as the first statement in a function. Local
|
||||
variables are not visible from higher contexts (functions
|
||||
called within)
|
||||
+ CHANGE: all system parameters are now protected and cannot be
|
||||
redefined using the "parameter" keyword
|
||||
+ Add UserVariables, UndefineAll, ProtectAll, and add Undefine as
|
||||
an alias to undefine.
|
||||
+ Add trigonometric Fourier series related functions:
|
||||
NumericalFourierSeriesFunction,
|
||||
NumericalFourierSineSeriesFunction,
|
||||
NumericalFourierCosineSeriesFunction, FourierSeriesFunction,
|
||||
NumericalFourierSeriesCoefficients,
|
||||
NumericalFourierSineSeriesCoefficients,
|
||||
NumericalFourierCosineSeriesCoefficients, PeriodicExtension,
|
||||
EvenPeriodicExtension, OddPeriodicExtension
|
||||
+ Fix changing floating point precision!
|
||||
+ Fix uninitialized variable in graphing
|
||||
+ Improve variable substitution for returned functions to be more
|
||||
efficient. Slightly changes behaviour with respect to global
|
||||
functions and variables used.
|
||||
+ Plot windows now not treated annoyingly as dialogs
|
||||
+ Fix compilation/decompilation of all function attributes.
|
||||
+ Parse/Evaluate with a syntax error at end of string no longer
|
||||
terminate genius
|
||||
+ Updated Mersenne stuff for the newest data from mersenne.org
|
||||
and fix MersennePrimeExponents
|
||||
+ Fix opening new files from the command line.
|
||||
+ Update the gel library to use the new language features.
|
||||
+ Various other minor fixes
|
||||
+ Translation updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 09:30:14 CEST 2009 - vuntz@novell.com
|
||||
|
||||
- Clean package for Contrib.
|
||||
|
151
genius.spec
Normal file
151
genius.spec
Normal file
@ -0,0 +1,151 @@
|
||||
#
|
||||
# spec file for package genius (Version 1.0.9)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: genius
|
||||
Version: 1.0.9
|
||||
Release: 1
|
||||
License: GPLv3+
|
||||
Summary: General purpose calculator and mathematics tool
|
||||
Group: Productivity/Scientific/Math
|
||||
Url: http://www.jirka.org/genius.html
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gnome-vfs2-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: gtksourceview-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: scrollkeeper
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vte-devel
|
||||
Requires: %{name}-lang = %{version}
|
||||
Requires(pre): shared-mime-info
|
||||
|
||||
%description
|
||||
Genius is a general purpose calculator program similar in some aspects
|
||||
to BC, Matlab, Maple or Mathematica. It is useful both as a simple
|
||||
calculator and as a research or educational tool. The syntax is very
|
||||
intuitive and is designed to mimic how mathematics is usually written.
|
||||
|
||||
GEL is the name of its extension language, it stands for Genius
|
||||
Extension Language, clever isn't it? In fact, many of the standard
|
||||
genius functions are written in GEL itself.
|
||||
|
||||
%package -n gnome-genius
|
||||
License: GPLv3+
|
||||
Group: Productivity/Scientific/Math
|
||||
Summary: General purpose calculator and mathematics tool - GNOME Interface
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n gnome-genius
|
||||
Genius is a general purpose calculator program similar in some aspects
|
||||
to BC, Matlab, Maple or Mathematica. It is useful both as a simple
|
||||
calculator and as a research or educational tool. The syntax is very
|
||||
intuitive and is designed to mimic how mathematics is usually written.
|
||||
|
||||
GEL is the name of its extension language, it stands for Genius
|
||||
Extension Language, clever isn't it? In fact, many of the standard
|
||||
genius functions are written in GEL itself.
|
||||
|
||||
%package devel
|
||||
License: GPLv3+
|
||||
Group: Productivity/Scientific/Math
|
||||
Summary: General purpose calculator and mathematics tool - Development Files
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Genius is a general purpose calculator program similar in some aspects
|
||||
to BC, Matlab, Maple or Mathematica. It is useful both as a simple
|
||||
calculator and as a research or educational tool. The syntax is very
|
||||
intuitive and is designed to mimic how mathematics is usually written.
|
||||
|
||||
GEL is the name of its extension language, it stands for Genius
|
||||
Extension Language, clever isn't it? In fact, many of the standard
|
||||
genius functions are written in GEL itself.
|
||||
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||||
%configure \
|
||||
--libexec=%{_prefix}/lib/genius \
|
||||
--disable-scrollkeeper \
|
||||
--disable-update-mimedb
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
# We don't want the test plugin:
|
||||
rm %{buildroot}%{_libdir}/genius/libtestplugin.*
|
||||
rm %{buildroot}%{_datadir}/genius/plugins/test.plugin
|
||||
# Not needed anymore on modern desktops:
|
||||
rm %{buildroot}%{_datadir}/application-registry/genius.applications
|
||||
rm %{buildroot}%{_datadir}/mime-info/genius.*
|
||||
# Change sr@Latn to sr@latin
|
||||
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
|
||||
%find_lang %{name}
|
||||
%suse_update_desktop_file gnome-genius
|
||||
%fdupes %{buildroot}%{_datadir}/genius
|
||||
|
||||
%post
|
||||
if test -x usr/bin/update-mime-database ; then
|
||||
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||||
fi
|
||||
|
||||
%postun
|
||||
if test -x usr/bin/update-mime-database ; then
|
||||
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{_datadir}/genius
|
||||
%{_bindir}/genius
|
||||
|
||||
%files -n gnome-genius
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gnome-genius
|
||||
%{_prefix}/lib/genius
|
||||
%{_datadir}/applications/gnome-genius.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/genius-stock-plot.png
|
||||
%{_datadir}/icons/hicolor/*/apps/gnome-genius.png
|
||||
%{_datadir}/mime/packages/genius.xml
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/genius
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/gnome
|
||||
%dir %{_datadir}/gnome/help
|
||||
%dir %{_datadir}/omf/genius
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user