Репозиторий Sisyphus
Последнее обновление: 2 декабря 2022 | Пакетов: 17959 | Посещений: 25464553
en ru br
Репозитории ALT
S:3.0.0-alt1
5.1: 2.1.1-alt2
4.1: 2.1.0-alt1
4.0: 2.0.5-alt1
3.0: 1.2.10-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: kdbg

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

%define qtdir /usr/lib/qt3

Name: kdbg
Version: 1.2.10
Release: alt1.1

Group: Development/Other
Summary: A Graphical Debugger Interface
License: GPL
URL: http://members.nextra.at/johsixt/kdbg.html

Requires: gdb
Requires: %{get_dep kdelibs}

Source: %name-%version.tar.bz2
Patch1: kdbg-1.2.10-using-libthread.patch

# Automatically added by buildreq on Mon Mar 22 2004 (-bi)

#BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++ kdelibs-devel libpng-devel libqt3-devel libstdc++-devel zlib-devel

BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++
BuildRequires: kdelibs-devel libpng-devel libqt3-devel libstdc++-devel zlib-devel
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base

%description
KDbg is a graphical user interface to gdb, the GNU debugger.

It provides an intuitive interface for setting breakpoints,
inspecting variables, and stepping through code.

%prep
%setup -q
%patch1 -p1

pushd po
rm -f *.gmo ja.po
#rm -f ja.po
subst "s/ja\.gmo//" Makefile.am
#for f in *.po
#do
#    cp $f "$f".tmp
#    CCHARSET=`grep charset "$f".tmp| sed "s/^.*charset=//"| sed "s/\\\\\\.*//"`
#    iconv -f$CCHARSET -tUTF-8 "$f".tmp -o $f ||:
#    rm -f "$f".tmp
#    subst "s/charset\=$CCHARSET/charset=UTF-8/" $f
#done
popd

subst "s/\.la/.so/g" acinclude.m4
subst "s/\-lkdeui/-lkdeui -lpthread/g" acinclude.m4

aclocal
automake
autoconf


%build
%configure --with-kde-version=3 \
  --with-qt-dir=%qtdir \
  --disable-rpath \
  --disable-debug \
  --enable-final \
  --with-xinerama \
  --program-prefix=""

%make_build

%install
%make DESTDIR=%buildroot install


mkdir -p %buildroot/%_menudir/
kdedesktop2mdkmenu.pl %name Applications/Development/Tools %buildroot/%_datadir/applnk/Development/%name.desktop %buildroot/%_menudir/%name

%find_lang %name


%post
%update_menus
%postun
%clean_menus

%files -f %name.lang
%doc COPYING ChangeLog README
%_bindir/*
%_datadir/apps/kdbg
%_iconsdir/*/*/apps/kdbg.png
#
%doc %_docdir/HTML/en/kdbg
%lang(ru) %doc %_docdir/HTML/ru/kdbg
%lang(de) %doc %_docdir/HTML/de/kdbg
#
%_datadir/applnk/Development/kdbg.desktop
%_menudir/*

%changelog

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

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