Accepting request 230366 from home:matwey:branches:devel:languages:erlang
OBS-URL: https://build.opensuse.org/request/show/230366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-neotoma?expand=0&rev=2
This commit is contained in:
26
_service
26
_service
@@ -1,17 +1,13 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/seancribbs/neotoma</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">1.5.1+git.%ct.%h</param>
|
||||
</service>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">neotoma-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">neotoma</param>
|
||||
</service>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/seancribbs/neotoma.git</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>
|
||||
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 13:13:54 UTC 2014 - matwey.kornilov@gmail.com
|
||||
|
||||
- Version 1.7.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 15:11:11 UTC 2013 - nkrinner@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package erlang-neotoma
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -15,40 +15,48 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: erlang-neotoma
|
||||
Version: 1.5.1+git.1365439294.0617791
|
||||
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
|
||||
%define app_name neotoma
|
||||
Name: erlang-%{app_name}
|
||||
Version: 1.7.2+git20140218.760928e
|
||||
Release: 0
|
||||
License: MIT
|
||||
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
Summary: Erlang library and packrat parser-generator
|
||||
Url: http://github.com/seancribbs/neotoma/
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Source: neotoma-%{version}.tar.gz
|
||||
BuildRequires: erlang-rebar
|
||||
Url: http://github.com/seancribbs/neotoma/
|
||||
Source: %{app_name}-%{version}.tar.bz2
|
||||
Requires: erlang
|
||||
BuildRequires: erlang
|
||||
BuildRequires: erlang-rebar
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Erlang library and packrat parser-generator for parsing expression grammars.
|
||||
|
||||
%prep
|
||||
%setup -n neotoma-%{version}
|
||||
%setup -q -n %{app_name}-%{version}
|
||||
|
||||
%build
|
||||
%rebar compile escriptize
|
||||
|
||||
sed -e 's/git/\"'%{app_ver}'\"/' -i src/neotoma.app.src
|
||||
make
|
||||
|
||||
%install
|
||||
for dir in ebin extra priv ; do
|
||||
install -d %{buildroot}%{erlang_libdir}/neotoma-%{mod_ver}/${dir}
|
||||
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/neotoma-%{mod_ver}/${dir}/
|
||||
for dir in ebin priv ; do
|
||||
mkdir -p %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}
|
||||
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}/
|
||||
done
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{erlang_libdir}/neotoma-%{mod_ver}
|
||||
%{erlang_libdir}/neotoma-%{mod_ver}/ebin
|
||||
%{erlang_libdir}/neotoma-%{mod_ver}/extra
|
||||
%{erlang_libdir}/neotoma-%{mod_ver}/priv
|
||||
|
||||
%doc extra LICENSE README.textile
|
||||
%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
|
||||
%{erlang_libdir}/%{app_name}-%{app_ver}/priv
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aaa3112f7f6d0111db3d92b34609299e9317d8fb6bf45fafb6c3fa577699f221
|
||||
size 18088
|
3
neotoma-1.7.2+git20140218.760928e.tar.bz2
Normal file
3
neotoma-1.7.2+git20140218.760928e.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37565f20199042b8e8d2d4a9bf3ff1c49730c949d10ac23f902c467ccb01d8ee
|
||||
size 181116
|
Reference in New Issue
Block a user