]> git.pld-linux.org Git - packages/bcrypt.git/blame - bcrypt.spec
- new, based on fc spec
[packages/bcrypt.git] / bcrypt.spec
CommitLineData
2f49b442
ER
1Summary: File encryption utility
2Name: bcrypt
3Version: 1.1
4Release: 1
5License: BSD
6Group: Applications/File
7URL: http://bcrypt.sourceforge.net/
8Source0: http://downloads.sourceforge.net/bcrypt/%{name}-%{version}.tar.gz
9# Source0-md5: 8ce2873836ccd433329c8df0e37e298c
10BuildRequires: sed >= 4.0
11BuildRequires: zlib-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Bcrypt is a cross platform file encryption utility. Encrypted files
16are portable across all supported operating systems and processors.
17Passphrases must be between 8 and 56 characters and are hashed
18internally to a 448 bit key. However, all characters supplied are
19significant. The stronger your passphrase, the more secure your data.
20
21In addition to encrypting your data, bcrypt will by default overwrite
22the original input file with random garbage three times before
23deleting it in order to thwart data recovery attempts by persons who
24may gain access to your computer. Bcrypt uses the blowfish encryption
25algorithm published by Bruce Schneier in 1993.
26
27%prep
28%setup -q
29
30%{__sed} -i -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile
31
32%build
33%{__make} \
34 CC="%{__cc}" \
35 CFLAGS="%{optflags}"
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%{__make} install \
40 PREFIX=$RPM_BUILD_ROOT%{_prefix}
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc LICENSE README
48%attr(755,root,root) %{_bindir}/bcrypt
49%{_mandir}/man1/bcrypt.1*
This page took 0.102582 seconds and 4 git commands to generate.