summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2013-01-25 00:03:54 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2013-01-25 00:03:54 -0700
commitd2477a5a25ab786f33a6649938bc25c22c293341 (patch)
treeb161d10644611f6d7ad887f5ac9a394f1e13ff25
downloadcapillary-js-d2477a5a25ab786f33a6649938bc25c22c293341.tar.gz
capillary-js-d2477a5a25ab786f33a6649938bc25c22c293341.tar.xz
capillary-js-d2477a5a25ab786f33a6649938bc25c22c293341.zip
Initial packaging
-rw-r--r--.gitignore1
-rw-r--r--capillary-js.conf1
-rw-r--r--capillary-js.spec45
-rw-r--r--sources1
4 files changed, 48 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8b55812
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/capillary-js-7e15f28f.tar.gz
diff --git a/capillary-js.conf b/capillary-js.conf
new file mode 100644
index 0000000..3c5bdb7
--- /dev/null
+++ b/capillary-js.conf
@@ -0,0 +1 @@
+Alias /js/capillary /usr/share/capillary-js
diff --git a/capillary-js.spec b/capillary-js.spec
new file mode 100644
index 0000000..e541b22
--- /dev/null
+++ b/capillary-js.spec
@@ -0,0 +1,45 @@
+%global checkout 20130124git7e15f28f
+
+Name: capillary-js
+Version: 0.1.0
+Release: 1.%{checkout}%{?dist}
+Summary: Git graphs with Javascript
+Group: Applications/Internet
+License: AGPLv3+
+URL: https://gitorious.org/capillary/capillary-js
+# To download the source tarball:
+# curl -o capillary-js-7e15f28f.tar.gz https://gitorious.org/capillary/capillary-js/archive-tarball/7e15f28f6c76b06d26fb5d8525f569e54c3784fc
+# You may get a "try again later" message at first.
+Source0: %{name}-7e15f28f.tar.gz
+Source1: %{name}.conf
+BuildArch: noarch
+
+#BuildRequires:
+Requires: httpd
+
+%description
+Capillary parses the output of Git log and produces a beautiful
+graphical representation of your repository's history - similar to gitk
+and git log --graph, except beautiful. capillary.js is the Javascript
+library doing the presentation.
+
+
+%prep
+%setup -q -n capillary-%{name}
+
+%build
+
+%install
+mkdir -p $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 docs
+%{_datadir}/%{name}
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
+
+%changelog
+* Fri Jan 24 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 0-0.1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..5c8c88f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+55c2d5ea0cdafb66895a5d137a07a18d capillary-js-7e15f28f.tar.gz