[nodejs-muffin] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Mon Jul 22 10:18:16 UTC 2013


commit 24e8e7686e90510deed874836f8482bb6959a5af
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Jul 22 11:18:03 2013 +0100

    Initial import

 .gitignore         |    1 +
 nodejs-muffin.spec |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..317b1bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/muffin-0.9.0.tgz
diff --git a/nodejs-muffin.spec b/nodejs-muffin.spec
new file mode 100644
index 0000000..8bac7d6
--- /dev/null
+++ b/nodejs-muffin.spec
@@ -0,0 +1,73 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:       nodejs-muffin
+Version:    0.9.0
+Release:    2%{?dist}
+Summary:    Node.js module with handy helpers for building Cakefiles
+# License text is included in Readme.md
+License:    MIT
+Group:      System Environment/Libraries
+URL:        http://hornairs.github.com/muffin/
+Source0:    http://registry.npmjs.org/muffin/-/muffin-%{version}.tgz
+
+BuildArch:  noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+Requires:       cloc
+
+%description
+This Node.js module has handy helpers for building Cakefiles.
+
+It has a set of generic high level file operations you don't want to implement
+yourself, like copying files, CoffeeScript compilation and compile time
+requiring, minification, and SLOC counting.
+
+
+%prep
+%setup -q -n package
+rm -f deps/cloc.pl
+rm -rf docs/public/fonts/
+%nodejs_fixdep coffee-script '~1.4'
+%nodejs_fixdep glob '~3.1'
+%nodejs_fixdep prompt '~0.2'
+%nodejs_fixdep q '~0.9'
+%nodejs_fixdep q-io '~1.6'
+%nodejs_fixdep snockets '~1.3'
+%nodejs_fixdep temp '~0.5'
+%nodejs_fixdep uglify-js '~2.2'
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/muffin
+cp -pr package.json deps/ lib/ \
+    %{buildroot}%{nodejs_sitelib}/muffin
+
+# Use system provided cloc.pl
+ln -sf /usr/bin/cloc \
+    %{buildroot}%{nodejs_sitelib}/muffin/deps/cloc.pl
+
+%nodejs_symlink_deps
+
+
+%files
+%doc Readme.md docs/
+%{nodejs_sitelib}/muffin
+
+
+%changelog
+* Thu Jun 20 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.9.0-2
+- make versioned dependencies less specific
+
+* Sun May 26 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.9.0-1
+- update to upstream release 0.9.0
+- now using uglify-js 2.x branch
+- patches for new q API have now been upstreamed
+- add symlink for cloc.pl
+
+* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.7.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..d733ac8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3a5bae3ec5d98827215b3be7be3b7679  muffin-0.9.0.tgz


More information about the scm-commits mailing list