rpms/avr-gdb/devel README.fedora, NONE, 1.1 avr-gdb.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Thu Jun 14 20:28:40 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/avr-gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28622/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.fedora avr-gdb.spec 
Log Message:
Initial avr-gdb import



--- NEW FILE README.fedora ---
This package does not include the gnu texinfo documentation because this would
conflict with the native gcc. If you've installed the native gdb,
you can find the info documentation there, notice that this might be for a
different version though!


--- NEW FILE avr-gdb.spec ---
%define target avr

Name:           %{target}-gdb
Version:        6.6
Release:        4%{?dist}
Summary:        GDB for (remote) debugging %{target} binaries
Group:          Development/Tools
License:        GPL
URL:            http://sources.redhat.com/gdb/
Source0:        http://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz
Source1:        README.fedora
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires:  ncurses-devel chrpath

%description
This is a special version of GDB, the GNU Project debugger, for (remote)
debugging %{target} binaries. GDB allows you to see what is going on
inside another program while it executes or what another program was doing at
the moment it crashed. 


%prep
%setup -q -c
cp %{SOURCE1} .


%build
mkdir -p build
pushd build
CFLAGS="$RPM_OPT_FLAGS" ../gdb-%{version}/configure --prefix=%{_prefix} \
  --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \
  --target=%{target} --disable-nls
make %{?_smp_mflags}
popd


%install
rm -rf $RPM_BUILD_ROOT
pushd build
make install DESTDIR=$RPM_BUILD_ROOT
popd
# our usual libtool sed magic doesn't work as libtool gets generated during
# the make <sigh>
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}tui
# we don't want these as we are a cross version
rm -r $RPM_BUILD_ROOT%{_infodir}
rm    $RPM_BUILD_ROOT%{_libdir}/libiberty.a


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc gdb-%{version}/COPYING* gdb-%{version}/README*
%{_bindir}/%{name}*
%{_mandir}/man1/%{name}*


%changelog
* Thu Jun 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-4
- Add BuildRequires: ncurses-devel (bz 243248)
- Use VPATh building (bz 243248)

* Mon Jun 11 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-3
- Remove bogus avr-gcc-c++ Requires (bz 243248)

* Fri Jun  8 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-2
- Various specfile cleanups

* Thu May 31 2007 Lennart Kneppers <lennartkneppers at gmail.com> 6.6-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/avr-gdb/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Jun 2007 15:14:33 -0000	1.1
+++ .cvsignore	14 Jun 2007 20:28:07 -0000	1.2
@@ -0,0 +1 @@
+gdb-6.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/avr-gdb/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Jun 2007 15:14:33 -0000	1.1
+++ sources	14 Jun 2007 20:28:07 -0000	1.2
@@ -0,0 +1 @@
+18be4e7a1ac713bda93d00fee20bbef8  gdb-6.6.tar.gz




More information about the fedora-extras-commits mailing list