Closed dankamongmen closed 3 years ago
Fuck libsixel! See #200 .
https://getyarn.io/yarn-clip/de63eccd-4f1d-4b45-b70a-854aa575ab95
even if we don't end up using this, it seems an act of goodwill to package it for rawhide...
Name: sixel
Version: 1.8.6
Release: 1%{?dist}
Summary: Sixel encoding and decoding
License: MIT
URL: https://github.com/saitoha/libsixel
Source0: https://github.com/saitoha/lib%{name}/releases/download/v%{version}/libsixel-%{version}.tar.gz
BuildRequires: git
BuildRequires: gcc
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
%description
An encoder/decoder implementation for DEC SIXEL graphics
%package devel
Summary: Development files for %{name}
Provides: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
%{summary}.
%package utils
Summary: Binaries from the libsixel project
License: MIT
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
Binaries from libsixel.
%prep
%autosetup -p1
%build
%configure --disable-python --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name \*.la -delete
rm $RPM_BUILD_ROOT/usr/bin/libsixel-config
%files
%doc ChangeLog NEWS
%{_libdir}/libsixel.so.1.0.6
%{_libdir}/libsixel.so.1
%{_mandir}/man5/*.5*
%files devel
%{_includedir}/sixel.h
%{_libdir}/libsixel.so
%{_libdir}/pkgconfig/libsixel.pc
%files utils
# we don't want libsixel-config
%{_bindir}/img2sixel
%{_bindir}/sixel2png
%{_mandir}/man1/*.1*
%{_datadir}/bash-completion/*
%{_datadir}/zsh/*
%changelog
* Mon Mar 08 2021 Nick Black <dankamongmen@gmail.com> - 1.8.6-1
- Initial RPM release
now to put it up for package review
We're not going to be using libsixel, so this is hardly a notcurses bug.
If we're going to be using libsixel (#639), we're going to want it in Fedora, where it's not yet present. Go ahead and package up 1.8.6 for Fedora Core.