f8fa01f
%global realname setup
f8fa01f
%global upstream uwiger
f8fa01f
f8fa01f
f8fa01f
Name:		erlang-%{realname}
b9223f8
Version:	2.1.0
b9223f8
Release:	1%{?dist}
e3498f4
BuildArch:	noarch
f8fa01f
Summary:	Generic setup utility for Erlang-based systems
f8fa01f
License:	ASL 2.0
f8fa01f
URL:		https://github.com/%{upstream}/%{realname}
f8fa01f
VCS:		scm:git:https://github.com/%{upstream}/%{realname}.git
f8fa01f
Source0:	https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
748276f
Patch1:		erlang-setup-0001-Don-t-escriptize.patch
f8fa01f
BuildRequires:	erlang-rebar
f8fa01f
f8fa01f
f8fa01f
%description
f8fa01f
While Erlang/OTP comes with many wonderful applications, including the Mnesia
f8fa01f
DBMS, there is no standard or convention for installing a system. Erlang/OTP
f8fa01f
provides tools for building a boot script, and rules for setting environment
f8fa01f
variables, etc., and Mnesia offers an API for creating and modifying the
f8fa01f
database schema.
f8fa01f
f8fa01f
However, with no convention for when these tools and API functions are called -
f8fa01f
and by whom - application developers are left having to invent a lot of code
f8fa01f
and scripts, not to mention meditate over chapters of Erlang/OTP documentation
f8fa01f
in order to figure out how things fit together.
f8fa01f
f8fa01f
This utility offers a framework for initializing and configuring a system, with
f8fa01f
a set of conventions allowing each component to provide callbacks for different
f8fa01f
steps in the installation procedure.
f8fa01f
f8fa01f
The callbacks are defined through OTP application environment variables, which
f8fa01f
can easily be overriden at install time.
f8fa01f
f8fa01f
f8fa01f
%prep
e3498f4
%autosetup -p1 -n %{realname}-%{version}
f8fa01f
f8fa01f
f8fa01f
%build
f8fa01f
%{erlang_compile}
f8fa01f
f8fa01f
f8fa01f
%install
f8fa01f
%{erlang_install}
f8fa01f
f8fa01f
f8fa01f
%check
f8fa01f
%{erlang_test}
f8fa01f
f8fa01f
f8fa01f
%files
f8fa01f
%doc doc/ examples/ README.md
f8fa01f
%{erlang_appdir}/
f8fa01f
f8fa01f
f8fa01f
%changelog
b9223f8
* Sat Apr  3 2021 Peter Lemenkov <lemenkov@gmail.com> - 2.1.0-1
b9223f8
- Ver. 2.1.0
b9223f8
d1069f2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
d1069f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d1069f2
ea9eb75
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
ea9eb75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ea9eb75
02857cb
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-5
02857cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
02857cb
531a6cf
* Tue Nov 12 2019 Peter Lemenkov <lemenkov@gmail.com> - 2.0.2-4
531a6cf
- Rebuilt with fixed Rebar
531a6cf
b22f26b
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
b22f26b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b22f26b
27d4210
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
27d4210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
27d4210
e3498f4
* Fri Sep 14 2018 Peter Lemenkov <lemenkov@gmail.com> - 2.0.2-1
e3498f4
- Ver. 2.0.2
e3498f4
81e046e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-3
81e046e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
81e046e
65a2e4d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-2
65a2e4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
65a2e4d
3bb80f7
* Mon Sep 18 2017 Peter Lemenkov <lemenkov@gmail.com> - 1.8.4-1
3bb80f7
- Ver. 1.8.4
3bb80f7
a639c41
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
a639c41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a639c41
462b4cb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2
462b4cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
462b4cb
748276f
* Tue Feb  7 2017 Peter Lemenkov <lemenkov@gmail.com> - 1.8.1-1
748276f
- Ver. 1.8.1
748276f
1fa1731
* Tue Nov 15 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.8.0-1
1fa1731
- Ver. 1.8.0
1fa1731
f8fa01f
* Wed Mar 16 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.7-1
f8fa01f
- Ver. 1.7