From 78569f06dc822ced17d26ab5fe3704e8f505d440 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Sep 27 2016 17:42:50 +0000 Subject: Initial import (#1346243) --- diff --git a/.gitignore b/.gitignore index e69de29..b78906e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/execdb-0.0.7.tar.gz diff --git a/execdb.spec b/execdb.spec new file mode 100644 index 0000000..a718452 --- /dev/null +++ b/execdb.spec @@ -0,0 +1,84 @@ +Name: execdb +Version: 0.0.7 +Release: 4%{?dist} +Summary: Execution status database for Taskotron + +License: GPLv2+ +URL: https://bitbucket.org/fedoraqa/execdb +Source0: https://qadevel.cloud.fedoraproject.org/releases/%{name}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +Requires: python-flask +Requires: python2-flask-sqlalchemy +Requires: python-flask-wtf +Requires: python-flask-login +Requires: python2-flask-restful +Requires: python-six +Requires: python-alembic +BuildRequires: python2-devel +BuildRequires: python2-setuptools + +%description +ExecDB is a database that stores the execution status of jobs running +inside the Taskotron framework. You can see which jobs were scheduled, +started and finished, and some of their properties. + +%prep +%setup -q + +%build +%py2_build + +%install +%py2_install + +# apache and wsgi settings +install -d %{buildroot}%{_datadir}/execdb/conf +install -p -m 0644 conf/execdb.conf %{buildroot}%{_datadir}/execdb/conf/ +install -p -m 0644 conf/execdb.wsgi %{buildroot}%{_datadir}/execdb/ + +# alembic config and data +cp -r --preserve=timestamps alembic %{buildroot}%{_datadir}/execdb/ +install -p -m 0644 alembic.ini %{buildroot}%{_datadir}/execdb/ + +# exedb config +install -d %{buildroot}%{_sysconfdir}/execdb +install -p -m 0644 conf/settings.py.example %{buildroot}%{_sysconfdir}/execdb/settings.py + +%files +%doc README.md +%license LICENSE +%{python2_sitelib}/execdb +%{python2_sitelib}/*.egg-info + +%attr(755,root,root) %{_bindir}/execdb +%dir %{_sysconfdir}/execdb +%{_sysconfdir}/execdb/* +%dir %{_datadir}/execdb +%{_datadir}/execdb/* + +%changelog +* Wed Sep 21 2016 Martin Krizek - 0.0.7-4 +- use python2-* where possible +- fix rpmlint's description-line-too-long +- remove conf examples from doc + +* Thu Aug 11 2016 Martin Krizek - 0.0.7-3 +- use python macros +- make description more verbose +- fix permissions + +* Mon Jun 13 2016 Martin Krizek - 0.0.7-2 +- add license +- remove not needed custom macros + +* Wed Jun 17 2015 Josef Skladanka - 0.0.7-1 +- added alembic config and data to package +- added requires python-alembic + +* Mon Mar 30 2015 Tim Flink - 0.0.6-1 +- bumped version for initial release + +* Thu Feb 12 2015 Josef Skladanka - 0.0.1-1 +- initial packaging diff --git a/sources b/sources index e69de29..45263b2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6ca003ab0a43b116331e0bf52832c00b execdb-0.0.7.tar.gz