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

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/magiblot/tvision</param>
<param name="revision">master</param>
<param name="versionformat">0~git@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual"/>
</services>

3
tvision-0~git621.tar.xz Normal file
View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 17 06:08:53 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Employ a _service file for git commit downloads
- Trim repetitive descriptions for size
-------------------------------------------------------------------
Sat May 11 11:22:27 UTC 2024 - Julius Enriquez <win8linux@gmail.com>

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