From 5cda54fb4095bd38a093e1ce2627e8fe62d8fefc8b2ca1dae7433ea07b584602 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 26 Jun 2017 15:01:39 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + typescript-2.2.1.tgz | 3 +++ typescript.changes | 25 ++++++++++++++++++ typescript.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 113 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 typescript-2.2.1.tgz create mode 100644 typescript.changes create mode 100644 typescript.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/typescript-2.2.1.tgz b/typescript-2.2.1.tgz new file mode 100644 index 0000000..1179fde --- /dev/null +++ b/typescript-2.2.1.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b1c1853616593d0e828c236c8e155a552d15a893036d307c4f424a241cf171c +size 3636770 diff --git a/typescript.changes b/typescript.changes new file mode 100644 index 0000000..f9cd062 --- /dev/null +++ b/typescript.changes @@ -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. + diff --git a/typescript.spec b/typescript.spec new file mode 100644 index 0000000..8c12cc7 --- /dev/null +++ b/typescript.spec @@ -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