%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: yadm-dexxiez Summary: Yet Another Dotfiles Manager (dexxiez fork) Version: 3.5.0 Release: 1.gitd897cd0%{?dist} URL: https://yadm.io License: GPL-3.0-only Requires: bash Requires: git Provides: yadm Conflicts: yadm Source0: yadm-d897cd05.tar.gz BuildArch: noarch %description 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. %prep %autosetup -n yadm %build %install %{__mkdir} -p %{buildroot}%{_bindir} %{__cp} yadm %{buildroot}%{_bindir} sed -i 's/VERSION=REPLACEONBUILD/VERSION="%{version}-gitd897cd0%{?dist}"/' %{buildroot}%{_bindir}/yadm %{__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 contrib %{buildroot}%{_pkgdocdir} %files %attr(755,root,root) %{_bindir}/yadm %attr(644,root,root) %{_mandir}/man1/* %doc %{_pkgdocdir}