Репозитории 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 |
Группа :: Система/Настройка/Пакеты
Пакет: 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 $
%define rel pre2
# '--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
Name: synaptic
Version: 0.56
Release: alt0.3
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
# 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
Requires: %{get_dep rpm}, %{get_dep libapt}
# 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
# Note: libdb4.2-devel was manualy removed from BuildRequires list generated by buildreq
# Automatically added by buildreq on Wed Feb 02 2005
BuildRequires: docbook-dtds docbook-style-xsl fontconfig-devel freetype2-devel gcc-c++ glib2-devel libapt-devel libatk-devel libglade2-devel libgpg-error libgtk+2-devel libncurses-devel libpango-devel libpopt-devel librpm-devel libstdc++-devel libvte-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper xml-common xmlto xorg-x11-devel xorg-x11-libs xsltproc zlib-devel
%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
%if_with ru_po
# installing own translation
%__install -p -m644 %SOURCE1 po/ru.po
%endif
%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
%find_lang %name
%files -f %name.lang
%_sbindir/*
%_datadir/%name
%_datadir/gnome/help/%name
%_datadir/omf/%name
%_mandir/man8/%name.8.*
%_mandir/ru/man8/%name.8.*
%doc README* TODO NEWS AUTHORS
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: synaptic,v 1.1 2003/04/28 11:30:54 svd Exp $
%define rel pre2
# '--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
Name: synaptic
Version: 0.56
Release: alt0.3
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
# 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
Requires: %{get_dep rpm}, %{get_dep libapt}
# 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
# Note: libdb4.2-devel was manualy removed from BuildRequires list generated by buildreq
# Automatically added by buildreq on Wed Feb 02 2005
BuildRequires: docbook-dtds docbook-style-xsl fontconfig-devel freetype2-devel gcc-c++ glib2-devel libapt-devel libatk-devel libglade2-devel libgpg-error libgtk+2-devel libncurses-devel libpango-devel libpopt-devel librpm-devel libstdc++-devel libvte-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper xml-common xmlto xorg-x11-devel xorg-x11-libs xsltproc zlib-devel
%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
%if_with ru_po
# installing own translation
%__install -p -m644 %SOURCE1 po/ru.po
%endif
%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
%find_lang %name
%files -f %name.lang
%_sbindir/*
%_datadir/%name
%_datadir/gnome/help/%name
%_datadir/omf/%name
%_mandir/man8/%name.8.*
%_mandir/ru/man8/%name.8.*
%doc README* TODO NEWS AUTHORS
%changelog
…
Полный changelog можно просмотреть здесь