2016-03-05 20:34:32 +00:00
committed by Git OBS Bridge
commit 5a0da8237e
5 changed files with 98 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

5
erlang-p1_oauth2.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Mar 5 20:29:08 UTC 2016 - mrueckert@suse.de
- update to be09873

66
erlang-p1_oauth2.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# Copyright (c) 2014 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/
#
%define app_name p1_oauth2
Name: erlang-%{app_name}
Version: 0.6.1+git1453550817.be09873
Release: 0
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
License: MIT
Summary: Erlang Oauth2 implementation
Url: http://github.com/processone/p1_oauth2
Group: Development/Libraries/Other
Source: %{app_name}-%{version}.tar.bz2
Requires: erlang
BuildRequires: erlang
%if %{with testsuite}
BuildRequires: erlang-proper
%endif
BuildRequires: erlang-rebar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This library is designed to simplify the implementation of the server side of
OAuth2 (http://tools.ietf.org/html/rfc6749). It provides no support for
developing clients. See oauth2_client for support in accessing Oauth2 enabled
services.
%prep
%setup -q -n %{app_name}-%{version}
%build
%rebar compile
%install
for dir in ebin ; do
mkdir -p %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}/
done
%if %{with testsuite}
%check
%rebar eunit
%endif
%files
%defattr(-,root,root)
%doc CHANGELOG.md LICENSE README.md
%dir %{erlang_libdir}/%{app_name}-%{app_ver}
%dir %{erlang_libdir}/%{app_name}-%{app_ver}/ebin
%{erlang_libdir}/%{app_name}-%{app_ver}/ebin/%{app_name}.app
%{erlang_libdir}/%{app_name}-%{app_ver}/ebin/*.beam
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8572ef32eec33dcd39fb5ec01e48a89841732b4927f6fa92989a91de1b1964b8
size 216093