rev 8cf4a33989a0dc18f47adb7aa63d2db2099578e4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/typescript-go?expand=0&rev=1
This commit is contained in:
Avindra Goolcharan 2025-03-15 23:05:10 +00:00 committed by Git OBS Bridge
commit 98ccb4794a
7 changed files with 105 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

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/microsoft/typescript-go</param>
<param name="scm">git</param>
<param name="revision">8cf4a33989a0dc18f47adb7aa63d2db2099578e4</param>
<param name="version">0.1</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
<param name="exclude">.gitignore</param>
</service>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

3
typescript-go-0.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:593eae1952163d3ffce37720ed85020d9adf7d9a4cc4a9ee92596a00cdeec48c
size 23783076

4
typescript-go.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Mar 15 23:01:25 UTC 2025 - Avindra Goolcharan <avindra@opensuse.org>
- initial rev @ 8cf4a33989a0dc18f47adb7aa63d2db2099578e4

53
typescript-go.spec Normal file
View File

@ -0,0 +1,53 @@
#
# spec file for package typescript-go
#
# Copyright (c) 2025 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/
#
Name: typescript-go
Version: 0.1
Release: 0
Summary: port of TypeScript to go
License: Apache-2.0
URL: https://github.com/microsoft/typescript-go
Source0: typescript-go-%{version}.tar.xz
Source1: vendor.tar.zst
BuildRequires: golang(API) >= 1.24
BuildRequires: golang-packaging
BuildRequires: zstd
%description
typescript-go is an experimental port of the TypeScript compiler to Go.
%prep
%autosetup -a1
%build
go build -mod vendor \
%ifnarch riscv64 ppc64
-buildmode=pie \
%endif
-ldflags "-s -w" ./cmd/tsgo
%install
mkdir -p %{buildroot}/%{_bindir}
install -Dm755 tsgo %{buildroot}/%{_bindir}/tsgo
%files
%license LICENSE
%doc README.md
%{_bindir}/tsgo
%changelog

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:078d070291993bf285ed4b805bda9a0d50df2e72b233dbecf87a3db6dbdb263a
size 744123