2020-04-08 14:43:48 +00:00
|
|
|
Name: notcurses
|
2020-04-10 00:21:33 +00:00
|
|
|
Version: 1.2.7
|
2020-04-08 14:43:48 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Character graphics and TUI library
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://nick-black.com/dankwiki/index.php/Notcurses
|
|
|
|
Source0: https://github.com/dankamongmen/%{name}/archive/v%{version}.tar.gz
|
|
|
|
Source1: https://github.com/dankamongmen/%{name}/releases/v%{version}/v%{version}.tar.gz.asc
|
|
|
|
Source2: https://dank.qemfd.net/dankamongmen.gpg
|
|
|
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pandoc
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
2020-04-08 06:12:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
notcurses facilitates the creation of modern TUI programs,
|
|
|
|
making full use of Unicode and 24-bit direct color. It presents
|
2020-04-08 09:39:41 +00:00
|
|
|
an API similar to that of Curses, and rides atop Terminfo.
|
2020-04-08 06:12:46 +00:00
|
|
|
|
2020-04-08 14:43:48 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for the notcurses library
|
|
|
|
License: ASL 2.0
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development files for the notcurses
|
|
|
|
library.
|
|
|
|
|
|
|
|
%package static
|
|
|
|
Summary: Static library for the notcurses library
|
|
|
|
License: ASL 2.0
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The notcurses-static package includes the static notcurses library.
|
|
|
|
|
2020-04-08 06:12:46 +00:00
|
|
|
%prep
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
2020-04-08 14:43:48 +00:00
|
|
|
%autosetup
|
2020-04-08 06:12:46 +00:00
|
|
|
|
|
|
|
%build
|
2020-04-08 15:46:33 +00:00
|
|
|
%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off .
|
2020-04-08 06:12:46 +00:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
2020-04-08 14:43:48 +00:00
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license COPYRIGHT LICENSE
|
|
|
|
%{_libdir}/libnotcurses.so.%{version}
|
|
|
|
%{_libdir}/libnotcurses.so.1
|
|
|
|
%{_libdir}/libnotcurses++.so.1
|
|
|
|
%{_libdir}/libnotcurses++.so.%{version}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_bindir}/notcurses-demo
|
|
|
|
%{_bindir}/notcurses-input
|
|
|
|
%{_bindir}/notcurses-ncreel
|
|
|
|
%{_bindir}/notcurses-pydemo
|
|
|
|
%{_bindir}/notcurses-tetris
|
|
|
|
%{_includedir}/notcurses/nckeys.h
|
|
|
|
%{_includedir}/notcurses/notcurses.h
|
|
|
|
%{_libdir}/libnotcurses.so
|
|
|
|
%{_libdir}/libnotcurses++.so
|
|
|
|
%{_libdir}/cmake/notcurses
|
|
|
|
%{_libdir}/pkgconfig/notcurses.pc
|
|
|
|
%{_libdir}/pkgconfig/notcurses++.pc
|
|
|
|
%{_mandir}/man1/colloquy.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-demo.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-input.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-ncreel.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-pydemo.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-tester.1.gz
|
|
|
|
%{_mandir}/man/man1/notcurses-tetris.1.gz
|
|
|
|
%{_mandir}/man1/notcurses-view.1.gz
|
|
|
|
%{_mandir}/man3/notcurses.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_cell.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_channels.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_directmode.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_fade.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_init.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_input.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_lines.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_menu.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_multiselector.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_ncplane.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_ncvisual.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_output.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_palette.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_plot.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_reel.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_refresh.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_render.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_selector.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_stats.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_stdplane.3.gz
|
|
|
|
%{_mandir}/man3/notcurses_stop.3.gz
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%{_libdir}/libnotcurses.a
|
|
|
|
%{_libdir}/libnotcurses++.a
|
2020-04-08 06:12:46 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-04-10 00:21:33 +00:00
|
|
|
* Tue Apr 07 2020 Nick Black <dankamongmen@gmail.com> - 1.2.7-1
|
2020-04-08 06:12:46 +00:00
|
|
|
- Initial Fedora packaging
|