Accepting request 237619 from home:matwey:branches:devel:languages:erlang
This is needed for updated erlang-sqerl OBS-URL: https://build.opensuse.org/request/show/237619 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-parse_trans?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
|
13
_service
Normal file
13
_service
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/uwiger/parse_trans</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="compression">bz2</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled">
|
||||||
|
</service>
|
||||||
|
</services>
|
5
erlang-parse_trans.changes
Normal file
5
erlang-parse_trans.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 08:05:13 UTC 2014 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
63
erlang-parse_trans.spec
Normal file
63
erlang-parse_trans.spec
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
#
|
||||||
|
# spec file for package erlang-parse_trans
|
||||||
|
#
|
||||||
|
# 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 parse_trans
|
||||||
|
Name: erlang-%{app_name}
|
||||||
|
Version: 2.8+git20140321.2adfbfc
|
||||||
|
Release: 0
|
||||||
|
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||||
|
Summary: Parse transform utilities for Erlang
|
||||||
|
License: ErlPL-1.1
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
Url: https://github.com/uwiger/parse_trans
|
||||||
|
Source: %{app_name}-%{version}.tar.bz2
|
||||||
|
Requires: erlang
|
||||||
|
BuildRequires: erlang
|
||||||
|
BuildRequires: erlang-edown
|
||||||
|
BuildRequires: erlang-rebar
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Parse transform utilities for Erlang
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{app_name}-%{version}
|
||||||
|
echo %{app_ver} > .rebar_vsn_obs
|
||||||
|
|
||||||
|
%build
|
||||||
|
%rebar compile
|
||||||
|
|
||||||
|
%install
|
||||||
|
for dir in ebin include ; do
|
||||||
|
mkdir -p %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}
|
||||||
|
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}/
|
||||||
|
done
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc examples doc 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
|
||||||
|
%dir %{erlang_libdir}/%{app_name}-%{app_ver}/include
|
||||||
|
%{erlang_libdir}/%{app_name}-%{app_ver}/include/*.hrl
|
||||||
|
|
||||||
|
%changelog
|
3
parse_trans-2.8+git20140321.2adfbfc.tar.bz2
Normal file
3
parse_trans-2.8+git20140321.2adfbfc.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:534276e344276849e3cbee16e7f1916be8bb2a5a18f6077ee8e4c670401b8a7a
|
||||||
|
size 200806
|
Reference in New Issue
Block a user