blob: 88bb02ef80c56f4d7de593013d5ded8742490b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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.1.0-1.20130124git7e15f28f
- Initial packaging
|