Accepting request 853423 from home:mnhauke

Initial package for bitwise

OBS-URL: https://build.opensuse.org/request/show/853423
OBS-URL: https://build.opensuse.org/package/show/utilities/bitwise?expand=0&rev=1
This commit is contained in:
Michael Vetter 2020-12-07 08:32:57 +00:00 committed by Git OBS Bridge
commit c40913ff15
5 changed files with 96 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
bitwise-0.41.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9579aad36ca4f36d158bf016d2e38a64f1fae325b5985380237fc5082bbcf17
size 266714

4
bitwise.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Dec 6 19:21:18 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.41

65
bitwise.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package bitwise
#
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: bitwise
Version: 0.41
Release: 0
Summary: Interactive bitwise operation in ncurses
License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://github.com/mellowcandle/bitwise
Source: https://github.com/mellowcandle/bitwise/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cunit)
BuildRequires: pkgconfig(ncursesw)
BuildRequires: pkgconfig(readline)
%description
Bitwise is a multi base interactive calculator supporting dynamic base
conversion and bit manipulation. It's a handy tool for low level
hackers, kernel developers and device drivers developers.
Some of the features include:
* Interactive ncurses interface command line calculator.
* Individual bit manipulator.
* Bitwise operations such as NOT, OR, AND, XOR, and shifts.
%prep
%setup -q
%build
autoreconf -fiv
export CFLAGS="%{optflags} $(pkg-config --cflags ncursesw) $(pkg-config --libs ncursesw)"
%configure
%make_build
%install
%make_install
%check
%make_build check
%files
%license COPYING
%doc ChangeLog README README.md
%{_bindir}/bitwise
%{_mandir}/man1/bitwise.1%{?ext_man}
%changelog