Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37637520
en ru br
ALT Linux repos
S:0.2.2-alt1

Group :: Development/Other
RPM: mosquito-hive

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: mosquito-hive
Version: 0.2.2
Release: alt1

Summary: rebuild a collection of packages in hasher

License: %gagpl3plus
Group: Development/Other
Url: http://git.altlinux.org/people/imz/packages/mosquito-hive.git
Packager: Ivan Zakharyaschev <imz at altlinux.org>

Source: %name-%version.tar

Requires: hasher
Requires: altlinux-repolist-utils

BuildArch: noarch
BuildPreReq: rpm-build-licenses
# My scripts use it, and hence shell.req uses it (could be detected by
# buildreq, but we should use the path forseeing a move between pkgs):
BuildPreReq: /bin/bash4

%description
Simple scripts to rebuild a collection of packages
in hasher.

The results are reported in a way similar to the beehive of ALT Sisyphus.
The build progress is reported in a way similar to girar of ALT Sisyphus.

Features:

* rebuild selected SRPMS (mosquito-rebuild)
** parallel builds, too
* get the list of SRPMS corresponding to a list of selected binary
 RPMS
** make the correspondence relations between src and bin pkg names,
 and between them and files (if src.list and bin.list are missing)
* diff between our results and the results of ALT Sisyphus beehive
 (based on the logs)

The features beyond the first bullet are WORK-IN-PROGRESS (not
packaged yet, but saved in Git).

%prep
%setup

%install
# Helpers:
mkdir -p %buildroot%_datadir/%name
install --preserve-timestamps -m 755 \
rebuild{,1} \
-t %buildroot%_datadir/%name/

# Executables to be run by the user

# (they need to be symlinks to the place where the helpers are):
mkdir -p %buildroot%_bindir
for f in rebuild; do
   ln -s "$(relative %_datadir/%name/"$f" %_bindir/_)" \
      -T %buildroot%_bindir/mosquito-"$f"
done

install --preserve-timestamps -m 755 \
stripVerRel \
-t %buildroot%_bindir/

%files
%_bindir/*
%_datadir/%name
%doc README.md

%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