diff options
author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2013-02-04 19:20:53 -0700 |
---|---|---|
committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2013-02-04 19:20:53 -0700 |
commit | 32206d36d7923b959bb37278d071e79f1e16b0ea (patch) | |
tree | 57fa287d181e65c260bc906b5904c773b1242767 | |
download | bane-master.tar.gz bane-master.tar.xz bane-master.zip |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bane.conf | 1 | ||||
-rw-r--r-- | bane.spec | 46 | ||||
-rw-r--r-- | sources | 1 |
4 files changed, 49 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e10157 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/bane-f7282b8.tar.gz diff --git a/bane.conf b/bane.conf new file mode 100644 index 0000000..3c5bdb7 --- /dev/null +++ b/bane.conf @@ -0,0 +1 @@ +Alias /js/capillary /usr/share/capillary-js diff --git a/bane.spec b/bane.spec new file mode 100644 index 0000000..bef481d --- /dev/null +++ b/bane.spec @@ -0,0 +1,46 @@ +%global commit f7282b890afd78656ffa71355a3f223e07be04e6 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%global checkout 20130203git%{shortcommit} + +Name: bane +Version: 0.4.0 +Release: 1.%{checkout}%{?dist} +Summary: (Yet another) Event emitter for Node, Browser globals and AMD +Group: Applications/Internet +License: BSD +URL: https://gitorious.org/buster/bane +# To download the source tarball: +# curl -o bane-%{shortcommit}.tar.gz https://gitorious.org/buster/bane/archive-tarball/%{commit} +# You may get a "try again later" message at first. +Source0: %{name}-%{shortcommit}.tar.gz +Source1: %{name}.conf +BuildArch: noarch + +#BuildRequires: +Requires: httpd + +%description +(Yet another) Event emitter for Node, Browser globals and AMD + + +%prep +%setup -q -n buster-%{name} + +%build + +%install +mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -p buster.js $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -p -r lib $RPM_BUILD_ROOT%{_datadir}/%{name} +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d +install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d + +%files +%doc AUTHORS LICENSE Readme.rst +%{_datadir}/%{name} +%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf + +%changelog +* Mon Feb 04 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.4.0-1.20130204git +- Initial packaging @@ -0,0 +1 @@ +85b12b824953a7222a1c6ae09ac5a8af bane-f7282b8.tar.gz |