Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37491665
en ru br
Репозитории ALT
S:1.21.22-alt2
5.1: 1.14.7-alt2
4.1: 1.14.7-alt2
4.0: 1.13.11-alt0.1
3.0: 1.6.15-alt6
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: dpkg

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: dpkg
Version: 1.6.15
Release: alt6

Packager: Yuri N. Sedunov <aris at altlinux.ru>

Summary: Package maintenance system for Debian Linux
License: GPL
Group: File tools
Source: ftp://ftp.debian.org/debian/dists/potato/main/source/base/%{name}_%version.tar.gz
Patch: %name-no-debiandoc.patch
Patch1: %name-opt.patch
Patch2: %name-acfix.patch

# hack to avoid find-perl-provides bug

Provides: perl(controllib.pl)

# Automatically added by buildreq on Mon Oct 14 2002

BuildRequires: emacs-common gcc-c++ libstdc++-devel

%description
This package contains the programs which handle the installation and
removal of packages in Debian Linux distributions.

The primary interface for the dpkg suite is the `dselect' program; a
more low-level and less user-friendly interface is available in the
form of the `dpkg' command.

In order to unpack and build Debian source packages you will need to
install the developers' package `dpkg-dev' as well as this one.

# this doesn't work

%add_findprov_lib_path %_libdir/%name

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

# another hack to avoid find-perl-provides bug

%__subst 's,\(us\)e\( file\),\1е\2,g' scripts/dpkg-scansources*
# do not build utils
%__subst 's, utils,,' Makefile.in

%build
%configure \
--enable-shared \
--without-dselect \
--with-admindir=%_localstatedir/%name
%make

%install
%__install -d $RPM_BUILD_ROOT%_docdir/%name
%make_install DESTDIR=$RPM_BUILD_ROOT \
gnulocaledir=$RPM_BUILD_ROOT%_datadir/locale install
%__gzip -9nf $RPM_BUILD_ROOT%_docdir/%name/*

%find_lang --with-man --output=%name.lang %name dpkg-deb deb deb-old install-info update-alternatives update-rc dselect

%files -f %name.lang
%doc doc/database-structure.fig doc/internals.sgml
%doc $RPM_BUILD_ROOT%_defaultdocdir/%name/*
%_bindir/*
%_sbindir/*dpkg*
%exclude %_sbindir/install-info
%_libdir/%name
%_localstatedir/%name
%_mandir/man?/*
%exclude %_mandir/man?/*info*
%exclude %_mandir/man?/*alternatives*
%exclude %_mandir/man?/*update*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin