~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to git.spec.in

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-04-22 13:31:05 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20070422133105-tkmhz328g2p0epz1
Tags: 1:1.5.1.2-1
* new upstream point release.
* debian/changelog.upstream: upstream changes taken from mailing list
  announcement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
Source:         http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
10
10
BuildRequires:  zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel  %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
11
11
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
 
Requires:       git-core, git-svn, git-cvs, git-arch, git-email, gitk, perl-Git
 
12
Requires:       git-core, git-svn, git-cvs, git-arch, git-email, gitk, git-gui, perl-Git
13
13
 
14
14
%description
15
 
This is a stupid (but extremely fast) directory content manager.  It
16
 
doesn't do a whole lot, but what it _does_ do is track directory
17
 
contents efficiently. It is intended to be the base of an efficient,
18
 
distributed source code management system. This package includes
19
 
rudimentary tools that can be used as a SCM, but you should look
20
 
elsewhere for tools for ordinary humans layered on top of this.
 
15
Git is a fast, scalable, distributed revision control system with an
 
16
unusually rich command set that provides both high-level operations
 
17
and full access to internals.
21
18
 
22
19
This is a dummy package which brings in all subpackages.
23
20
 
24
21
%package core
25
22
Summary:        Core git tools
26
23
Group:          Development/Tools
27
 
Requires:       zlib >= 1.2, rsync, rcs, curl, less, openssh-clients, python >= 2.3, expat
 
24
Requires:       zlib >= 1.2, rsync, curl, less, openssh-clients, expat
28
25
%description core
29
 
This is a stupid (but extremely fast) directory content manager.  It
30
 
doesn't do a whole lot, but what it _does_ do is track directory
31
 
contents efficiently. It is intended to be the base of an efficient,
32
 
distributed source code management system. This package includes
33
 
rudimentary tools that can be used as a SCM, but you should look
34
 
elsewhere for tools for ordinary humans layered on top of this.
 
26
Git is a fast, scalable, distributed revision control system with an
 
27
unusually rich command set that provides both high-level operations
 
28
and full access to internals.
35
29
 
36
30
These are the core tools with minimal dependencies.
37
31
 
63
57
%description email
64
58
Git tools for sending email.
65
59
 
 
60
%package gui
 
61
Summary:        Git GUI tool
 
62
Group:          Development/Tools
 
63
Requires:       git-core = %{version}-%{release}, tk >= 8.4
 
64
%description gui
 
65
Git GUI tool
 
66
 
66
67
%package -n gitk
67
68
Summary:        Git revision tree visualiser ('gitk')
68
69
Group:          Development/Tools
89
90
 
90
91
%install
91
92
rm -rf $RPM_BUILD_ROOT
92
 
make %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT WITH_OWN_SUBPROCESS_PY=YesPlease \
 
93
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
 
94
     WITH_OWN_SUBPROCESS_PY=YesPlease \
93
95
     prefix=%{_prefix} mandir=%{_mandir} INSTALLDIRS=vendor \
94
96
     install %{!?_without_docs: install-doc}
95
97
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
96
98
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
97
99
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
98
100
 
99
 
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@)               > bin-man-doc-files
 
101
(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
100
102
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
101
103
%if %{!?_without_docs:1}0
102
 
(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
 
104
(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
103
105
%else
104
106
rm -rf $RPM_BUILD_ROOT%{_mandir}
105
107
%endif
138
140
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
139
141
%{!?_without_docs: %doc Documentation/*email*.html }
140
142
 
 
143
%files gui
 
144
%defattr(-,root,root)
 
145
%{_bindir}/git-gui
 
146
%{_bindir}/git-citool
 
147
# Not Yet...
 
148
# %{!?_without_docs: %{_mandir}/man1/git-gui.1}
 
149
# %{!?_without_docs: %doc Documentation/git-gui.html}
 
150
# %{!?_without_docs: %{_mandir}/man1/git-citool.1}
 
151
# %{!?_without_docs: %doc Documentation/git-citool.html}
 
152
 
141
153
%files -n gitk
142
154
%defattr(-,root,root)
143
155
%doc Documentation/*gitk*.txt
155
167
%{!?_without_docs: %doc Documentation/*.html }
156
168
 
157
169
%changelog
 
170
* Mon Feb 13 2007 Nicolas Pitre <nico@cam.org>
 
171
- Update core package description (Git isn't as stupid as it used to be)
 
172
 
 
173
* Mon Feb 12 2007 Junio C Hamano <junkio@cox.net>
 
174
- Add git-gui and git-citool.
 
175
 
158
176
* Mon Nov 14 2005 H. Peter Anvin <hpa@zytor.com> 0.99.9j-1
159
177
- Change subpackage names to git-<name> instead of git-core-<name>
160
178
- Create empty root package which brings in all subpackages