Menu

[0c50c7]: / rpm / bashdb-4.2-0.92.spec  Maximize  Restore  History

Download this file

115 lines (90 with data), 3.7 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
%bcond_with tests
%define rversion 4.2-0.92
Name: bashdb
Summary: BASH debugger, the BASH symbolic debugger
Version: 4.2_0.92
Release: 1%{?dist}
License: GPLv2+
Group: Development/Debuggers
Url: http://bashdb.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{rversion}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bash4 == 4.2
BuildRequires: python-pygments
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: bash4 == 4.2
BuildArch: noarch
Obsoletes: emacs-bashdb, emacs-bashdb-el
%description
The Bash Debugger Project is a source-code debugger for bash,
which follows the gdb command syntax.
The purpose of the BASH debugger is to check
what is going on “inside” a bash script, while it executes:
* Start a script, specifying conditions that might affect its behavior.
* Stop a script at certain conditions (break points).
* Examine the state of a script.
* Experiment, by changing variable values on the fly.
The 4.0 series is a complete rewrite of the previous series.
Bashdb can be used with ddd: ddd --debugger %{_bindir}/%{name} <script-name>.
%prep
%setup -q -n %{name}-%{rversion}
%build
/usr/bin/bash4 ./configure --with-bash=/usr/bin/bash4 --prefix=/usr/local --datadir=/usr/local/share --mandir=/usr/local/share/man --infodir=/usr/local/share/info
sed -i 's:@BASHDB_MAIN@:/usr/local/share/bashdb/bashdb-main.inc:' bashdb-main.inc
make
%install
rm -rf %{buildroot}
make install INSTALL="install -p" DESTDIR=%{buildroot}
mv -v %{buildroot}/usr/local/bin/bashdb %{buildroot}/usr/local/bin/bashdb4
rm -vf "%{buildroot}%{_infodir}/dir"
touch "%{buildroot}/usr/local/share/info/dir"
%if %{with tests}
%check
# make check
%endif
%post
mkdir -p /usr/local/share/info || :
/sbin/install-info /usr/local/share/info/bashdb.info /usr/local/share/info/dir || :
%postun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc doc/*.html AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO
/usr/local/bin/bashdb4
/usr/local/share/bashdb
/usr/local/share/info/bashdb.info
/usr/local/share/info/dir
/usr/local/share/man/man1/bashdb.1
%changelog
* Sun Apr 30 2017 Rocky Bernstein <rb@dustyfeet.com> 4.2_0.9-1
- backport bashdb changes for CentOS7 for bash 4.2
* Sat Nov 9 2013 Rocky Bernstein <rb@dustyfeet.com> 4.2_0.9-1
- Make it work on RHEL5 for bash4
* Tue Sep 27 2011 Rocky Bernstein <rb@dustyfeet.com> 4.2_0.9-1
- Updated to 4.2-0.9
* Tue Mar 29 2011 Paulo Roma <roma@lcg.ufrj.br> 4.2_0.8-1
- Updated to 4.2-0.7
* Sun Mar 06 2011 Paulo Roma <roma@lcg.ufrj.br> 4.2_0.6-1
- Updated to 4.2-0.6
- Emacs lisp code has been removed upstream.
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1_0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jul 22 2010 Paulo Roma <roma@lcg.ufrj.br> 4.1_0.4-1
- Updated to 4.1-0.4
* Sun Mar 14 2010 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 4.0_0.4-3
- Update package to comply with emacs add-on packaging guidelines
- Split out separate Elisp source file package
* Sun Dec 27 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.4-2
- Updated to 4.0-0.4
* Fri Apr 10 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.3-2
- Updated to 4.0-0.3 for supporting bash 4.0
- Added building option "with tests".
* Wed Feb 25 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.2-1
- Completely rewritten for Fedora.
* Tue Nov 18 2008 Manfred Tremmel <Manfred.Tremmel@iiv.de>
- update to 4.0-0.2
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.