Blob Blame Raw
Name:           vault
# NOTE: if you update version, *make sure* to also update `vault/`
Version:        0.0.3
Release:        2%{?dist}
Summary:        Secrets storage for automated tasks

License:        GPLv2+

BuildArch:      noarch

Requires:       python3-alembic
Requires:       python3-flask
Requires:       python3-flask-httpauth
Requires:       python3-flask-login
Requires:       python3-flask-wtf
Requires:       python3-flask-oidc
Requires:       python3-flask-restful
Requires:       python3-flask-sqlalchemy
Requires:       python3-crypto
Requires:       python3-munch

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools

Vault stores and controls encrypted data like passwords,
API keys or other secrets.
Implements bucket-based access control, and secret versioning.
%setup -q

# This seems to be the only place where we can remove pyco files, see:
rm -f %{buildroot}%{_sysconfdir}/vault/*.py{c,o}



# apache and wsgi settings
install -d %{buildroot}%{_datadir}/vault/conf
install -p -m 0644 conf/vault.conf %{buildroot}%{_datadir}/vault/conf/
install -p -m 0644 conf/vault.wsgi %{buildroot}%{_datadir}/vault/

# alembic config and data
cp -r --preserve=timestamps alembic %{buildroot}%{_datadir}/vault/
install -p -m 0644 alembic.ini %{buildroot}%{_datadir}/vault/

# vault config
install -d %{buildroot}%{_sysconfdir}/vault
install -p -m 0644 conf/ %{buildroot}%{_sysconfdir}/vault/

%license LICENSE

%dir %{_sysconfdir}/vault
%config(noreplace) %{_sysconfdir}/vault/
%dir %{_datadir}/vault

* Sun Feb 03 2019 Fedora Release Engineering <> - 0.0.3-2
- Rebuilt for

* Thu Jan 24 2019 Frantisek Zatloukal <> - 0.0.3-1
- Use Python 3
- Use qa-make Makefile
- Fix secrets serialization
- Change the API side a bit
- Move OIDC config

* Sat Jul 14 2018 Fedora Release Engineering <> - 0.0.2-2
- Rebuilt for

* Wed May 30 2018 Frantisek Zatloukal <> - 0.0.2-1
- Use python-flask-login for F27
- New Release

* Tue May 22 2018 Josef Skladanka <> - 0.0.1-1
- initial packaging