File git-crypt.spec of Package failed_git-crypt

Name:           git-crypt
Version:        0.7.0
Release:        1%{?dist}
Summary:        Transparent file encryption for git

License:        MIT
URL:            https://github.com/AGWA/git-crypt
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  make
BuildRequires:  openssl-devel
BuildRequires:  libgcrypt-devel
Requires:       libgcrypt20
%description
Git-crypt allows files to be encrypted in a git repository.

%prep
%setup -q

%build
# Ensure we pick the OpenSSL-based backend when available
if [ -f crypto-openssl-11.cpp ]; then
    CXXFLAGS="-std=c++11"
    make ENABLE_MAN=yes CXXFLAGS="$CXXFLAGS"
else
    make ENABLE_MAN=yes
fi

%install
make install DESTDIR=%{buildroot}

%files
%doc README INSTALL
%license COPYING
%{_bindir}/git-crypt
openSUSE Build Service is sponsored by