2019-04-17 13:26:19 +00:00
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
2015-09-09 22:08:39 +00:00
|
|
|
Name: yadm
|
2019-04-17 13:26:19 +00:00
|
|
|
Summary: Yet Another Dotfiles Manager
|
2017-10-24 12:56:29 +00:00
|
|
|
Version: 1.12.0
|
2019-04-17 13:26:19 +00:00
|
|
|
Group: Development/Tools
|
2017-01-12 13:50:55 +00:00
|
|
|
Release: 1%{?dist}
|
2019-04-17 13:26:19 +00:00
|
|
|
URL: https://yadm.io
|
|
|
|
License: GPL-3.0-only
|
|
|
|
Requires: bash
|
|
|
|
Requires: git
|
|
|
|
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} >= 700
|
|
|
|
Requires: /usr/bin/hostname
|
|
|
|
%else
|
|
|
|
Requires: /bin/hostname
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Source: %{name}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2019-04-17 13:26:19 +00:00
|
|
|
%setup -c
|
2015-09-09 22:08:39 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2019-04-17 13:26:19 +00:00
|
|
|
|
|
|
|
# this is done to allow paths other than yadm-x.x.x (for example, when building
|
|
|
|
# from branches instead of release tags)
|
|
|
|
cd *yadm-*
|
|
|
|
|
|
|
|
%{__mkdir} -p %{buildroot}%{_bindir}
|
|
|
|
%{__cp} yadm %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
%{__mkdir} -p %{buildroot}%{_mandir}/man1
|
|
|
|
%{__cp} yadm.1 %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
%{__mkdir} -p %{buildroot}%{_pkgdocdir}
|
|
|
|
%{__cp} README.md %{buildroot}%{_pkgdocdir}/README
|
|
|
|
%{__cp} CHANGES CONTRIBUTORS LICENSE %{buildroot}%{_pkgdocdir}
|
|
|
|
%{__cp} -r completion contrib %{buildroot}%{_pkgdocdir}
|
2015-09-09 22:08:39 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%attr(755,root,root) %{_bindir}/yadm
|
|
|
|
%attr(644,root,root) %{_mandir}/man1/*
|
2019-04-17 13:26:19 +00:00
|
|
|
%doc %{_pkgdocdir}
|
2016-04-26 22:11:02 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-10-24 12:56:29 +00:00
|
|
|
* Wed Oct 25 2017 Tim Byrne <sultan@locehilios.com> - 1.12.0-1
|
|
|
|
- Bump version to 1.12.0
|
|
|
|
- Include zsh completion
|
|
|
|
|
2017-08-23 12:28:35 +00:00
|
|
|
* Wed Aug 23 2017 Tim Byrne <sultan@locehilios.com> - 1.11.1-1
|
|
|
|
- Bump version to 1.11.1
|
|
|
|
|
2017-07-10 12:57:38 +00:00
|
|
|
* Mon Jul 10 2017 Tim Byrne <sultan@locehilios.com> - 1.11.0-1
|
2017-07-10 04:07:50 +00:00
|
|
|
- Bump version to 1.11.0
|
|
|
|
|
2017-05-10 22:44:56 +00:00
|
|
|
* Wed May 10 2017 Tim Byrne <sultan@locehilios.com> - 1.10.0-1
|
|
|
|
- Bump version to 1.10.0
|
|
|
|
- Transition to semantic versioning
|
|
|
|
|
2017-05-04 12:22:48 +00:00
|
|
|
* Thu May 4 2017 Tim Byrne <sultan@locehilios.com> - 1.09-1
|
|
|
|
- Bump version to 1.09
|
|
|
|
- Add yadm.bash_completion
|
|
|
|
|
2017-04-03 12:09:32 +00:00
|
|
|
* Mon Apr 3 2017 Tim Byrne <sultan@locehilios.com> - 1.08-1
|
|
|
|
- Bump version to 1.08
|
|
|
|
|
2017-02-10 22:32:07 +00:00
|
|
|
* Fri Feb 10 2017 Tim Byrne <sultan@locehilios.com> - 1.07-1
|
|
|
|
- Bump version to 1.07
|
|
|
|
|
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
|