Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766134
en ru br
ALT Linux repos
S:0.1-alt3

Group :: System/Configuration/Other
RPM: alterator-postinstall

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


Name:    alterator-postinstall
Version: 0.1
Release: alt3

Source:  %name-%version.tar

Summary: alterator module for postinstall script installer
License: GPL
Group:   System/Configuration/Other
URL:     https://github.com/sergelogvinov/alterator-postinstall.git

BuildArch: noarch
Requires: alterator >= 4.17-alt1
Requires: curl

BuildPreReq: alterator >= 4.17-alt1

%description
alterator module for postinstall script installer

%prep
%setup

%build
%make_build

%install
%makeinstall
mkdir -p %buildroot%_sysconfdir/firsttime.d
touch %buildroot%_sysconfdir/firsttime.d/99-z-auto_postinstall_script.sh
touch %buildroot%_sysconfdir/firsttime.d/99-zz-auto_postinstall_run.sh
mkdir -p %buildroot%_datadir/install2/postinstall.d
touch %buildroot%_datadir/install2/postinstall.d/99-z-auto_postinstall_script.sh
touch %buildroot%_datadir/install2/postinstall.d/99-zz-auto_postinstall_run.sh

%files
%_datadir/alterator/ui/*/
%_alterator_backend3dir/*
# generated scripts should be removed on package uninstall
%ghost %_sysconfdir/firsttime.d/99-z-auto_postinstall_script.sh
%ghost %_sysconfdir/firsttime.d/99-zz-auto_postinstall_run.sh
%ghost %_datadir/install2/postinstall.d/99-z-auto_postinstall_script.sh
%ghost %_datadir/install2/postinstall.d/99-zz-auto_postinstall_run.sh

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin