]> git.pld-linux.org Git - packages/git-cola.git/blob - git-cola.spec
- BR: docbook-dtd45-xml, gettext-devel, python-devel
[packages/git-cola.git] / git-cola.spec
1 Summary:        A highly caffeinated git gui
2 Name:           git-cola
3 Version:        1.3.7.60
4 Release:        1
5 License:        GPL v2+
6 Group:          Development/Tools
7 Source0:        http://cola.tuxfamily.org/releases/cola-%{version}-src.tar.gz
8 # Source0-md5:  b7bd6c8a4410be84d885bf7debd49aab
9 Patch0:         %{name}-shebang.patch
10 URL:            http://cola.tuxfamily.org/
11 BuildRequires:  asciidoc
12 BuildRequires:  docbook-dtd45-xml
13 BuildRequires:  gettext-devel
14 BuildRequires:  git-core
15 BuildRequires:  python-PyQt4
16 BuildRequires:  python-devel
17 BuildRequires:  rpm-pythonprov
18 BuildRequires:  rpmbuild(macros) >= 1.219
19 BuildRequires:  xmlto
20 Requires:       git-core >= 1.5.2
21 Requires:       python >= 1:2.4
22 Requires:       python-PyQt4 >= 4.3
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 A sweet, carbonated git gui known for its sugary flavour and
28 caffeine-inspired features.
29
30 %prep
31 %setup -q -n cola-%{version}
32 %patch0 -p0
33
34 %build
35 export INSTALL_GIT_DIFFTOOL=1
36 %{__python} setup.py build
37 %{__make} doc
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__python} setup.py install -O1 \
42         --skip-build \
43         --root $RPM_BUILD_ROOT \
44         --prefix=%{_prefix}
45
46 %{__make} install-doc install-html \
47         DESTDIR=$RPM_BUILD_ROOT \
48         prefix=%{_prefix}
49
50 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
51 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
52 %py_postclean
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 update-desktop-database > /dev/null 2>&1 || :
59
60 %postun
61 update-desktop-database > /dev/null 2>&1 || :
62
63 %files
64 %defattr(644,root,root,755)
65 %doc COPYRIGHT LICENSE README
66 %attr(755,root,root) %{_bindir}/git-cola
67 %attr(755,root,root) %{_bindir}/git-difftool
68 %attr(755,root,root) %{_bindir}/git-difftool--helper
69 %{_desktopdir}/cola.desktop
70 %{_datadir}/git-cola
71 %{_docdir}/git-cola
72 %{_mandir}/man1/git-cola.1*
73 %{py_sitescriptdir}/*.egg-info
This page took 0.070004 seconds and 3 git commands to generate.