1
0
Fork 0
mirror of synced 2024-11-16 06:15:34 -05:00
yadm/yadm.spec

49 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-04-17 09:26:19 -04:00
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
2015-09-09 18:08:39 -04:00
Name: yadm
2019-04-17 09:26:19 -04:00
Summary: Yet Another Dotfiles Manager
Version: 3.2.1
2019-04-17 09:26:19 -04:00
Group: Development/Tools
2017-01-12 08:50:55 -05:00
Release: 1%{?dist}
2019-04-17 09:26:19 -04:00
URL: https://yadm.io
License: GPL-3.0-only
Requires: bash
Requires: git
Source: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
2015-09-09 18:08:39 -04:00
BuildArch: noarch
%description
2017-01-12 08:50:55 -05: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 18:08:39 -04:00
%prep
2019-04-17 09:26:19 -04:00
%setup -c
2015-09-09 18:08:39 -04:00
%build
%install
2019-04-17 09:26:19 -04:00
# this is done to allow paths other than yadm-x.x.x (for example, when building
# from branches instead of release tags)
test -f yadm || cd *yadm-*
2019-04-17 09:26:19 -04:00
%{__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 18:08:39 -04:00
%files
%attr(755,root,root) %{_bindir}/yadm
%attr(644,root,root) %{_mandir}/man1/*
2019-04-17 09:26:19 -04:00
%doc %{_pkgdocdir}