Accepting request 494731 from home:hurricanehernandez:youcompleteme

Needed for typescript completion using ycmd

OBS-URL: https://build.opensuse.org/request/show/494731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=1
This commit is contained in:
Adam Majer 2017-06-26 15:01:39 +00:00 committed by Git OBS Bridge
commit 5cda54fb40
5 changed files with 113 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

3
typescript-2.2.1.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b1c1853616593d0e828c236c8e155a552d15a893036d307c4f424a241cf171c
size 3636770

25
typescript.changes Normal file
View File

@ -0,0 +1,25 @@
-------------------------------------------------------------------
Thu Mar 16 15:09:27 UTC 2017 - carlos@techbyte.ca
- Updating to 2.2.1
-------------------------------------------------------------------
Thu Feb 9 19:25:17 UTC 2017 - carlos@techbyte.ca
- Downgrading to 2.1.6
-------------------------------------------------------------------
Thu Feb 9 17:55:22 UTC 2017 - carlos@techbyte.ca
- Bumping to 2.2.0
-------------------------------------------------------------------
Wed Feb 8 21:36:57 UTC 2017 - carlos@techbyte.ca
- Renaming package
-------------------------------------------------------------------
Wed Feb 8 17:19:16 UTC 2017 - carlos@techbyte.ca
- Initial release.

61
typescript.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package typescript
#
# 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/
#
Name: typescript
Version: 2.2.1
Release: 0
License: Apache-2.0
Summary: A language for application scale JavaScript development
URL: http://typescriptlang.org/
Group: Development/Libraries/Other
Source0: http://registry.npmjs.org/%{name}/-/%{name}-%{version}.tgz
BuildRequires: nodejs-packaging
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{?nodejs_requires}
%description
TypeScript is a language for application-scale JavaScript. TypeScript adds
optional types, classes, and modules to JavaScript. TypeScript supports tools
for large-scale JavaScript applications for any browser, for any host, on any
OS. TypeScript compiles to readable, standards-based JavaScript.
%prep
%setup -q -n package
%build
%install
sed -i 's/\r$//' ThirdPartyNoticeText.txt
sed -i 's/\r$//' README.md
sed -i 's/\r$//' LICENSE.txt
sed -i 's/\r$//' CopyrightNotice.txt
%nodejs_install
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%doc ThirdPartyNoticeText.txt README.md LICENSE.txt CopyrightNotice.txt
%dir %{nodejs_sitelib}
%{nodejs_sitelib}/%{name}
%{_bindir}/tsc
%{_bindir}/tsserver
%changelog