Группа :: Development/Erlang
Пакет: erlang-sd_notify
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define realname sd_notify
Name: erlang-%realname
Version: 1.1
Release: alt1
Summary: Erlang interface to systemd notify subsystem
Group: Development/Erlang
License: MIT
Url: https://github.com/systemd/erlang-sd_notify
BuildArch: noarch
#VCS: scm:git:https://github.com/systemd/erlang-sd_notify.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-erlang
BuildRequires: erlang-devel erlang-otp-devel
BuildRequires: rebar
BuildRequires: libsystemd-devel
%description
%summary.
%prep
%setup
%build
rebar3 compile
%install
mkdir -p %buildroot/%_erllibdir/%realname-%version/ebin
install -m 644 -p _build/default/lib/sd_notify/ebin/%realname.app %buildroot/%_erllibdir/%realname-%version/ebin
install -m 644 -p _build/default/lib/sd_notify/ebin/%realname.beam %buildroot/%_erllibdir/%realname-%version/ebin
%check
rebar3 eunit
%files
%doc LICENSE
%doc README.md
%_erllibdir/%realname-%version
%changelog
…
Полный changelog можно просмотреть здесь
%define realname sd_notify
Name: erlang-%realname
Version: 1.1
Release: alt1
Summary: Erlang interface to systemd notify subsystem
Group: Development/Erlang
License: MIT
Url: https://github.com/systemd/erlang-sd_notify
BuildArch: noarch
#VCS: scm:git:https://github.com/systemd/erlang-sd_notify.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-erlang
BuildRequires: erlang-devel erlang-otp-devel
BuildRequires: rebar
BuildRequires: libsystemd-devel
%description
%summary.
%prep
%setup
%build
rebar3 compile
%install
mkdir -p %buildroot/%_erllibdir/%realname-%version/ebin
install -m 644 -p _build/default/lib/sd_notify/ebin/%realname.app %buildroot/%_erllibdir/%realname-%version/ebin
install -m 644 -p _build/default/lib/sd_notify/ebin/%realname.beam %buildroot/%_erllibdir/%realname-%version/ebin
%check
rebar3 eunit
%files
%doc LICENSE
%doc README.md
%_erllibdir/%realname-%version
%changelog
…
Полный changelog можно просмотреть здесь