]> git.pld-linux.org Git - packages/bcrypt.git/commitdiff
- new, based on fc spec master
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Jun 2012 10:37:34 +0000 (10:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bcrypt.spec -> 1.1

bcrypt.spec [new file with mode: 0644]

diff --git a/bcrypt.spec b/bcrypt.spec
new file mode 100644 (file)
index 0000000..f9fe8ac
--- /dev/null
@@ -0,0 +1,49 @@
+Summary:       File encryption utility
+Name:          bcrypt
+Version:       1.1
+Release:       1
+License:       BSD
+Group:         Applications/File
+URL:           http://bcrypt.sourceforge.net/
+Source0:       http://downloads.sourceforge.net/bcrypt/%{name}-%{version}.tar.gz
+# Source0-md5: 8ce2873836ccd433329c8df0e37e298c
+BuildRequires: sed >= 4.0
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+In addition to encrypting your data, bcrypt will by default overwrite
+the original input file with random garbage three times before
+deleting it in order to thwart data recovery attempts by persons who
+may gain access to your computer. Bcrypt uses the blowfish encryption
+algorithm published by Bruce Schneier in 1993.
+
+%prep
+%setup -q
+
+%{__sed} -i -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{optflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README
+%attr(755,root,root) %{_bindir}/bcrypt
+%{_mandir}/man1/bcrypt.1*
This page took 0.075668 seconds and 4 git commands to generate.