- Install priv directory
- Rename src sub-package to devel - Buildrequire erlang-rebar instead of rebar - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-erlang-bcrypt?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
17
_service
Normal file
17
_service
Normal file
@@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/smarkets/erlang-bcrypt.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">0.0.0+git.%ct.%h</param>
|
||||
</service>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">erlang-bcrypt-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">erlang-bcrypt</param>
|
||||
</service>
|
||||
</services>
|
||||
|
3
erlang-bcrypt-0.0.0+git.1331640712.1464108.tar.gz
Normal file
3
erlang-bcrypt-0.0.0+git.1331640712.1464108.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eacba98438c99523300d369df9c4db9116cf306ec064d68258f1764149b3d0e1
|
||||
size 126681
|
16
erlang-erlang-bcrypt.changes
Normal file
16
erlang-erlang-bcrypt.changes
Normal file
@@ -0,0 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 12:17:47 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Install priv directory
|
||||
- Rename src sub-package to devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 13:51:58 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Buildrequire erlang-rebar instead of rebar
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 13:34:16 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Initial version
|
||||
|
69
erlang-erlang-bcrypt.spec
Normal file
69
erlang-erlang-bcrypt.spec
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
%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
|
Reference in New Issue
Block a user