bcrypt/bcrypt.spec
2021-09-08 17:57:20 +08:00

47 lines
1.0 KiB
RPMSpec

Name: bcrypt
Version: 1.1
Release: 2
Summary: Bcrypt is a cross platform file encryption utility
License: BSD
URL: http://bcrypt.sourceforge.net/
Source0: http://bcrypt.sourceforge.net/%{name}-%{version}.tar.gz
Patch0 : bcrypt-change-man-install-path.patch
BuildRequires: zlib-devel gcc
%description
Bcrypt is a cross platform file encryption utility. Encrypted files are portable across all supported operating systems and processors. Passphrases must be between 8 and 56 characters and are hashed internally to a 448 bit key. However, all characters supplied are significant. The stronger your passphrase, the more secure your data.
%prep
%setup -q -n %{name}-%{version}/
%patch0 -p1
%build
sed -i 's/CFLAGS = -O2 -Wall/& -g/' Makefile
%make_build
%install
%{__make} install PREFIX="%{buildroot}%{_prefix}"
%pre
%preun
%post
%postun
%check
%files
%license LICENSE
%{_bindir}/*
%{_mandir}/*
%changelog
* Wed Sep 8 2021 caoodngxia <caodongxia@huawei.com> - 1.1-2
- Add debug package to add strip
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init