[gap-sonata] Initial import.

Jerry James jjames at fedoraproject.org
Thu Sep 20 03:48:45 UTC 2012


commit 133de6661cea979c622bd87857d9f8a30b1b0fcc
Author: Jerry James <loganjerry at gmail.com>
Date:   Wed Sep 19 21:48:38 2012 -0600

    Initial import.

 .gitignore      |    1 +
 gap-sonata.spec |   90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb5a6c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sonata-2.5.1.tar.gz
diff --git a/gap-sonata.spec b/gap-sonata.spec
new file mode 100644
index 0000000..3c0a793
--- /dev/null
+++ b/gap-sonata.spec
@@ -0,0 +1,90 @@
+Name:           gap-sonata
+Version:        2.5.1
+Release:        1%{?dist}
+Summary:        GAP package for systems of nearrings
+
+Group:          Applications/Engineering
+License:        GPLv2
+URL:            http://www.algebra.uni-linz.ac.at/Sonata/
+Source0:        http://www.algebra.uni-linz.ac.at/Sonata/sonata-%{version}/sonata-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  gap-devel
+
+Provides:       gap-pkg-sonata = %{version}-%{release}
+Requires:       gap-core
+
+%description
+SONATA stands for "systems of nearrings and their applications".  It
+provides methods for the construction and the analysis of finite
+nearrings.  A left nearring is an algebra (N;+,*), where (N,+) is a (not
+necessarily abelian) group, (N,*) is a semigroup, and x*(y+z) = x*y + x*z
+holds for all x,y,z in N.
+
+As a typical example of a nearring, we may consider the set of all
+mappings from a group G into G, where the addition is the pointwise
+addition of mappings in G, and the multiplication is composition of
+functions.  If functions are written on the right of their arguments,
+then the left distributive law holds, while the right distributive law
+is not satisfied for non-trivial G.
+
+The SONATA package provides methods for the construction and analysis of
+finite nearrings.
+1. Methods for constructing all endomorphisms and all fixed-point-free
+   automorphisms of a given group.
+2. Methods for constructing the following nearrings of functions on a
+   group G:
+   - the nearring of polynomial functions of G (in the sense of
+     Lausch-Nöbauer);
+   - the nearring of compatible functions of G;
+   - distributively generated nearrings such as I(G), A(G), E(G);
+   - centralizer nearrings. 
+3. A library of all small nearrings (up to order 15) and all small
+   nearrings with identity (up to order 31).
+4. Functions to obtain solvable fixed-point-free automorphism groups on
+   abelian groups, nearfields, planar nearrings, as well as designs from
+   those.
+5. Various functions to study the structure (size, ideals, N-groups, ...)
+   of nearrings, to determine properties of nearring elements, and to
+   decide whether two nearrings are isomorphic.
+6. If the package XGAP is installed, the lattices of one- and two-sided
+   ideals of a nearring can be studied interactively using a graphical
+   representation. 
+
+%prep
+%setup -q -n sonata
+
+# Fix file encodings
+for f in PackageInfo.g README.sonata; do
+  iconv -f iso8859-1 -t utf-8 -o ${f}.utf8 $f
+  touch -r $f ${f}.utf8
+  mv -f ${f}.utf8 $f
+done
+
+# Delete KDE Desktop files
+find . -name .directory | xargs rm -f
+
+# Delete documentation log files
+find . -name \*.log | xargs rm -f
+
+%build
+# Compress large data files
+gzip --best nr/*.nr nri/*.nr
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_gap_dir}/pkg
+cd ..
+cp -a sonata $RPM_BUILD_ROOT%{_gap_dir}/pkg
+rm -f $RPM_BUILD_ROOT%{_gap_dir}/pkg/sonata/README.sonata
+rm -f $RPM_BUILD_ROOT%{_gap_dir}/pkg/sonata/doc/{make_doc,convert.pl}
+
+%post -p %{_bindir}/update-gap-workspace
+
+%postun -p %{_bindir}/update-gap-workspace
+
+%files
+%doc README.sonata
+%{_gap_dir}/pkg/sonata/
+
+%changelog
+* Mon Sep 17 2012 Jerry James <loganjerry at gmail.com> - 2.5.1-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..9aeee6a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+495e9a96ca680b8a99bd5ba2b71d03cb  sonata-2.5.1.tar.gz


More information about the scm-commits mailing list