Group :: Development/Other
RPM: distromap-suse-default-altlinux-sisyphus
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define orepo suse
%define obranch default
%define module %orepo-%obranch-altlinux-sisyphus
Name: distromap-%module
Version: 0.057
Release: alt1
BuildArch: noarch
Packager: Igor Yu. Vlasenko <viy at altlinux.org>
Summary: %module DistroMap database
Group: Development/Other
License: GPLv2+ or Artistic-2.0
Source: %name-%version.tar
Url: http://repocop.altlinux.org/
Requires: distromap-generic-default-altlinux-sisyphus
Requires: distrodb-static-altlinux-sisyphus
%description
%summary
%prep
%setup
%build
%install
destdir=%buildroot/usr/share/distromap/%orepo/%obranch/altlinux/sisyphus
for type in source binary group-strict group-approx; do
if [ -d $type ] && stat -t $type/* >/dev/null 2>&1 ; then
install -m755 -d $destdir/$type
install -m644 $type/* $destdir/$type/
fi
done
for type in binary source ; do
for flag in flags/$type/* ; do
if [ -d $flag ] && stat -t $flag/* >/dev/null 2>&1 ; then
install -m755 -d $destdir/$flag
install -m644 $flag/* $destdir/$flag/
fi
done
done
ln -s default %buildroot/usr/share/distromap/%orepo/tumbleweed
ln -s %orepo %buildroot/usr/share/distromap/open%orepo
%files
/usr/share/distromap/*
%changelog
…
Full changelog you can see here
%define obranch default
%define module %orepo-%obranch-altlinux-sisyphus
Name: distromap-%module
Version: 0.057
Release: alt1
BuildArch: noarch
Packager: Igor Yu. Vlasenko <viy at altlinux.org>
Summary: %module DistroMap database
Group: Development/Other
License: GPLv2+ or Artistic-2.0
Source: %name-%version.tar
Url: http://repocop.altlinux.org/
Requires: distromap-generic-default-altlinux-sisyphus
Requires: distrodb-static-altlinux-sisyphus
%description
%summary
%prep
%setup
%build
%install
destdir=%buildroot/usr/share/distromap/%orepo/%obranch/altlinux/sisyphus
for type in source binary group-strict group-approx; do
if [ -d $type ] && stat -t $type/* >/dev/null 2>&1 ; then
install -m755 -d $destdir/$type
install -m644 $type/* $destdir/$type/
fi
done
for type in binary source ; do
for flag in flags/$type/* ; do
if [ -d $flag ] && stat -t $flag/* >/dev/null 2>&1 ; then
install -m755 -d $destdir/$flag
install -m644 $flag/* $destdir/$flag/
fi
done
done
ln -s default %buildroot/usr/share/distromap/%orepo/tumbleweed
ln -s %orepo %buildroot/usr/share/distromap/open%orepo
%files
/usr/share/distromap/*
%changelog
…
Full changelog you can see here