|
nick black |
665f391 |
Name: notcurses
|
|
|
af8ea1e |
Version: 1.6.0
|
|
|
3bb3005 |
Release: 1%{?dist}
|
|
nick black |
665f391 |
Summary: Character graphics and TUI library
|
|
nick black |
665f391 |
License: ASL 2.0
|
|
nick black |
665f391 |
URL: https://nick-black.com/dankwiki/index.php/Notcurses
|
|
|
3bb3005 |
Source0: https://github.com/dankamongmen/%{name}/releases/download/v%{version}/notcurses_%{version}+dfsg.1.orig.tar.xz
|
|
nick black |
665f391 |
Source1: https://github.com/dankamongmen/%{name}/releases/download/v%{version}/notcurses_%{version}+dfsg.1.orig.tar.xz.asc
|
|
nick black |
665f391 |
Source2: https://nick-black.com/dankamongmen.gpg
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
BuildRequires: gnupg2
|
|
nick black |
665f391 |
BuildRequires: cmake
|
|
|
7b4d81f |
BuildRequires: doctest-devel
|
|
nick black |
665f391 |
BuildRequires: gcc-c++
|
|
nick black |
665f391 |
BuildRequires: libqrcodegen-devel
|
|
nick black |
665f391 |
BuildRequires: OpenImageIO-devel
|
|
nick black |
665f391 |
BuildRequires: pandoc
|
|
nick black |
665f391 |
BuildRequires: python3-devel
|
|
|
b7fa16c |
BuildRequires: python3-setuptools
|
|
nick black |
665f391 |
BuildRequires: python3-cffi
|
|
nick black |
665f391 |
BuildRequires: pkgconfig(ncurses)
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%description
|
|
nick black |
665f391 |
Notcurses facilitates the creation of modern TUI programs,
|
|
nick black |
665f391 |
making full use of Unicode and 24-bit TrueColor. It presents
|
|
nick black |
665f391 |
an API similar to that of Curses, and rides atop Terminfo.
|
|
nick black |
665f391 |
This package includes C and C++ shared libraries.
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%package devel
|
|
nick black |
665f391 |
Summary: Development files for the Notcurses library
|
|
nick black |
665f391 |
License: ASL 2.0
|
|
nick black |
665f391 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%description devel
|
|
nick black |
665f391 |
Development files for the notcurses library.
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%package static
|
|
nick black |
665f391 |
Summary: Static library for the Notcurses library
|
|
nick black |
665f391 |
License: ASL 2.0
|
|
nick black |
665f391 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%description static
|
|
nick black |
665f391 |
A statically-linked version of the notcurses library.
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%package utils
|
|
nick black |
665f391 |
Summary: Binaries from the Notcurses project
|
|
nick black |
665f391 |
License: ASL 2.0
|
|
nick black |
665f391 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%description utils
|
|
nick black |
665f391 |
Binaries from Notcurses, and multimedia content used thereby.
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%package -n python3-%{name}
|
|
nick black |
665f391 |
Summary: Python wrappers for notcurses
|
|
nick black |
665f391 |
License: ASL 2.0
|
|
nick black |
665f391 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%description -n python3-%{name}
|
|
nick black |
665f391 |
Python wrappers and a demonstration script for the notcurses library.
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%prep
|
|
nick black |
665f391 |
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
nick black |
665f391 |
%autosetup
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%build
|
|
|
7b4d81f |
mkdir %{_target_platform}
|
|
|
7b4d81f |
cd %{_target_platform}
|
|
|
7b4d81f |
%cmake -DUSE_MULTIMEDIA=oiio -DDFSG_BUILD=on ..
|
|
nick black |
665f391 |
%make_build
|
|
nick black |
665f391 |
cd python
|
|
nick black |
665f391 |
%py3_build
|
|
nick black |
665f391 |
|
|
|
7b4d81f |
%check
|
|
|
7b4d81f |
cd %{_target_platform}
|
|
|
af8ea1e |
ctest -V %{?_smp_mflags}
|
|
|
7b4d81f |
|
|
nick black |
665f391 |
%install
|
|
|
7b4d81f |
cd %{_target_platform}
|
|
nick black |
665f391 |
%make_install
|
|
nick black |
665f391 |
cd python
|
|
nick black |
665f391 |
%py3_install
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%files
|
|
|
9198165 |
%doc OTHERS.md README.md USAGE.md NEWS.md
|
|
nick black |
665f391 |
%license COPYRIGHT LICENSE
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses.so.%{version}
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses.so.1
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses++.so.1
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses++.so.%{version}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%files devel
|
|
nick black |
665f391 |
%{_includedir}/notcurses/
|
|
nick black |
665f391 |
%{_includedir}/ncpp/
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses.so
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses++.so
|
|
nick black |
665f391 |
%{_libdir}/cmake/notcurses
|
|
nick black |
665f391 |
%{_libdir}/pkgconfig/notcurses.pc
|
|
nick black |
665f391 |
%{_libdir}/pkgconfig/notcurses++.pc
|
|
nick black |
665f391 |
%{_mandir}/man3/*.3*
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%files static
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses.a
|
|
nick black |
665f391 |
%{_libdir}/libnotcurses++.a
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%files utils
|
|
|
7b4d81f |
# Don't use a wildcard, lest we pull in notcurses-pydemo.1.
|
|
|
3bb3005 |
%{_bindir}/ncneofetch
|
|
nick black |
665f391 |
%{_bindir}/notcurses-demo
|
|
nick black |
665f391 |
%{_bindir}/notcurses-input
|
|
nick black |
665f391 |
%{_bindir}/notcurses-ncreel
|
|
|
7b4d81f |
%{_bindir}/notcurses-tester
|
|
nick black |
665f391 |
%{_bindir}/notcurses-tetris
|
|
nick black |
665f391 |
%{_bindir}/notcurses-view
|
|
|
3bb3005 |
%{_mandir}/man1/ncneofetch.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-demo.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-input.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-ncreel.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-tester.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-tetris.1*
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-view.1*
|
|
nick black |
665f391 |
%{_datadir}/%{name}
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%files -n python3-%{name}
|
|
nick black |
665f391 |
%{_bindir}/notcurses-pydemo
|
|
nick black |
665f391 |
%{_mandir}/man1/notcurses-pydemo.1*
|
|
nick black |
665f391 |
%{python3_sitearch}/*egg-info/
|
|
nick black |
665f391 |
%{python3_sitearch}/notcurses/
|
|
nick black |
665f391 |
%attr(0755, -, -) %{python3_sitearch}/notcurses/notcurses.py
|
|
nick black |
665f391 |
%{python3_sitearch}/*.so
|
|
nick black |
665f391 |
|
|
nick black |
665f391 |
%changelog
|
|
|
af8ea1e |
* Sat Jul 04 2020 Nick Black <dankamongmen@gmail.com> - 1.6.0-1
|
|
|
af8ea1e |
- New upstream version, enable all tests
|
|
|
af8ea1e |
|
|
|
90d51b4 |
* Sun Jun 28 2020 Nick Black <dankamongmen@gmail.com> - 1.5.3-1
|
|
|
90d51b4 |
- New upstream version
|
|
|
90d51b4 |
|
|
|
3bb3005 |
* Fri Jun 19 2020 Nick Black <dankamongmen@gmail.com> - 1.5.2-1
|
|
|
3bb3005 |
- New upstream version, new binary 'ncneofetch'
|
|
|
3bb3005 |
|
|
|
922983a |
* Sun Jun 14 2020 Nick Black <dankamongmen@gmail.com> - 1.5.1-1
|
|
|
922983a |
- New upstream version
|
|
|
922983a |
|
|
|
95518bc |
* Mon Jun 08 2020 Nick Black <dankamongmen@gmail.com> - 1.5.0-1
|
|
|
95518bc |
- New upstream version
|
|
|
95518bc |
|
|
|
d98cbfe |
* Sat Jun 06 2020 Nick Black <dankamongmen@gmail.com> - 1.4.5-1
|
|
|
d98cbfe |
- New upstream version, disable Ncpp,Exceptions unit tests for now
|
|
|
d98cbfe |
|
|
|
662899a |
* Tue Jun 02 2020 Nick Black <dankamongmen@gmail.com> - 1.4.4.1-1
|
|
|
662899a |
- New upstream version
|
|
|
662899a |
|
|
|
6ddf8d6 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.4.3-3
|
|
|
6ddf8d6 |
- Rebuilt for Python 3.9
|
|
|
6ddf8d6 |
|
|
|
7b4d81f |
* Sun May 24 2020 Nick Black <dankamongmen@gmail.com> - 1.4.3-2
|
|
|
7b4d81f |
- Dep on doctest-devel, run tests, use %{_target_platform} in place of "build"
|
|
|
7b4d81f |
|
|
|
e7c36d5 |
* Fri May 22 2020 Nick Black <dankamongmen@gmail.com> - 1.4.3-1
|
|
|
e7c36d5 |
- New upstream version
|
|
|
e7c36d5 |
|
|
|
0b28153 |
* Wed May 20 2020 Nick Black <dankamongmen@gmail.com> - 1.4.2.4-1
|
|
|
0b28153 |
- New upstream version, add python3-setuptools dep
|
|
|
0b28153 |
|
|
|
e8ce57e |
* Sun May 17 2020 Nick Black <dankamongmen@gmail.com> - 1.4.2.3-1
|
|
|
7d291fb |
- New upstream version
|
|
|
7d291fb |
|
|
|
9198165 |
* Sat Apr 25 2020 Nick Black <dankamongmen@gmail.com> - 1.4.1-1
|
|
nick black |
665f391 |
- New upstream version, incorporate review feedback
|
|
|
922983a |
- Build against OpenImageIO, install notcurses-view and data
|
|
|
9198165 |
|
|
nick black |
665f391 |
* Tue Apr 07 2020 Nick Black <dankamongmen@gmail.com> - 1.3.3-1
|
|
nick black |
665f391 |
- Initial Fedora packaging
|