Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
erlang-erlang-bcrypt
erlang-erlang-bcrypt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-erlang-bcrypt.spec of Package erlang-erlang-bcrypt
# # spec file for package erlang-erlang-bcrypt # # Copyright (c) 2013 SUSE LINUX Products 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: erlang-erlang-bcrypt Version: 0.0.0+git.1331640712.1464108 %define mod_ver %(echo "%{version}" | cut -d "+" -f1) Release: 0 License: MIT Summary: Erlang wrapper for OpenBSD's Blowfish password hashing code Url: https://github.com/smarkets/erlang-bcrypt Group: Development/Libraries/Other Source: erlang-bcrypt-%{version}.tar.gz BuildRequires: erlang-rebar Requires: erlang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description erlang-bcrypt is a wrapper around the OpenBSD Blowfish password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres. %package devel Summary: Erlang wrapper for OpenBSD's Blowfish password hashing code Group: Development/Libraries/Other Requires: %{name} = %{version} %description devel erlang-bcrypt is a wrapper around the OpenBSD Blowfish password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres. %prep %setup -n erlang-bcrypt-%{version} %build %rebar compile %install for dir in c_src ebin priv src ; do install -d %{buildroot}%{erlang_libdir}/bcrypt-%{mod_ver}/${dir} cp -r ${dir}/* %{buildroot}%{erlang_libdir}/bcrypt-%{mod_ver}/${dir}/ done %check %rebar ct %files %defattr(-,root,root) %doc README.rst LICENSE %dir %{erlang_libdir}/bcrypt-%{mod_ver} %{erlang_libdir}/bcrypt-%{mod_ver}/ebin %{erlang_libdir}/bcrypt-%{mod_ver}/priv %files devel %defattr(-,root,root) %{erlang_libdir}/bcrypt-%{mod_ver}/c_src %{erlang_libdir}/bcrypt-%{mod_ver}/src
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor