# Generated from tkxxs-0.1.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name tkxxs
Name: rubygem-%{gem_name}
Version: 0.1.3
Release: 1%{?dist}
Summary: TKXXS provides a very simple and very easy to use GUI (graphical user interface) for Ruby; It gives you a persistent output window and popping up (modal) dialogs for input; For a screenshot, see: https://github.com/Axel2/tkxxs/blob/master/images/screenshot.png; I tested it on Windows, only; Got user report, that it works on Ubuntu, too
License: MIT
URL: https://github.com/Axel2/tkxxs
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
# BuildRequires: rubygem(hoe) >= 3.5
# BuildRequires: rubygem(hoe) < 4
BuildArch: noarch
%description
TKXXS provides a very simple and very easy to use GUI (graphical user
interface) for Ruby; It gives you a persistent output window and popping up
(modal) dialogs for input; For a screenshot, see:
https://github.com/Axel2/tkxxs/blob/master/images/screenshot.png; I
tested it on Windows, only; Got user report, that it works on Ubuntu, too.
TKXXS shall:
* improve the usability of little applications, which otherwise would use a
command line interface (CLI); for example by a GUI-file chooser
* give a simple GUI front-end for apps, which take parameters on the command
line. (stdout can easily be redirected to the OutputWindow.)
* take only little more effort and coding time over programming a CLI;
* be able to easily upgrade existing CLI-applications;
* be comfortable in use (e.g. provide incremental search, tool-tip-help, ...);
* be easy to install.
Drawbacks:
* I'v tested it only on Windows, but got user report, that it works on Ubuntu,
too.l
* For sure some more drawbacks which I'm not aware of now.
TKXXS uses TK (easy to install).
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%build
# Create the gem as gem install only works on a gem file
gem build ../%{gem_name}-%{version}.gemspec
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
pushd .%{gem_instdir}
# Run the test suite.
popd
%files
%dir %{gem_instdir}
%{gem_instdir}/.autotest
%license %{gem_instdir}/LICENSE
%{gem_instdir}/Manifest.txt
%{gem_instdir}/ext
%{gem_instdir}/images
%{gem_libdir}
%{gem_instdir}/samples
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CONTRIBUTORS
%doc %{gem_instdir}/History.txt
%doc %{gem_instdir}/README.rdoc
%{gem_instdir}/Rakefile
%doc %{gem_instdir}/rdoc_developers_hanna.bat
%doc %{gem_instdir}/rdoc_users_hanna.bat
%changelog
* Thu Sep 16 2021 mockbuilder - 0.1.3-1
- Initial package