mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
de73c9f4b4
Update version number and update documentation * Support XDG base directory specification * Redesign alternate processing * Add built-in default template processor * Allow storing alternates in yadm dir (#90) * Add support for j2cli template processor * Ignore encrypted files (#69) * Support DISTRO in alternates (#72) * Support `source` in templates (#163) * Change yadm.cygwin-copy to yadm.alt-copy * Support `-b <branch>` when cloning (#133) * Support includes for j2-based templates (#114) * Remove stale/invalid linked alternates (#65) * Add support for Mingw/Msys (#102) * Allow `-l` to pass thru to the `yadm config` command * Improve processing of `yadm/encrypt` * Fix bugs in legacy alternate processing * Fix bug with hidden private files * Improve support for older versions of Git * Add upgrade command
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
Name: yadm
|
|
Summary: Yet Another Dotfiles Manager
|
|
Version: 2.0.0
|
|
Group: Development/Tools
|
|
Release: 1%{?dist}
|
|
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
|
|
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
|
|
%setup -c
|
|
|
|
%build
|
|
|
|
%install
|
|
|
|
# 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}
|
|
|
|
%files
|
|
%attr(755,root,root) %{_bindir}/yadm
|
|
%attr(644,root,root) %{_mandir}/man1/*
|
|
%doc %{_pkgdocdir}
|