Update SPEC to comply with Fedora packaging guidelines

This commit is contained in:
Tim Byrne 2016-04-26 17:11:02 -05:00
parent 84f7c8cb88
commit 75a8b60d89
1 changed files with 9 additions and 9 deletions

View File

@ -3,13 +3,11 @@ Name: yadm
Version: 1.04
Release: 1
URL: https://github.com/TheLocehiliosan/yadm
License: GPL
License: GPLv3
Group: Development/Tools
Packager: Tim Byrne <sultan@locehilios.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: bash
Requires: git
Source0: %{name}-%{version}.tar.gz
Source: https://github.com/TheLocehiliosan/yadm/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
@ -19,21 +17,23 @@ a specific OS or host. Supplies a method of encrypting confidential data so it
can safely be stored in your repository.
%setup -q
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
install -m 755 yadm ${RPM_BUILD_ROOT}%{_bindir}
install -m 644 yadm.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
rm -rf ${RPM_BUILD_ROOT}
%attr(755,root,root) %{_bindir}/yadm
%attr(644,root,root) %{_mandir}/man1/*
* Fri Apr 22 2016 Tim Byrne <sultan@locehilios.com> 1.04-1
- Support alternate paths for yadm data
- Support asymmetric encryption
- Prevent the mixing of output and gpg prompts