SPECS: mercurial.spec - add GUI subpackage
arekm
arekm at pld-linux.org
Tue Jan 31 00:10:16 CET 2006
Author: arekm Date: Mon Jan 30 23:10:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add GUI subpackage
---- Files affected:
SPECS:
mercurial.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/mercurial.spec
diff -u SPECS/mercurial.spec:1.4 SPECS/mercurial.spec:1.5
--- SPECS/mercurial.spec:1.4 Mon Jan 30 23:43:42 2006
+++ SPECS/mercurial.spec Tue Jan 31 00:10:11 2006
@@ -45,6 +45,16 @@
- mały kod podstawowy w Pythonie
- licencja GPL
+%package hgk
+Summary: GUI for mercurial
+Group: Development/Version Control
+Requires: %{name} >= %{version}-%{release}
+%pyrequires_eq python-modules
+
+%description hgk
+A tool called that allows browsing the history of a repository in a
+GUI
+
%prep
%setup -q
@@ -58,24 +68,38 @@
--optimize=2 \
--root=$RPM_BUILD_ROOT
+install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
+install contrib/hgk.py $RPM_BUILD_ROOT%{py_sitedir}/mercurial
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/mercurial
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CONTRIBUTORS README comparison.txt notes.txt
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/hg
+%attr(755,root,root) %{_bindir}/hgmerge
%dir %{py_sitedir}/%{name}
%attr(755,root,root) %{py_sitedir}/%{name}/*.so
%{py_sitedir}/%{name}/*.py[co]
+%exclude %{py_sitedir}/%{name}/hgk.py*
%{py_sitedir}/%{name}/templates
+%files hgk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/hgk
+%{py_sitedir}/%{name}/hgk.py[co]
+
%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.5 2006/01/30 23:10:11 arekm
+- add GUI subpackage
+
Revision 1.4 2006/01/30 22:43:42 arekm
- updated to 0.8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mercurial.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list