Accepting request 128036 from home:matwey
OBS-URL: https://build.opensuse.org/request/show/128036 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-rfc4627?expand=0&rev=1
This commit is contained in:
25
.gitattributes
vendored
Normal file
25
.gitattributes
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
## 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
|
||||
## Specific LFS patterns
|
||||
_service:tar_scm:erlang-rfc4627-1339182201.tar filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
_service
Normal file
3
_service
Normal file
@@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="tar_scm"><param name="scm">git</param><param name="url">git://github.com/tonyg/erlang-rfc4627</param></service>
|
||||
<service name="set_version"/></services>
|
76
_service:set_version:erlang-rfc4627.spec
Normal file
76
_service:set_version:erlang-rfc4627.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package erlang-rfc4627
|
||||
#
|
||||
# Copyright (c) 2012 Matwey V. Kornilov <matwey.kornilov@gmail.com>
|
||||
#
|
||||
# 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-rfc4627
|
||||
Version: 1339182201
|
||||
Release: 0
|
||||
Summary: JSON codec and JSON-RPC server implementation for Erlang
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://tonyg.github.com/erlang-rfc4627/
|
||||
Source: %{name}-%{version}.tar
|
||||
Requires: erlang
|
||||
BuildRequires: erlang
|
||||
BuildRequires: erlang-src
|
||||
|
||||
%description
|
||||
An implementation of JSON and JSON-RPC for Erlang.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for erlang-rfc4627
|
||||
Group: Documentation/Other
|
||||
Requires: erlang-rfc4627
|
||||
|
||||
%description doc
|
||||
Documentation for Erlang JSON codec and JSON-RPC server implementation.
|
||||
|
||||
%package src
|
||||
Summary: erlang-rfc4627 sources
|
||||
Group: Development/Libraries/Other
|
||||
Requires: erlang-rfc4627
|
||||
|
||||
%description src
|
||||
Sources for Erlang JSON codec and JSON-RPC server implementation.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
MODULE_VER=$(erl -noshell -eval '{ok,[{_,_,C}]}=file:consult("./ebin/rfc4627_jsonrpc.app"), io:format(proplists:get_value(vsn,C)), halt().')
|
||||
echo $MODULE_VER > module_ver
|
||||
make %{?_smp_mflags} dist VERSION=$MODULE_VER
|
||||
|
||||
%install
|
||||
MODULE_VER=$(cat module_ver)
|
||||
mkdir -p %{buildroot}%{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER
|
||||
cp -pr dist/{ebin,src,include} %{buildroot}%{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER
|
||||
|
||||
echo %dir %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/ebin >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/include >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/src >> fileslist.src
|
||||
|
||||
%files -f fileslist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc README.md doc test
|
||||
|
||||
%files src -f fileslist.src
|
||||
%defattr(-,root,root)
|
||||
|
3
_service:tar_scm:erlang-rfc4627-1339182201.tar
Normal file
3
_service:tar_scm:erlang-rfc4627-1339182201.tar
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1c878c3781b07818c497f30fc05b0d9abd89a3707e4681028a30c5c0cac2c2c
|
||||
size 276480
|
5
erlang-rfc4627.changes
Normal file
5
erlang-rfc4627.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 16 15:47:20 +0400 2012 - matwey.kornilov@gmail.com
|
||||
|
||||
- Initial version
|
||||
|
76
erlang-rfc4627.spec
Normal file
76
erlang-rfc4627.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package erlang-rfc4627
|
||||
#
|
||||
# Copyright (c) 2012 Matwey V. Kornilov <matwey.kornilov@gmail.com>
|
||||
#
|
||||
# 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-rfc4627
|
||||
Version: 0
|
||||
Release: 0
|
||||
Summary: JSON codec and JSON-RPC server implementation for Erlang
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://tonyg.github.com/erlang-rfc4627/
|
||||
Source: %{name}-%{version}.tar
|
||||
Requires: erlang
|
||||
BuildRequires: erlang
|
||||
BuildRequires: erlang-src
|
||||
|
||||
%description
|
||||
An implementation of JSON and JSON-RPC for Erlang.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for erlang-rfc4627
|
||||
Group: Documentation/Other
|
||||
Requires: erlang-rfc4627
|
||||
|
||||
%description doc
|
||||
Documentation for Erlang JSON codec and JSON-RPC server implementation.
|
||||
|
||||
%package src
|
||||
Summary: erlang-rfc4627 sources
|
||||
Group: Development/Libraries/Other
|
||||
Requires: erlang-rfc4627
|
||||
|
||||
%description src
|
||||
Sources for Erlang JSON codec and JSON-RPC server implementation.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
MODULE_VER=$(erl -noshell -eval '{ok,[{_,_,C}]}=file:consult("./ebin/rfc4627_jsonrpc.app"), io:format(proplists:get_value(vsn,C)), halt().')
|
||||
echo $MODULE_VER > module_ver
|
||||
make %{?_smp_mflags} dist VERSION=$MODULE_VER
|
||||
|
||||
%install
|
||||
MODULE_VER=$(cat module_ver)
|
||||
mkdir -p %{buildroot}%{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER
|
||||
cp -pr dist/{ebin,src,include} %{buildroot}%{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER
|
||||
|
||||
echo %dir %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/ebin >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/include >> fileslist
|
||||
echo %{_libdir}/erlang/lib/rfc4627_jsonrpc-$MODULE_VER/src >> fileslist.src
|
||||
|
||||
%files -f fileslist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc README.md doc test
|
||||
|
||||
%files src -f fileslist.src
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user