- initial package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-yconf?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
|
15
_service
Normal file
15
_service
Normal file
@@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="obs_scm">
|
||||
<param name="url">https://github.com/processone/yconf/</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">1.0.0</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar"/>
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="set_version"/>
|
||||
</services>
|
6
_service:obs_scm:_servicedata
Normal file
6
_service:obs_scm:_servicedata
Normal file
@@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/processone/yconf/</param>
|
||||
<param name="changesrevision">cfd4991567ea207f6f27cc2e6085959ff95c6d34</param>
|
||||
</service>
|
||||
</servicedata>
|
10
_service:obs_scm:erlang-yconf.changes
Normal file
10
_service:obs_scm:erlang-yconf.changes
Normal file
@@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 00:14:55 UTC 2019 - obs-service-tar-scm@invalid
|
||||
|
||||
- Update to version 1.0.0:
|
||||
*
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 00:00:33 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- initial package
|
3
_service:obs_scm:yconf-1.0.0.obscpio
Normal file
3
_service:obs_scm:yconf-1.0.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77b06456e366b1c6c0921f1f3cee5b55eaafd347515b917032c37f814cf6aca4
|
||||
size 295947
|
5
_service:obs_scm:yconf.obsinfo
Normal file
5
_service:obs_scm:yconf.obsinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
name: yconf
|
||||
version: 1.0.0
|
||||
mtime: 1564754659
|
||||
commit: cfd4991567ea207f6f27cc2e6085959ff95c6d34
|
||||
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/processone/yconf/</param>
|
||||
<param name="changesrevision">1.0.0</param>
|
||||
</service>
|
||||
</servicedata>
|
4
erlang-yconf.changes
Normal file
4
erlang-yconf.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 00:00:33 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- initial package
|
59
erlang-yconf.spec
Normal file
59
erlang-yconf.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# 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 yconf
|
||||
|
||||
Name: erlang-%{app_name}
|
||||
Version: 0
|
||||
Release: 0
|
||||
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
License: Apache-2.0
|
||||
Summary: YAML configuration processor
|
||||
Url: https://github.com/processone/yconf
|
||||
Group: Development/Libraries/Other
|
||||
Source: %{app_name}-%{version}.tar.xz
|
||||
Requires: erlang
|
||||
BuildRequires: erlang
|
||||
BuildRequires: erlang-rebar
|
||||
BuildRequires: erlang-fast_yaml >= 1.0.20
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: %{name}-devel = %{version}-%{release}
|
||||
%description
|
||||
YAML configuration processor
|
||||
|
||||
%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
|
||||
|
||||
%check
|
||||
%rebar eunit
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG.md LICENSE
|
||||
%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
|
Reference in New Issue
Block a user