Group :: Desenvolvimento/Outros
RPM: distromap-altlinux-sisyphus-altlinux-branch
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define module altlinux-sisyphus-altlinux-branch
Name: distromap-%module
Version: 0.05
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/
%description
%summary
%prep
%setup
%build
%install
destdir=%buildroot/usr/share/distromap/altlinux/sisyphus/altlinux/
for branch in p8 t8 c8 t7 p7 t7 c7 p6 t6 c6 p5 5.1; do
for type in binary group-strict group-approx; do
if [ -d $type/$branch ]; then
install -m755 -d $destdir/$branch/$type
install -m644 $type/$branch/* $destdir/$branch/$type/
fi
done
mkdir -p $destdir/$branch/binary
done
%files
/usr/share/distromap/*
%changelog
…
Todas as alterações você pod ver aqui
Name: distromap-%module
Version: 0.05
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/
%description
%summary
%prep
%setup
%build
%install
destdir=%buildroot/usr/share/distromap/altlinux/sisyphus/altlinux/
for branch in p8 t8 c8 t7 p7 t7 c7 p6 t6 c6 p5 5.1; do
for type in binary group-strict group-approx; do
if [ -d $type/$branch ]; then
install -m755 -d $destdir/$branch/$type
install -m644 $type/$branch/* $destdir/$branch/$type/
fi
done
mkdir -p $destdir/$branch/binary
done
%files
/usr/share/distromap/*
%changelog
…
Todas as alterações você pod ver aqui