2015-09-09 22:08:39 +00:00
|
|
|
Summary: Yet Another Dotfiles Manager
|
|
|
|
Name: yadm
|
2017-01-12 23:15:24 +00:00
|
|
|
Version: 1.06
|
2017-01-12 13:50:55 +00:00
|
|
|
Release: 1%{?dist}
|
2015-09-09 22:08:39 +00:00
|
|
|
URL: https://github.com/TheLocehiliosan/yadm
|
2016-04-26 22:11:02 +00:00
|
|
|
License: GPLv3
|
2017-01-12 13:50:55 +00:00
|
|
|
BuildRequires: hostname git gnupg bats expect
|
|
|
|
Requires: bash hostname git
|
2016-04-27 07:28:46 +00:00
|
|
|
Source: https://github.com/TheLocehiliosan/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-09-09 22:08:39 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2017-01-12 13:50:55 +00:00
|
|
|
yadm is a tool for managing a collection of files across multiple computers,
|
|
|
|
using a shared Git repository. In addition, yadm provides a feature to select
|
|
|
|
alternate versions of files based on the operation system or host name. Lastly,
|
|
|
|
yadm supplies the ability to manage a subset of secure files, which are
|
|
|
|
encrypted before they are included in the repository.
|
2015-09-09 22:08:39 +00:00
|
|
|
|
|
|
|
%prep
|
2016-04-26 22:11:02 +00:00
|
|
|
%setup -q
|
2015-09-09 22:08:39 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2017-01-12 13:50:55 +00:00
|
|
|
%check
|
|
|
|
bats test
|
|
|
|
|
2015-09-09 22:08:39 +00:00
|
|
|
%install
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
install -m 755 yadm ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
install -m 644 yadm.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
|
|
|
%files
|
|
|
|
%attr(755,root,root) %{_bindir}/yadm
|
|
|
|
%attr(644,root,root) %{_mandir}/man1/*
|
2017-01-12 13:50:55 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGES CONTRIBUTORS README.md
|
2016-04-26 22:11:02 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-01-12 23:15:24 +00:00
|
|
|
* Fri Jan 13 2017 Tim Byrne <sultan@locehilios.com> - 1.06-1
|
|
|
|
- Bump version to 1.06
|
2017-01-12 13:50:55 +00:00
|
|
|
|
|
|
|
* Tue May 17 2016 Tim Byrne <sultan@locehilios.com> - 1.04-3
|
|
|
|
- Add missing docs
|
|
|
|
- Fix changelog format
|
|
|
|
- Remove file attribute for docs and license
|
|
|
|
|
|
|
|
* Mon May 16 2016 Tim Byrne <sultan@locehilios.com> - 1.04-2
|
|
|
|
- Add %%check
|
|
|
|
- Add %%{?dist}
|
|
|
|
- Add build dependencies
|
|
|
|
- Add license and docs
|
|
|
|
- Remove %%defattr
|
|
|
|
- Remove group tag
|
|
|
|
- Sync RPM description with man page
|
|
|
|
|
|
|
|
* Fri Apr 22 2016 Tim Byrne <sultan@locehilios.com> - 1.04-1
|
|
|
|
- Initial RPM release
|