|
@@ -1,80 +1,95 @@
|
|
Summary: KDbg - a graphical user interface to gdb
|
|
Summary: KDbg - a graphical user interface to gdb
|
|
Summary(ja): GDB のグラフィカルユーザインターフェイス
|
|
Summary(ja): GDB のグラフィカルユーザインターフェイス
|
|
Name: kdbg
|
|
Name: kdbg
|
|
-Version: 2.1.1
|
|
+Version: 2.5.4
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
-License: GPL
|
|
+
|
|
-URL: http://www.kdbg.org/
|
|
+License: GPL+
|
|
Group: Applications/Development
|
|
Group: Applications/Development
|
|
|
|
+URL: http://www.kdbg.org/
|
|
|
|
|
|
-Source: %{name}-%{version}.tar.gz
|
|
+Source: http://download.sourceforge.net/kdbg/%{name}-%{version}.tar.gz
|
|
-Patch0: kdbg-2.1.0-gcc44.patch
|
|
+Patch0: kdbg-2.5.1-icons.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: kdelibs3-devel
|
|
+BuildRequires: cmake
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
-BuildRequires: arts-devel
|
|
+BuildRequires: gettext
|
|
|
|
+BuildRequires: kdelibs4-devel
|
|
Requires(post): desktop-file-utils
|
|
Requires(post): desktop-file-utils
|
|
Requires(postun): desktop-file-utils
|
|
Requires(postun): desktop-file-utils
|
|
Requires: gdb
|
|
Requires: gdb
|
|
|
|
+Requires: xterm
|
|
|
|
|
|
%description
|
|
%description
|
|
-KDbg is a graphical user interface to gdb, the GNU debugger.
|
|
+KDbg is a K Desktop Environment (KDE) GUI for gdb, the GNU debugger.
|
|
-It provides an intuitive interface for setting breakpoints,
|
|
+KDbg provides the programmer with an intuitive interface for setting
|
|
-inspecting variables, and stepping through code.
|
|
+breakpoints, inspecting variables, and stepping through code. KDbg
|
|
-
|
|
+requires X and KDE to be installed in order to run.
|
|
-KDbg requires KDE, the K Desktop Environment, but you can
|
|
|
|
-of course debug any program.
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1 -b .gcc44
|
|
+%patch0 -p1 -b .icons
|
|
|
|
|
|
%build
|
|
%build
|
|
-unset QTDIR || : ; source /etc/profile.d/qt.sh
|
|
+# don't install icons, which are included in oxygen-icon-theme
|
|
-
|
|
+rm -f kdbg/pics/*action-debug-run*
|
|
-%configure \
|
|
+
|
|
- --disable-rpath \
|
|
+mkdir -p %{_target_platform}
|
|
- --enable-new-ldflags
|
|
+pushd %{_target_platform}
|
|
-
|
|
+%{cmake} \
|
|
-# don't use parallel build
|
|
+ -DCMAKE_BUILD_TYPE=release \
|
|
-#make %{?_smp_mflags}
|
|
+ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
-make
|
|
+ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
|
|
+ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
|
|
+ -DKDE_DISTRIBUTION_TEXT="%{version}-%{release} Vine Linux" \
|
|
|
|
+ ..
|
|
|
|
+popd
|
|
|
|
+
|
|
|
|
+make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-make DESTDIR=$RPM_BUILD_ROOT install
|
|
+make DESTDIR=$RPM_BUILD_ROOT install/fast -C %{_target_platform}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+touch --no-create %{_datadir}/icons/oxygen &> /dev/null || :
|
|
|
|
|
|
%postun
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
if [ $1 -eq 0 ] ; then
|
|
update-desktop-database -q &> /dev/null
|
|
update-desktop-database -q &> /dev/null
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
|
|
|
+ touch --no-create %{_datadir}/icons/oxygen &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null || :
|
|
fi
|
|
fi
|
|
|
|
|
|
%posttrans
|
|
%posttrans
|
|
update-desktop-database -q &> /dev/null
|
|
update-desktop-database -q &> /dev/null
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc COPYING ChangeLog README
|
|
+%doc BUGS ChangeLog* COPYING README TODO ReleaseNotes-*
|
|
%{_bindir}/kdbg
|
|
%{_bindir}/kdbg
|
|
-%{_datadir}/applications/*
|
|
+%{_datadir}/applications/kde4/*
|
|
-%{_datadir}/apps/*
|
|
+%{_datadir}/kde4/apps/%{name}
|
|
-%{_datadir}/config/*
|
|
|
|
%{_datadir}/icons/*/*/*/*
|
|
%{_datadir}/icons/*/*/*/*
|
|
%{_datadir}/locale/*
|
|
%{_datadir}/locale/*
|
|
-%doc %{_datadir}/doc/HTML/*
|
|
+%config (noreplace) %{_datadir}/config/kdbgrc
|
|
|
|
+%doc %{_docdir}/HTML/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jan 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.4-1
|
|
|
|
+- updated to 2.5.4
|
|
|
|
+- built on current VineSeed
|
|
|
|
+
|
|
* Fri Apr 16 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.1-3
|
|
* Fri Apr 16 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.1-3
|
|
- rebuilt without smp option
|
|
- rebuilt without smp option
|
|
- added BR: arts-devel
|
|
- added BR: arts-devel
|