SPECS: git-cola.spec (NEW) - new; based on fedora's spec

adamg adamg at pld-linux.org
Sun Mar 1 01:30:47 CET 2009


Author: adamg                        Date: Sun Mar  1 00:30:47 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new; based on fedora's spec

---- Files affected:
SPECS:
   git-cola.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/git-cola.spec
diff -u /dev/null SPECS/git-cola.spec:1.1
--- /dev/null	Sun Mar  1 01:30:47 2009
+++ SPECS/git-cola.spec	Sun Mar  1 01:30:42 2009
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+Summary:	A highly caffeinated git gui
+Name:		git-cola
+Version:	1.3.5.28
+Release:	1
+License:	GPL v2+
+Group:		Development/Tools
+Source0:	http://cola.tuxfamily.org/releases/cola-%{version}-src.tar.gz
+# Source0-md5:	3ae77c4daa45e5deec249d5ec27efd34
+Patch0:		%{name}-shebang.patch
+URL:		http://cola.tuxfamily.org/
+BuildRequires:	asciidoc
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	xmlto
+Requires:	git-core >= 1.5.2
+Requires:	python >= 1:2.4
+Requires:	python-PyQt4 >= 4.3
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A sweet, carbonated git gui known for its sugary flavour and
+caffeine-inspired features.
+
+%prep
+%setup -q -n cola-%{version}
+%patch0 -p0
+
+%build
+%{__python} setup.py build
+%{__make} doc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 \
+	--skip-build \
+	--root $RPM_BUILD_ROOT \
+	--prefix=%{_prefix}
+
+%{__make} install-doc install-html \
+	DESTDIR=$RPM_BUILD_ROOT \
+	prefix=%{_prefix}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+update-desktop-database &> /dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+
+%files
+%defattr(644,root,root,755)
+%doc COPYRIGHT LICENSE README
+%attr(755,root,root) %{_bindir}/git-cola
+%attr(755,root,root) %{_bindir}/git-difftool
+%attr(755,root,root) %{_bindir}/git-difftool-helper
+%{_desktopdir}/cola.desktop
+%{_datadir}/cola
+%{_docdir}/cola
+%{_mandir}/man1/git-cola.1*
+%{_mandir}/man1/git-difftool.1*
+%{py_sitescriptdir}/cola
+%{py_sitescriptdir}/*.egg-info
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/03/01 00:30:42  adamg
+- new; based on fedora's spec
+
================================================================


More information about the pld-cvs-commit mailing list