Update spec for Fedora standards
This commit is contained in:
parent
db6657016d
commit
006fc41001
1 changed files with 31 additions and 19 deletions
50
yadm.spec
50
yadm.spec
|
@ -1,26 +1,29 @@
|
||||||
Summary: Yet Another Dotfiles Manager
|
Summary: Yet Another Dotfiles Manager
|
||||||
Name: yadm
|
Name: yadm
|
||||||
Version: 1.05
|
Version: 1.05
|
||||||
Release: 1
|
Release: 1%{?dist}
|
||||||
URL: https://github.com/TheLocehiliosan/yadm
|
URL: https://github.com/TheLocehiliosan/yadm
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Development/Tools
|
BuildRequires: hostname git gnupg bats expect
|
||||||
Requires: bash
|
Requires: bash hostname git
|
||||||
Requires: git
|
|
||||||
Source: https://github.com/TheLocehiliosan/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/TheLocehiliosan/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
yadm is a dotfile management tool with 3 main features: Manages files across
|
yadm is a tool for managing a collection of files across multiple computers,
|
||||||
systems using a single Git repository. Provides a way to use alternate files on
|
using a shared Git repository. In addition, yadm provides a feature to select
|
||||||
a specific OS or host. Supplies a method of encrypting confidential data so it
|
alternate versions of files based on the operation system or host name. Lastly,
|
||||||
can safely be stored in your repository.
|
yadm supplies the ability to manage a subset of secure files, which are
|
||||||
|
encrypted before they are included in the repository.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
%check
|
||||||
|
bats test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
|
@ -28,19 +31,28 @@ install -m 755 yadm ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
install -m 644 yadm.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
|
install -m 644 yadm.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%attr(755,root,root) %{_bindir}/yadm
|
%attr(755,root,root) %{_bindir}/yadm
|
||||||
%attr(644,root,root) %{_mandir}/man1/*
|
%attr(644,root,root) %{_mandir}/man1/*
|
||||||
|
%license LICENSE
|
||||||
|
%doc CHANGES CONTRIBUTORS README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Sep 8 2016 Tim Byrne <sultan@locehilios.com> 1.05-1
|
* Thu Jan 12 2017 Tim Byrne <sultan@locehilios.com> - 1.05-1
|
||||||
- Improve portability of shebang line
|
- Bump version to 1.05
|
||||||
- Support for symlinked directories
|
|
||||||
- Improve portability of tar parameters
|
|
||||||
- Support alternate gpg program
|
|
||||||
- Fallback to using ls if /bin/ls does not exist
|
|
||||||
|
|
||||||
* Fri Apr 22 2016 Tim Byrne <sultan@locehilios.com> 1.04-1
|
* Tue May 17 2016 Tim Byrne <sultan@locehilios.com> - 1.04-3
|
||||||
- Support alternate paths for yadm data
|
- Add missing docs
|
||||||
- Support asymmetric encryption
|
- Fix changelog format
|
||||||
- Prevent the mixing of output and gpg prompts
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue