SPECS: dbg-cli.spec (NEW) - added (only as complement to dbg - I'm...

twittner twittner at pld-linux.org
Sat Dec 30 13:12:35 CET 2006


Author: twittner                     Date: Sat Dec 30 12:12:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added (only as complement to dbg - I'm not using this)
- NOTE: ~/.dbgcli , ~/.dbgcli_init not ~/dbgcli_init (as states in README)

---- Files affected:
SPECS:
   dbg-cli.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dbg-cli.spec
diff -u /dev/null SPECS/dbg-cli.spec:1.1
--- /dev/null	Sat Dec 30 13:12:35 2006
+++ SPECS/dbg-cli.spec	Sat Dec 30 13:12:30 2006
@@ -0,0 +1,110 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs # don't build static libraries
+%bcond_with	shared # building library is broken for now
+%define with_static_libs 1
+#
+Summary:	dbg-cli - a free front-end for dbg PHP debugger
+Name:		dbg-cli
+Version:	2.11.32
+Release:	0.3
+License:	The DBG License Version 3.0		
+Group:		Development/Languages/PHP
+Source0:	http://heanet.dl.sourceforge.net/sourceforge/dbg2/%{name}-%{version}-src.tar.gz
+# Source0-md5:	2c3b32407b78c7861ab696e288c67201
+URL:		http://dd.cron.ru/dbg/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
+BuildRequires:	ncurses-devel
+BuildRequires:	readline-devel
+# uses getopt and pcre from own sources
+#BuildRequires:	pcre-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DBG is a a full-featured php debugger, an interactive tool that helps
+you debugging php scripts. It works on a production and/or development
+WEB server and allows you debug your scripts locally or remotely, from
+an IDE or console. This package contains dbg-cli - a free front-end
+for dbg.
+
+%package devel
+Summary:	Header files for dbg-cli
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for dbg-cli.
+
+%package static
+Summary:	Static dbg-cli library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static dbg-cli library.
+
+%prep
+%setup -q -n dbg_client-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{!?with_static_libs:--enable-static=no}%{?with_static_libs:--enable-static=yes}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# make ddd happy
+ln -sf %{_bindir}/dbg-cli $RPM_BUILD_ROOT%{_bindir}/dbg
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with shared}
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%endif
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING README
+%attr(755,root,root) %{_bindir}/*
+
+%if %{with shared} || %{with static_libs}
+%files devel
+%defattr(644,root,root,755)
+%{?with_shared:%attr(755,root,root) %{_libdir}/lib*.so}
+%{?with_shared:%{_libdir}/lib*.la}
+%{_includedir}/*
+%{?!with_shared:%{_libdir}/lib*.a}
+%endif
+
+%if %{with static_libs} && %{with shared}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/30 12:12:30  twittner
+- added (only as complement to dbg - I'm not using this)
+- NOTE: ~/.dbgcli , ~/.dbgcli_init not ~/dbgcli_init (as states in README)
+
================================================================


More information about the pld-cvs-commit mailing list