summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-negmas.spec121
-rw-r--r--sources1
3 files changed, 123 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d87599a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/negmas-0.9.8.tar.gz
diff --git a/python-negmas.spec b/python-negmas.spec
new file mode 100644
index 0000000..0f08ab3
--- /dev/null
+++ b/python-negmas.spec
@@ -0,0 +1,121 @@
+%global _empty_manifest_terminate_build 0
+Name: python-negmas
+Version: 0.9.8
+Release: 1
+Summary: NEGotiations Managed by Agent Simulations
+License: GNU General Public License v2 or later (GPLv2+)
+URL: https://github.com/yasserfarouk/negmas
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b4/78/d40938b19d85dddea58e8fe11a4d16397d9662f8b9a737af3b43f0e76785/negmas-0.9.8.tar.gz
+BuildArch: noarch
+
+Requires: python3-Click
+Requires: python3-PyYAML
+Requires: python3-progressbar2
+Requires: python3-typing-extensions
+Requires: python3-pytest-runner
+Requires: python3-pandas
+Requires: python3-scipy
+Requires: python3-numpy
+Requires: python3-stringcase
+Requires: python3-colorlog
+Requires: python3-inflect
+Requires: python3-matplotlib
+Requires: python3-setuptools
+Requires: python3-tabulate
+Requires: python3-typing
+Requires: python3-click-config-file
+Requires: python3-dill
+Requires: python3-cloudpickle
+Requires: python3-seaborn
+Requires: python3-scikit-learn
+Requires: python3-networkx
+Requires: python3-gif
+Requires: python3-py4j
+Requires: python3-psutil
+Requires: python3-rich
+Requires: python3-attrs
+Requires: python3-typer
+Requires: python3-dask[complete]
+Requires: python3-pyqt5
+Requires: python3-numba
+Requires: python3-flask
+Requires: python3-dash
+Requires: python3-dash-daq
+Requires: python3-dash-bootstrap-components
+
+%description
+ NegMAS is a python library for developing autonomous negotiation agents embedded in simulation environments.
+ The name ``negmas`` stands for either NEGotiation MultiAgent System or NEGotiations Managed by Agent Simulations
+ (your pick). The main goal of NegMAS is to advance the state of the art in situated simultaneous negotiations.
+ Nevertheless, it can; and is being used; for modeling simpler bilateral and multi-lateral negotiations, preference elicitation
+ , etc.
+ * A YouTube playlist to help you use NegMAS for ANAC2020_ SCM_ league can be found here_
+
+%package -n python3-negmas
+Summary: NEGotiations Managed by Agent Simulations
+Provides: python-negmas
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-negmas
+ NegMAS is a python library for developing autonomous negotiation agents embedded in simulation environments.
+ The name ``negmas`` stands for either NEGotiation MultiAgent System or NEGotiations Managed by Agent Simulations
+ (your pick). The main goal of NegMAS is to advance the state of the art in situated simultaneous negotiations.
+ Nevertheless, it can; and is being used; for modeling simpler bilateral and multi-lateral negotiations, preference elicitation
+ , etc.
+ * A YouTube playlist to help you use NegMAS for ANAC2020_ SCM_ league can be found here_
+
+%package help
+Summary: Development documents and examples for negmas
+Provides: python3-negmas-doc
+%description help
+ NegMAS is a python library for developing autonomous negotiation agents embedded in simulation environments.
+ The name ``negmas`` stands for either NEGotiation MultiAgent System or NEGotiations Managed by Agent Simulations
+ (your pick). The main goal of NegMAS is to advance the state of the art in situated simultaneous negotiations.
+ Nevertheless, it can; and is being used; for modeling simpler bilateral and multi-lateral negotiations, preference elicitation
+ , etc.
+ * A YouTube playlist to help you use NegMAS for ANAC2020_ SCM_ league can be found here_
+
+%prep
+%autosetup -n negmas-0.9.8
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-negmas -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..314bbf3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f6827fa220fc68f6d7a1b42eb0b6abea negmas-0.9.8.tar.gz