Group :: Gráficos
RPM: nsxiv
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: nsxiv
Version: 31
Release: alt1
Summary: Neo Simple X Image Viewer
License: GPLv2
Group: Graphics
Url: https://github.com/nsxiv/nsxiv
# Source-url: https://github.com/nsxiv/nsxiv/archive/refs/tags/v31.tar.gz
Source: %name-%version.tar
BuildRequires: imlib2-devel libXft-devel libexif-devel libgif-devel libwebp-devel fontconfig-devel
Obsoletes: sxiv < 27
%description
nsxiv is a fork of the now-unmaintained sxiv
with the purpose of being a (mostly) drop-in replacement for sxiv,
maintaining its interface and adding simple, sensible features.
nsxiv is free software licensed under GPLv2
and aims to be easy to modify and customize.
%prep
%setup
%__subst 's|CC = c99|CC = gcc|' config.mk
%__subst 's|CFLAGS =|CFLAGS = %optflags|' config.mk
%build
%make_build
%install
%makeinstall_std PREFIX=%_prefix install-all
ln -s nsxiv %buildroot%_bindir/sxiv
%files
%_bindir/nsxiv
%_bindir/sxiv
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/*.png
%_docdir/%name/
%_man1dir/*
%doc README.md LICENSE
%changelog
…
Todas as alterações você pod ver aqui
Version: 31
Release: alt1
Summary: Neo Simple X Image Viewer
License: GPLv2
Group: Graphics
Url: https://github.com/nsxiv/nsxiv
# Source-url: https://github.com/nsxiv/nsxiv/archive/refs/tags/v31.tar.gz
Source: %name-%version.tar
BuildRequires: imlib2-devel libXft-devel libexif-devel libgif-devel libwebp-devel fontconfig-devel
Obsoletes: sxiv < 27
%description
nsxiv is a fork of the now-unmaintained sxiv
with the purpose of being a (mostly) drop-in replacement for sxiv,
maintaining its interface and adding simple, sensible features.
nsxiv is free software licensed under GPLv2
and aims to be easy to modify and customize.
%prep
%setup
%__subst 's|CC = c99|CC = gcc|' config.mk
%__subst 's|CFLAGS =|CFLAGS = %optflags|' config.mk
%build
%make_build
%install
%makeinstall_std PREFIX=%_prefix install-all
ln -s nsxiv %buildroot%_bindir/sxiv
%files
%_bindir/nsxiv
%_bindir/sxiv
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/*.png
%_docdir/%name/
%_man1dir/*
%doc README.md LICENSE
%changelog
…
Todas as alterações você pod ver aqui