From d2477a5a25ab786f33a6649938bc25c22c293341 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 25 Jan 2013 00:03:54 -0700 Subject: Initial packaging --- capillary-js.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 capillary-js.spec (limited to 'capillary-js.spec') 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 - 0-0.1 +- Initial packaging -- cgit