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

Group :: Development/Other
RPM: distromap-pypi-default-altlinux-sisyphus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: perl(Pod/Usage.pm) perl(Source/Repository/Matcher/PyPI2ALT.pm) perl(Pod/Text.pm)
# END SourceDeps(oneline)
%define orepo pypi
%define obranch default
%define module %orepo-%obranch-altlinux-sisyphus

Name: distromap-%module
Version: 0.07
Release: alt1
BuildArch: noarch
Packager: Igor Yu. Vlasenko <viy at altlinux.org>

Summary: %module DistroMap database
Group: Development/Other
License: GPL or Artistic
Source: %name-%version.tar
Url: http://repocop.altlinux.org/

BuildRequires: rpm-build-perl

%description
%summary
It is used to check python modules against PyPI repository.

%prep
%setup

%build

%install
destdir=%buildroot/usr/share/distromap/%orepo/%obranch/altlinux/sisyphus
#for type in group-strict group-approx;  do
# install -m755 -d $destdir/$type
# install -m644 $type/* $destdir/$type/
#done

#for type in binary source ; do

for type in source; do
install -m755 -d $destdir/$type
install -m644 $type/* $destdir/$type/
done

#for type in binary source ; do

for type in source ; do
for flag in flags/$type/* ; do
install -m755 -d $destdir/$flag
install -m644 $flag/* $destdir/$flag/
done
done

mkdir -p %buildroot%_bindir
install -m 755 bin/* %buildroot%_bindir/

%files
%_bindir/*
%_datadir/distromap/*

%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