Add RPM target for git-gui
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
26
git.spec.in
26
git.spec.in
@ -9,7 +9,7 @@ URL: http://kernel.org/pub/software/scm/git/
|
|||||||
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
|
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
|
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk, perl-Git
|
Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk, git-gui, perl-Git
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a stupid (but extremely fast) directory content manager. It
|
This is a stupid (but extremely fast) directory content manager. It
|
||||||
@ -63,6 +63,13 @@ Requires: git-core = %{version}-%{release}
|
|||||||
%description email
|
%description email
|
||||||
Git tools for sending email.
|
Git tools for sending email.
|
||||||
|
|
||||||
|
%package gui
|
||||||
|
Summary: Git GUI tool
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: git-core = %{version}-%{release}, tk >= 8.4
|
||||||
|
%description gui
|
||||||
|
Git GUI tool
|
||||||
|
|
||||||
%package -n gitk
|
%package -n gitk
|
||||||
Summary: Git revision tree visualiser ('gitk')
|
Summary: Git revision tree visualiser ('gitk')
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -97,10 +104,10 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
||||||
|
|
||||||
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk|git-gui|git-citool" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
||||||
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
|
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
|
||||||
%if %{!?_without_docs:1}0
|
%if %{!?_without_docs:1}0
|
||||||
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
|
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|git-gui|git-citool" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
|
||||||
%else
|
%else
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
||||||
%endif
|
%endif
|
||||||
@ -139,6 +146,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
|
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
|
||||||
%{!?_without_docs: %doc Documentation/*email*.html }
|
%{!?_without_docs: %doc Documentation/*email*.html }
|
||||||
|
|
||||||
|
%files gui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/git-gui
|
||||||
|
%{_bindir}/git-citool
|
||||||
|
# Not Yet...
|
||||||
|
# %{!?_without_docs: %{_mandir}/man1/git-gui.1}
|
||||||
|
# %{!?_without_docs: %doc Documentation/git-gui.html}
|
||||||
|
# %{!?_without_docs: %{_mandir}/man1/git-citool.1}
|
||||||
|
# %{!?_without_docs: %doc Documentation/git-citool.html}
|
||||||
|
|
||||||
%files -n gitk
|
%files -n gitk
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Documentation/*gitk*.txt
|
%doc Documentation/*gitk*.txt
|
||||||
@ -156,6 +173,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{!?_without_docs: %doc Documentation/*.html }
|
%{!?_without_docs: %doc Documentation/*.html }
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 12 2007 Junio C Hamano <junkio@cox.net>
|
||||||
|
- Add git-gui and git-citool.
|
||||||
|
|
||||||
* Mon Nov 14 2005 H. Peter Anvin <hpa@zytor.com> 0.99.9j-1
|
* Mon Nov 14 2005 H. Peter Anvin <hpa@zytor.com> 0.99.9j-1
|
||||||
- Change subpackage names to git-<name> instead of git-core-<name>
|
- Change subpackage names to git-<name> instead of git-core-<name>
|
||||||
- Create empty root package which brings in all subpackages
|
- Create empty root package which brings in all subpackages
|
||||||
|
Reference in New Issue
Block a user