Skip to content

Instantly share code, notes, and snippets.

@thwarted
Created November 20, 2013 07:06
Show Gist options
  • Save thwarted/7558950 to your computer and use it in GitHub Desktop.
Save thwarted/7558950 to your computer and use it in GitHub Desktop.
spec file for git-crypt
Summary: git-crypt git module
Name: git-crypt
Version: 0.3
Release: 1%{?dist}
License: GPL
Group: Development/Tools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -un)-root
Source0: %{name}-%{version}.tar.bz2
Requires: openssl >= 0.9.8, pam, openssh-server, openssh
URL: https://www.agwa.name/projects/git-crypt/
BuildRequires: openssl-devel >= 0.9.8, pam-devel, perl, sed, libselinux-devel
Vendor: Andrew Ayer
Packager: Andy Bakun
%description
git-crypt enables transparent encryption and decryption of files in a
git repository. Files which you choose to protect are encrypted when
committed, and decrypted when checked out. git-crypt lets you freely
share a repository containing a mix of public and private content.
git-crypt gracefully degrades, so developers without the secret key can
still clone and commit to a repository with encrypted files. This lets
you store your secret material (such as keys or passwords) in the same
repository as your code, without requiring you to lock down your entire
repository.
%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%prep
%setup
%build
%{__make} %{?_smp_mflags}
%install
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
mkdir -p %{buildroot}/usr/bin/
install -m 755 git-crypt %{buildroot}/usr/bin/
%files
%attr(0755, root, root) /usr/bin/git-crypt
%doc NEWS README INSTALL COPYING AUTHORS
%changelog
* Tue Nov 19 2013 Andy Bakun <rpmbuild@thwartedefforts.org> - 0.333
- initial packaging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment