File tmux-lib.spec of Package tmux-lib
Name: tmux-lib
Version: 0.1.0+git.1448536723.ba42d42
Release: 0
Summary: Shell function library for automated creation of tmux sessions
License: GPL-3.0
URL: https://github.com/aspiers/screenrc.git
Source0: screenrc-%{version}.tar.bz2
BuildArch: noarch
Group: Development/Tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Maybe even 2.1 is required, not sure
Requires: tmux >= 2.0
# Useful for debugging buildroot:
BuildRequires: less
%description
Shell function library for automated creation of tmux sessions.
Other shell scripts can source this and then use the functions
to automatically create tmux sessions for specific use cases.
%prep
%setup -n screenrc-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
%{__install} -D -m 644 .tmux.d/lib %{buildroot}%{_prefix}/lib/tmux/sessions
%files
%defattr(-,root,root)
%dir %{_prefix}/lib/tmux
%{_prefix}/lib/tmux/*
%changelog