From 0d345801623937a01005a76ddc1861aac0238808 Mon Sep 17 00:00:00 2001 From: zbyniu Date: Tue, 30 Jan 2007 01:47:48 +0000 Subject: [PATCH] - new Changed files: bbe.spec -> 1.1 --- bbe.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bbe.spec diff --git a/bbe.spec b/bbe.spec new file mode 100644 index 0000000..d6aefe7 --- /dev/null +++ b/bbe.spec @@ -0,0 +1,42 @@ +Summary: bbe - Binary block editor +Name: bbe +Version: 0.2.2 +Release: 0.1 +License: GPL v2 +Group: Applications/Text +URL: http://members.surfeu.fi/tjsa/bbe/ +Source0: http://dl.sourceforge.net/bbe-/%{name}-%{version}.tar.gz +# Source0-md5: b056d0bfd852384aced73d4533887d4b +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The bbe program is a sed-like editor for binary files. bbe performs +basic byte related transformations on blocks of input stream. bbe is +non-interactive command line tool and can be used as a part of a +pipeline. bbe makes only one pass over input stream. + +bbe contains also grep-like features, like printing the filename, +offset and block number. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + htmldir=%{_docdir}/%{name}-%{version} + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog +%attr(755,root,root) %{_bindir}/bbe +%{_mandir}/man1/bbe.* +%{_infodir}/bbe.* + +%clean +rm -rf $RPM_BUILD_ROOT -- 2.44.0