Summary: The stupid content tracker
Summary(pl.UTF-8): Prymitywne narzędzie do śledzenia treści
Name: git-core
-Version: 1.7.0
+Version: 1.7.3.1
Release: 1
License: GPL v2
Group: Development/Tools
Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
-# Source0-md5: c7553b73e2156d187ece6ba936ae30ab
+# Source0-md5: 77e1611498919965fb65fd1f229ee155
Source1: %{name}-gitweb.conf
Source2: %{name}-gitweb-httpd.conf
Source3: %{name}.sysconfig
Source4: %{name}.inet
Source5: %{name}.init
+Patch0: %{name}-tests.patch
+Patch1: %{name}-libcrypto.patch
URL: http://git-scm.com/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: openssl-devel
BuildRequires: perl-Error > 0.15
BuildRequires: perl-base
+BuildRequires: python-devel
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.264
%description
"git" can mean anything, depending on your mood.
- - random three-letter combination that is pronounceable, and not
- actually used by any common UNIX command. The fact that it is a
- mispronunciation of "get" may or may not be relevant.
- - stupid. contemptible and despicable. simple. Take your pick from the
- dictionary of slang.
- - "global information tracker": you're in a good mood, and it actually
- works for you. Angels sing, and a light suddenly fills the room.
- - "goddamn idiotic truckload of sh*t": when it breaks
+- random three-letter combination that is pronounceable, and not
+ actually used by any common UNIX command. The fact that it is a
+ mispronunciation of "get" may or may not be relevant.
+- stupid. contemptible and despicable. simple. Take your pick from the
+ dictionary of slang.
+- "global information tracker": you're in a good mood, and it actually
+ works for you. Angels sing, and a light suddenly fills the room.
+- "goddamn idiotic truckload of sh*t": when it breaks
This is a stupid (but extremely fast) directory content manager. It
doesn't do a whole lot, but what it 'does' do is track directory
%description -l pl.UTF-8
"git" może oznaczać cokolwiek, w zależności od nastroju.
- - losową kombinację trzech liter, która jest wymawialna i właściwie
- nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
- błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
- - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
- - "global information tracker" (narzędzie do globalnego śledzenia
- informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
- Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
- - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
- g*) - kiedy się zepsuje.
+- losową kombinację trzech liter, która jest wymawialna i właściwie
+ nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
+ błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
+- głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
+- "global information tracker" (narzędzie do globalnego śledzenia
+ informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
+ Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
+- "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
+ g*) - kiedy się zepsuje.
Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej.
Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
Summary: Header files for git-core
Summary(pl.UTF-8): Pliki nagłówkowe dla git-core
Group: Development/Libraries
+Requires: zlib-devel
%description devel
Header files for git-core.
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: tk
+Requires: xdg-utils
+Suggests: meld
%description gui
Displays changes in a repository or a selected set of commits. This
Summary(pl.UTF-8): Obsługa Subversion dla Git
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
+Requires: perl-Term-ReadKey
%description svn
Subversion support for Git.
%prep
%setup -q -n git-%{version}
+%patch0 -p1
+%patch1 -p0
%build
%{__aclocal}
%configure \
--with-openssl
+echo "BLK_SHA1=1" >> config.mak
+
%{__make} \
- BLK_SHA1=1 \
INSTALLDIRS=vendor \
GITWEB_CONFIG="%{webappdir}/gitweb.conf" \
GITWEB_PROJECTROOT="/var/lib/git" \
%if %{with tests}
%if %{without tests_cvs}
-rm t/t*cvs*.sh
+rm t/t*cvs*.sh || :
%endif
%{__make} test
%endif
%endif
# header files and lib
-install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
-install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
-install libgit.a $RPM_BUILD_ROOT%{_libdir}
-install xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
+cp -a *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
+cp -a libgit.a $RPM_BUILD_ROOT%{_libdir}
+cp -a xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
# bash completion
install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
# gitweb
install -p gitweb/gitweb.cgi $RPM_BUILD_ROOT%{cgibindir}
-cp -a gitweb/*.css gitweb/*.png $RPM_BUILD_ROOT%{appdir}
cp -a %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf
cp -a %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf
cp -a %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf
# remove unneeded files
rm $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README contrib
%attr(755,root,root) %{_bindir}/git
-%attr(755,root,root) %{_bindir}/git-*
+%attr(755,root,root) %{_bindir}/git-receive-pack
+%attr(755,root,root) %{_bindir}/git-shell
+%attr(755,root,root) %{_bindir}/git-upload-archive
+%attr(755,root,root) %{_bindir}/git-upload-pack
%if %{with doc}
%{_mandir}/man1/git-*.1*
%{_mandir}/man7/gitcore-tutorial.7*
%{_mandir}/man7/gitdiffcore.7*
%{_mandir}/man7/gitglossary.7*
+%{_mandir}/man7/gitrevisions.7*
%{_mandir}/man7/gittutorial-2.7*
%{_mandir}/man7/gittutorial.7*
%{_mandir}/man7/gitworkflows.7*
%files cvs
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/git-cvsserver
%attr(755,root,root) %{_libdir}/%{name}/git-cvs*
%if %{with doc}
%{_mandir}/man1/git-cvs*.1*
%files -n python-Git
%defattr(644,root,root,755)
-%{py_sitescriptdir}/git_remote_helpers*.egg-info
%dir %{py_sitescriptdir}/git_remote_helpers
%{py_sitescriptdir}/git_remote_helpers/*.py[co]
%dir %{py_sitescriptdir}/git_remote_helpers/git
%{py_sitescriptdir}/git_remote_helpers/git/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/git_remote_helpers*.egg-info
+%endif
%files -n vim-syntax-gitcommit
%defattr(644,root,root,755)