SHA256
1
0
forked from pool/tvision

Accepting request 1174761 from home:jengelh:branches:devel:libraries:c_c++

- Employ a _service file for git commit downloads
- Trim repetitive descriptions for size

OBS-URL: https://build.opensuse.org/request/show/1174761
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tvision?expand=0&rev=2
This commit is contained in:
Julius Enriquez
2024-05-17 07:48:15 +00:00
committed by Git OBS Bridge
parent 9b66753287
commit 748313f9ce
5 changed files with 36 additions and 46 deletions

View File

@@ -19,12 +19,12 @@
%bcond_without test
Name: tvision
Release: 0
Version: d1fa783e0fa8685c199563a466cdc221e8d9b85c
Version: 0~git621
Summary: Modern port of Turbo Vision 2.0
Group: Development/Languages/C and C++
License: MIT
URL: https://github.com/magiblot/tvision
Source0: %{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.xz
BuildRequires: binutils
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -32,12 +32,13 @@ BuildRequires: make
BuildRequires: pkgconfig(ncurses)
BuildRequires: gtest
Requires: pkgconfig(ncurses)
Requires: gpm
Suggests: gpm
Suggests: (xclip or xset)
%description
A modern port of Turbo Vision 2.0, the classical
framework for text-based user interfaces. Now
cross-platform and with Unicode support.
framework for text-based user interfaces, but
with Unicode support.
Turbo Vision lets application developers avoid
writing platform-specific workarounds for TUI apps.
@@ -62,51 +63,23 @@ This package contains the library, headers, and help file
compiler from the modernised Turbo Vision 2.0 port.
A modern port of Turbo Vision 2.0, the classical
framework for text-based user interfaces. Now
cross-platform and with Unicode support.
Turbo Vision lets application developers avoid
writing platform-specific workarounds for TUI apps.
It attempts to reproduce consistent results everywhere,
without developers worrying about terminal capabilities,
direct I/O, ifdefs, and other platform quirks.
Turbo Vision provides many widget classes (also known
as views), including resizable, overlapping windows,
pull-down menus, dialog boxes, buttons, scroll bars,
input boxes, check boxes and radio buttons. You may
use and extend these; but even if you prefer creating
your own, Turbo Vision already handles event dispatching,
display of fullwidth Unicode characters, etc.
framework for text-based user interfaces, but with
Unicode support.
%package demos
Summary: Demo programs of Turbo Vision 2.0
Group: Development/Languages/C and C++
%description -n %{name}-demos
%description demos
This package contains demo programs showing off the
modernised Turbo Vision 2.0 port.
A modern port of Turbo Vision 2.0, the classical
framework for text-based user interfaces. Now
cross-platform and with Unicode support.
Turbo Vision lets application developers avoid
writing platform-specific workarounds for TUI apps.
It attempts to reproduce consistent results everywhere,
without developers worrying about terminal capabilities,
direct I/O, ifdefs, and other platform quirks.
Turbo Vision provides many widget classes (also known
as views), including resizable, overlapping windows,
pull-down menus, dialog boxes, buttons, scroll bars,
input boxes, check boxes and radio buttons. You may
use and extend these; but even if you prefer creating
your own, Turbo Vision already handles event dispatching,
display of fullwidth Unicode characters, etc.
framework for text-based user interfaces, but
with Unicode support.
%prep
%setup -q
%autosetup -p1
%build
# Disable LTO due to a lto-no-text-in-archive problem with libtvision.a
@@ -125,16 +98,14 @@ pushd test/
popd
%files devel
%defattr(-,root,root)
%license COPYRIGHT
%doc README.md
%{_prefix}/lib/libtvision.a
%{_bindir}/tvhc
%{_includedir}/*
%{_prefix}/lib/cmake
%{_prefix}/lib/cmake/*
%{_prefix}/lib/cmake/
%files -n %{name}-demos
%files demos
%{_bindir}/tvdemo
%{_bindir}/tvedit