snavigator and insight

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--=-9z9+elTXxxKSUMYgkzYx
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I would like to submit a patch to a bug in the snavigator.spec that
prevents command line options from being passed to snavigator.

I would also like to contribute a spec to insight. 

I must say that I've found very strange that insight isn't included in
RHL while ddd is, specially considering that insight is even maintained
by sources.redhat.com folks. 

In fact I was unable to find any insight RPM anywhere, that why I've
made this one, based on gdb.spec and snavigator.spec, and eventually
found the bug on snavigator.spec.

Of course, if you really want to incorporate them on RHL you can do
whatever you want with these files and change them anyway you want.

Regards,

Jose Fonseca

PS: This is the second email I send to this list. From the first one I've received an automated reply saying that it was required approval from the list moderator, but it was never posted and I didn't received further reply. If the list is not moderated this should be clearly stated.

--=-9z9+elTXxxKSUMYgkzYx
Content-Disposition: attachment; filename=insight.spec
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

%define insightdir %{_libexecdir}/insight

Summary: Insight is a graphical user interface to GDB written in Tcl/Tk.
Name: insight
Version: 5.1
Release: 1
Copyright: GPL
Group: Development/Debuggers
Source: ftp://sources.redhat.com/pub/gdb/releases/insight-%{version}.tar.bz=
2
Buildroot: %{_tmppath}/%{name}-%{version}-root

%description
Insight is a graphical user interface to GDB, the GNU Debugger written in T=
cl/Tk.

%prep
%setup -q


%build
CFLAGS=3D"${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS=3D"${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
./configure %{_target_platform} --prefix=3D%{insightdir}
make
cp gdb/README gdb/NEWS gdb/gdbtk/README.GDBTK .


%install
rm -rf $RPM_BUILD_ROOT
make prefix=3D$RPM_BUILD_ROOT%{insightdir} install

mkdir -p $RPM_BUILD_ROOT%{_bindir}

cat << EOF > $RPM_BUILD_ROOT%{_bindir}/insight
#!/bin/sh
exec %{insightdir}/bin/gdb \$@
EOF

chmod 755 $RPM_BUILD_ROOT%{_bindir}/insight

rm -rf $RPM_BUILD_ROOT%{insightdir}/include
rm -rf $RPM_BUILD_ROOT%{insightdir}/lib
rm -rf $RPM_BUILD_ROOT%{insightdir}/man


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%doc COPYING COPYING.LIB README NEWS README.GDBTK
%{_bindir}/insight
%{insightdir}


%changelog
* Fri Dec  7 2001 Jose Fonseca <jrfonseca@email.com>
- adapted from gdb.spec and snavigator.spec

--=-9z9+elTXxxKSUMYgkzYx
Content-Disposition: attachment; filename=snavigator.spec.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; charset=ISO-8859-1

*** snavigator.spec.old	Wed Dec 12 18:14:56 2001
--- snavigator.spec	Wed Dec 12 18:15:08 2001
***************
*** 43,47 ****
  cat << EOF > $RPM_BUILD_ROOT%{_bindir}/snavigator
  #!/bin/sh
! exec %{SNdir}/bin/snavigator $@
  EOF
 =20
--- 43,47 ----
  cat << EOF > $RPM_BUILD_ROOT%{_bindir}/snavigator
  #!/bin/sh
! exec %{SNdir}/bin/snavigator \$@
  EOF
 =20

--=-9z9+elTXxxKSUMYgkzYx--





[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux