From fe6e2a122f39c563c65637c6ae6cc19ce4d8ad52 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 9 Sep 2015 17:08:39 -0500 Subject: [PATCH] Add specfile for RPM building --- yadm.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 yadm.spec diff --git a/yadm.spec b/yadm.spec new file mode 100644 index 0000000..d63de76 --- /dev/null +++ b/yadm.spec @@ -0,0 +1,39 @@ +Summary: Yet Another Dotfiles Manager +Name: yadm +Version: 1.02 +Release: 1 +URL: https://github.com/TheLocehiliosan/yadm +License: GPL +Group: Development/Tools +Packager: Tim Byrne +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Requires: bash +Requires: git +Source0: %{name}-%{version}.tar.gz +BuildArch: noarch + +%description +yadm is a dotfile management tool with 3 main features: Manages files across +systems using a single Git repository. Provides a way to use alternate files on +a specific OS or host. Supplies a method of encrypting confidential data so it +can safely be stored in your repository. + +%prep +%setup + +%build + +%install +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 + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%attr(755,root,root) %{_bindir}/yadm +%attr(644,root,root) %{_mandir}/man1/*