Sync from SUSE:SLFO:Main erlang-cf revision 347e84f5535125b7a95e50db8126fcdb
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
|
17
_service
Normal file
17
_service
Normal file
@@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">git://github.com/project-fifo/cf.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*?)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">v0.3.1</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
<service mode="buildtime" name="tar"/>
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/project-fifo/cf.git</param>
|
||||
<param name="changesrevision">2bcf00402db9ca5a4790de7f82c8139baaf8856c</param></service></servicedata>
|
BIN
cf-0.3.1.obscpio
(Stored with Git LFS)
Normal file
BIN
cf-0.3.1.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
5
cf.obsinfo
Normal file
5
cf.obsinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
name: cf
|
||||
version: 0.3.1
|
||||
mtime: 1497470252
|
||||
commit: 2bcf00402db9ca5a4790de7f82c8139baaf8856c
|
||||
|
17
erlang-cf.changes
Normal file
17
erlang-cf.changes
Normal file
@@ -0,0 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 12:27:48 UTC 2024 - Simon Lees <sflees@suse.de>
|
||||
|
||||
- We use a linked copy of this package in some SUSE products and
|
||||
to do so correctly, we need to ensure a minimum of erlang 26
|
||||
Leap will soon get a versioned copy of erlang26 as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 12:17:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- switch to disabled services for version setting to comply with
|
||||
factory policy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 13 11:04:58 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
- Initial version
|
57
erlang-cf.spec
Normal file
57
erlang-cf.spec
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# spec file for package erlang-cf
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define app_name cf
|
||||
%define app_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
Name: erlang-%{app_name}
|
||||
Version: 0.3.1
|
||||
Release: 0
|
||||
Summary: A helper library for termial colour printing for Erlang
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Other
|
||||
URL: https://github.com/project-fifo/cf
|
||||
Source: %{app_name}-%{version}.tar.xz
|
||||
BuildRequires: erlang >= 26
|
||||
BuildRequires: erlang-rebar
|
||||
Requires: erlang >= 26
|
||||
|
||||
%description
|
||||
A helper library for termial colour printing extending the io:format syntax to add colours.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{app_name}-%{version}
|
||||
|
||||
%build
|
||||
%rebar_set_vsn_cache %{app_ver}
|
||||
%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
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%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
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user