Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37507930
en ru br
Репозитории ALT
S:0.58-alt29
5.1: 0.57.2-alt3.M51.1
4.1: 0.57.2-alt2.5.M41.1
4.0: 0.57.2-alt2.5.M40.1
3.0: 0.56-alt0.3
www.altlinux.org/Changes

Группа :: Система/Настройка/Пакеты
Пакет: synaptic

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

# hey Emacs, its -*- mode: rpm-spec; coding: cyrillic-cp1251; -*-
# $Id: synaptic,v 1.1 2003/04/28 11:30:54 svd Exp $

# '--with ru_po' if we have updated ru.po (Source1)

%def_with ru_po
# '--with ru_man' if we have updated russian manpage (Source2)
%def_without ru_man
%def_enable autotools

%define rel %nil
Name: synaptic
Version: 0.57.2
Release: alt2.5.M41.1

Summary: Graphical front-end for APT
Summary(ru_RU.CP1251): цПЮТХВЕЯЙЮЪ НАНКНВЙЮ ДКЪ APT
Group: System/Configuration/Packaging
License: GPL
Url: http://www.nongnu.org/synaptic/
Packager: Sviatoslav Sviridov <svd at altlinux.ru>

Source: http://people.debian.org/~mvo/synaptic/%name-%version%rel.tar.gz
Source1: %name-ru.po
Source2: %name.ru.8
Source3: package-supported.png
Source4: %name.conf

# This patch needed to build synaptic with apt < 0.5.5cnc5 only

Patch1: synaptic-0.36-alt-state.patch

Patch2: synaptic-0.47-alt-xslt.patch
Patch3: synaptic-0.51-alt-rpmgroups-intl.patch
Patch4: synaptic-0.56-alt-build-fix.diff
Patch5: synaptic-0.57.2-gcc4-fix.patch
Patch6: synaptic-0.57.2-gcc43-fix.patch

Requires: %{get_dep rpm}, %{get_dep libapt}

BuildRequires(pre): libapt-devel
# Original BuildPreReq was: libapt-devel >= 0.5.4cnc9
# To build synaptic with apt < 0.5.5cnc5 apply Patch1
BuildPreReq: libapt-devel >= 0.5.5cnc5
%if_enabled autotools
BuildPreReq: intltool
%endif

# From configure.in

BuildPreReq: gcc-c++ xmlto librpm-devel libpopt-devel libapt-devel
BuildPreReq: libgtk+2-devel >= 2.4.0
BuildPreReq: libglade2-devel >= 2.0.0
BuildPreReq: libvte-devel >= 0.10.11

BuildPreReq: libtinfo-devel scrollkeeper

%description
Synaptic is a graphical front-end for APT (Advanced Package Tool).
It attempts to be a lot easier to use than other existing APT front-ends.

Instead of using trees to display packages, Synaptic is heavily based on a
powerful package filtering system. That greatly simplifies the interface
while giving a lot more flexibility to browse through very long package
lists.

%description -l ru_RU.CP1251
Synaptic - ЩРН ЦПЮТХВЕЯЙЮЪ НАНКНВЙЮ ДКЪ APT (Advanced Package Tool).
нМЮ ГМЮВХРЕКЭМН ОПНЫЕ Б ХЯОНКЭГНБЮМХХ, ВЕЛ ДПСЦХЕ НАНКНВЙХ ДКЪ APT.

бЛЕЯРН ХЯОНКЭГНБЮМХЪ ДЕПЕБЮ ДКЪ НРНАПЮФЕМХЪ ОЮЙЕРНБ synaptic НЯМНБЮМ
МЮ ЛНЫМНИ ЯХЯРЕЛЕ ТХКЭРПЮЖХХ ОЮЙЕРНБ. щРН ГМЮВХРЕКЭМН СОПНЫЮЕР ХМРЕПТЕИЯ
Х БЛЕЯРЕ Я РЕЛ ОПЕДНЯРЮБКЪЕР ЦНПЮГДН АНКЭЬЕ ЦХАЙНЯРХ ОПХ МЮБХЦЮЖХХ ОН
НВЕМЭ ДКХММШЛ ЯОХЯЙЮЛ ОЮЙЕРНБ.

%prep
%setup -q

# See comments about this patch above

#%%patch1 -p1
#%%patch2 -p1
#%%patch3 -p1
%patch4 -p1
%patch5
%patch6 -p1

%if_with ru_po
# installing own translation
install -p -m644 %SOURCE1 po/ru.po
# remove gmo file to tell autotools recreate it
rm -fv -- po/ru.gmo
%endif

install -p -m644 %SOURCE3 pixmaps/package-supported.png

%build
intltoolize --force
%if_enabled autotools
aclocal
autoheader
automake -a -c
autoconf
%endif

%add_optflags -fno-exceptions
%configure --with-vte --with-pkg-hold --enable-scripts
%make_build

%install
%make_install install DESTDIR=%buildroot

mkdir -p %buildroot%_mandir/ru/man8/
%if_with ru_man
install -p -m644 %SOURCE2 %buildroot%_mandir/ru/man8/%name.8
%else
install -p -m644 man/%name.ru.8 %buildroot%_mandir/ru/man8/%name.8
%endif

mkdir -p %buildroot%_sysconfdir/apt/apt.conf.d
install -p -m644 %SOURCE4 %buildroot%_sysconfdir/apt/apt.conf.d/%name.conf

%find_lang %name

%files -f %name.lang
%_sbindir/*
%_datadir/%name
%_datadir/gnome/help/%name
%_datadir/omf/%name
%_man8dir/%name.8.*
%_mandir/ru/man8/%name.8.*
%config(noreplace) %_sysconfdir/apt/apt.conf.d/%name.conf
%_sysconfdir/X11/sysconfig/%name.desktop
%doc README* TODO NEWS AUTHORS

%exclude %_desktopdir/%{name}*.desktop
%exclude %_datadir/pixmaps/%name.png

%changelog

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

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