You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.3 KiB
67 lines
1.3 KiB
Name: ly |
|
Version: 0.5.3 |
|
Release: 1%{?dist} |
|
Summary: display manager with console UI |
|
License: WTFPL |
|
URL: https://github.com/fairyglade/ly |
|
Source0: https://github.com/fairyglade/ly/archive/refs/tags/v%{version}.tar.gz |
|
BuildRequires: gcc |
|
BuildRequires: xorg-xauth |
|
BuildRequires: pam-devel |
|
BuildRequires: xcb |
|
BuildRequires: xorg-xauth |
|
BuildRequires: ncurses-devel |
|
Requires: systemd |
|
Requires: util-linux |
|
Requires: tput |
|
|
|
|
|
%description |
|
Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. |
|
|
|
|
|
%prep |
|
%autosetup -T -c %{name}-%{version} |
|
git clone https://github.com/fairyglade/ly . |
|
git checkout v%{version} |
|
git submodule update --init --recursive |
|
|
|
|
|
%build |
|
%make_build |
|
|
|
|
|
%install |
|
%make_install |
|
%make_install installsystemd |
|
|
|
|
|
%post |
|
%systemd_post ly.service |
|
%preun |
|
%systemd_preun ly.service |
|
%postun |
|
%systemd_postun ly.service |
|
|
|
|
|
%files |
|
%{_sysconfdir}/ly/config.ini |
|
%{_sysconfdir}/ly/lang/cat.ini |
|
%{_sysconfdir}/ly/lang/en.ini |
|
%{_sysconfdir}/ly/lang/es.ini |
|
%{_sysconfdir}/ly/lang/fr.ini |
|
%{_sysconfdir}/ly/lang/it.ini |
|
%{_sysconfdir}/ly/lang/pl.ini |
|
%{_sysconfdir}/ly/lang/pt.ini |
|
%{_sysconfdir}/ly/lang/ro.ini |
|
%{_sysconfdir}/ly/lang/ru.ini |
|
%{_sysconfdir}/ly/lang/sr.ini |
|
%{_sysconfdir}/ly/lang/tr.ini |
|
%{_sysconfdir}/ly/wsetup.sh |
|
%{_sysconfdir}/ly/xsetup.sh |
|
%{_sysconfdir}/pam.d/ly |
|
%{_bindir}/ly |
|
%{_unitdir}/ly.service |
|
|
|
|
|
%changelog
|
|
|