File daes.spec of Package daes
#
# spec file for package daes
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: daes
Version: 0.41
Release: 0
Summary: AES Command Line Encryption Tool
Source: https://www.dettus.net/daes/daes_%{version}.tar.gz
Patch1: daes-makefile.patch
Patch2: daes-fix_missing_headers.patch
URL: https://www.dettus.net/daes/
Group: Productivity/Security
License: GPL-2.0
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
%description
This program is called daes, and its goal is to have a little
program which is as handy and usable as gzip or bzip2 to encrypt
your files.
Author:
--------
Dettus <dettus@dettus.net>
%prep
%setup -q -n "daes_%{version}"
%patch1
%patch2
%build
%__make %{?jobs:-j%{jobs}} \
CC="%__cc" \
CFLAGS="%{optflags}"
%install
%__install -D -m0755 daes "%{buildroot}%{_bindir}/daes"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc gpl.txt README
%{_bindir}/daes
%changelog