galileo pushed to nodejs-doctrine (f22). "Initial Commit"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 1 20:19:34 UTC 2015


>From b3aea3822cc55aaf5d5aed50fb2bfa82cc45df11 Mon Sep 17 00:00:00 2001
From: Gerard Ryan <gerard at ryan.lt>
Date: Sat, 7 Mar 2015 15:49:08 +0000
Subject: Initial Commit


diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..773f655
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/doctrine-0.6.4.tgz
diff --git a/nodejs-doctrine.spec b/nodejs-doctrine.spec
new file mode 100644
index 0000000..a40ad93
--- /dev/null
+++ b/nodejs-doctrine.spec
@@ -0,0 +1,57 @@
+%global shortname doctrine
+
+Name:           nodejs-doctrine
+Version:        0.6.4
+Release:        1%{?dist}
+Summary:        A JSDoc parser
+
+# README.md states that some functions are 'derived' from esprima (BSD) and
+# some 'extensions' are 'derived' from closure-compiler (ASL 2.0)
+License:        BSD and ASL 2.0
+
+URL:            https://github.com/Constellation/%{shortname}
+Source0:        http://registry.npmjs.org/%{shortname}/-/%{shortname}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+BuildRequires:  npm(should)
+BuildRequires:  npm(esutils)
+BuildRequires:  npm(isarray)
+
+%description
+%{shortname} is %{summary}.
+
+%prep
+%setup -qn package
+%nodejs_fixdep esutils
+
+%build
+# Nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{shortname}/
+cp -pr package.json lib/ %{buildroot}%{nodejs_sitelib}/%{shortname}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+
+# Test dep 'describe' is not packaged for Fedora yet
+for test in $(ls test/ | grep -v {midstream,parse}.js); do
+    node test/${test}
+done
+
+%files
+%{nodejs_sitelib}/%{shortname}
+%doc README.md CONTRIBUTING.md
+# LICENSE.BSD and LICENSE.esprima are identical, so only one is included
+%license LICENSE.BSD LICENSE.closure-compiler
+
+
+%changelog
+* Sat Mar 07 2015 Gerard Ryan <galileo at fedoraproject.org> - 0.6.4-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b88d2bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bb2bd6ea3ae8f5351cb836c219642193  doctrine-0.6.4.tgz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-doctrine.git/commit/?h=f22&id=b3aea3822cc55aaf5d5aed50fb2bfa82cc45df11


More information about the scm-commits mailing list