Adrian Schröter 2022-02-17 10:02:25 +00:00 committed by Git OBS Bridge
commit 6338685f8f
5 changed files with 102 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/openSUSE/obs-scm-bridge</param>
<param name="scm">git</param>
<param name="revision">0.1</param>
<param name="version">0.1</param>
</service>
<service mode="manual" 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>

5
obs-scm-bridge.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Feb 17 10:01:46 UTC 2022 - Adrian Schröter <adrian@suse.de>
- initial release of version 0.1

58
obs-scm-bridge.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package obs-scm-bridge
#
# Copyright (c) 2022 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/
#
%if 0%{?fedora} || 0%{?rhel}
%define build_pkg_name obs-build
%else
%define build_pkg_name build
%endif
Name: obs-scm-bridge
Version: 0.0.1
Release: 0
Summary: A help service to work with git repositories in OBS
License: GPL-2.0-or-later
URL: https://github.com/openSUSE/obs-scm-bridge
Source0: %{name}-%{version}.tar.xz
Requires: %{build_pkg_name} >= 20211125
# these are just recommends in build package, but we need it here
Requires: perl(Date::Parse)
Requires: perl(LWP::UserAgent)
Requires: perl(Net::SSL)
Requires: perl(Pod::Usage)
Requires: perl(Time::Zone)
Requires: perl(URI)
Requires: perl(XML::Parser)
Requires: perl(YAML::LibYAML)
BuildArch: noarch
Recommends: python3-packaging
%description
%prep
%autosetup
%build
%install
make DESTDIR=%{buildroot} install
%files
%{_prefix}/lib/obs/service
%changelog