Репозитории ALT

S: | 0.1.4-alt2 |
5.1: | 0.1.1-alt3 |
4.1: | 0.1.1-alt3 |
4.0: | 0.1.1-alt2 |
Группа :: Система/Настройка/Пакеты
Пакет: apt-scripts
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: apt-scripts
Version: 0.1.1
Release: alt2
Summary: Lua scripts for APT
License: GPL
Group: System/Configuration/Packaging
Source0: %name-%version.tar.gz
Requires: apt
BuildRequires: apt
BuildArch: noarch
%description
apt-cache list-extras
This script will list all installed packages which are
not availabe in any online repository.
apt-cache list-nodeps
This script will list all installed packages which are
not required by any other installed package.
%prep
%setup -q
%install
for f in *.lua; do install -pD -m644 $f %buildroot/usr/share/apt/scripts/$f; done
for f in *.conf; do install -pD -m644 $f %buildroot/etc/apt/apt.conf.d/$f; done
cat *.conf >.apt.conf
apt-cache -c .apt.conf -o Dir::Bin::scripts=%buildroot/usr/share/apt/scripts list-extras
apt-cache -c .apt.conf -o Dir::Bin::scripts=%buildroot/usr/share/apt/scripts list-nodeps
apt-cache -c .apt.conf script ./list-extras.lua
apt-cache -c .apt.conf script ./list-nodeps.lua
mkdir -p %buildroot/etc/buildreqs/files/ignore.d
ls *.conf |sed 's:^:^/etc/apt/apt.conf.d/:;s:[.]:[.]:g' >%buildroot/etc/buildreqs/files/ignore.d/%name
%files
/usr/share/apt
%config /etc/apt/apt.conf.d/*
%config /etc/buildreqs/files/ignore.d/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.1.1
Release: alt2
Summary: Lua scripts for APT
License: GPL
Group: System/Configuration/Packaging
Source0: %name-%version.tar.gz
Requires: apt
BuildRequires: apt
BuildArch: noarch
%description
apt-cache list-extras
This script will list all installed packages which are
not availabe in any online repository.
apt-cache list-nodeps
This script will list all installed packages which are
not required by any other installed package.
%prep
%setup -q
%install
for f in *.lua; do install -pD -m644 $f %buildroot/usr/share/apt/scripts/$f; done
for f in *.conf; do install -pD -m644 $f %buildroot/etc/apt/apt.conf.d/$f; done
cat *.conf >.apt.conf
apt-cache -c .apt.conf -o Dir::Bin::scripts=%buildroot/usr/share/apt/scripts list-extras
apt-cache -c .apt.conf -o Dir::Bin::scripts=%buildroot/usr/share/apt/scripts list-nodeps
apt-cache -c .apt.conf script ./list-extras.lua
apt-cache -c .apt.conf script ./list-nodeps.lua
mkdir -p %buildroot/etc/buildreqs/files/ignore.d
ls *.conf |sed 's:^:^/etc/apt/apt.conf.d/:;s:[.]:[.]:g' >%buildroot/etc/buildreqs/files/ignore.d/%name
%files
/usr/share/apt
%config /etc/apt/apt.conf.d/*
%config /etc/buildreqs/files/ignore.d/%name
%changelog
…
Полный changelog можно просмотреть здесь