commit c40913ff150a7987c6a4a52231a37bf4dfd47b8ca9e58b89015e475c760bb23e Author: Michael Vetter Date: Mon Dec 7 08:32:57 2020 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bitwise-0.41.tar.gz b/bitwise-0.41.tar.gz new file mode 100644 index 0000000..5e138cb --- /dev/null +++ b/bitwise-0.41.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9579aad36ca4f36d158bf016d2e38a64f1fae325b5985380237fc5082bbcf17 +size 266714 diff --git a/bitwise.changes b/bitwise.changes new file mode 100644 index 0000000..4c2cf2b --- /dev/null +++ b/bitwise.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Dec 6 19:21:18 UTC 2020 - Martin Hauke + +- Initial package, version 0.41 diff --git a/bitwise.spec b/bitwise.spec new file mode 100644 index 0000000..db359e4 --- /dev/null +++ b/bitwise.spec @@ -0,0 +1,65 @@ +# +# spec file for package bitwise +# +# Copyright (c) 2020, Martin Hauke +# +# 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