From bbcd81ca56d8b830d733f234091f0afb160516b6f04824f6a22bc06637cc01e9 Mon Sep 17 00:00:00 2001 From: Julius Enriquez Date: Fri, 17 May 2024 07:48:15 +0000 Subject: [PATCH] - Employ a _service file for git commit downloads - Trim repetitive descriptions for size OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tvision?expand=0&rev=2 --- _service | 13 +++++ tvision-0~git621.tar.xz | 3 + ...83e0fa8685c199563a466cdc221e8d9b85c.tar.gz | 3 - tvision.changes | 6 ++ tvision.spec | 57 +++++-------------- 5 files changed, 36 insertions(+), 46 deletions(-) create mode 100644 _service create mode 100644 tvision-0~git621.tar.xz delete mode 100644 tvision-d1fa783e0fa8685c199563a466cdc221e8d9b85c.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..f450ef0 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + git + https://github.com/magiblot/tvision + master + 0~git@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/tvision-0~git621.tar.xz b/tvision-0~git621.tar.xz new file mode 100644 index 0000000..c3c27b0 --- /dev/null +++ b/tvision-0~git621.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59688a5f1792b3f7831b828c304d0dcfa03bc9ed9da300a66d6074c134358a64 +size 722044 diff --git a/tvision-d1fa783e0fa8685c199563a466cdc221e8d9b85c.tar.gz b/tvision-d1fa783e0fa8685c199563a466cdc221e8d9b85c.tar.gz deleted file mode 100644 index 7ae1362..0000000 --- a/tvision-d1fa783e0fa8685c199563a466cdc221e8d9b85c.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abcc4b2129014806ffd754a3f928b1c2def30a4909b2fc842042bf8cd2f6d7fd -size 845745 diff --git a/tvision.changes b/tvision.changes index 654cc66..931db59 100644 --- a/tvision.changes +++ b/tvision.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 17 06:08:53 UTC 2024 - Jan Engelhardt + +- Employ a _service file for git commit downloads +- Trim repetitive descriptions for size + ------------------------------------------------------------------- Sat May 11 11:22:27 UTC 2024 - Julius Enriquez diff --git a/tvision.spec b/tvision.spec index 2d56f34..05e24fb 100644 --- a/tvision.spec +++ b/tvision.spec @@ -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