Commit 872d391c authored by Vitaly Lipatov's avatar Vitaly Lipatov

0.1.1-alt1

- new version
parent 072d2cf4
%define biname redirector
Name: nginx-redirector
Version: 0.1.1
Release: alt1
Summary: CLI-utility for building nginx redirects
License: ISC
Group: Networking/WWW
Url: https://gitlab.eterfund.ru/eterfund/nginx-redirector
Packager: Eugene Omelyanovich <regatio@etersoft.ru>
# Source-git: https://gitlab.eterfund.ru/eterfund/nginx-redirector.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-intro
BuildRequires(pre): rpm-build-python3
# for test
BuildRequires: python3-module-pyinotify
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-yaml
%description
NGINX redirector:
* redirector <.yaml file> <.map file> - generate .conf and .map files for redirects for nginx
* redirector-watch <file-to-watch> - set inotify watchdog for this file and renew .map and .conf files for this project when
* redirector-convert <.htaccess file> <.map file> - convert .htaccess to .map file
* redirector-config --show - show all current config.ini data
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
%python3_test
%files
/usr/bin/%biname/
/usr/bin/%biname-watch/
/usr/bin/%biname-convert/
/usr/bin/%biname-config/
%python3_sitelibdir/*
%changelog
* Mon Jul 27 2020 Eugene Omelyanovich <regatio@etersoft.ru> 0.1.1-alt1
- new version
tar: .
spec: .gear/nginx-redirector.spec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment