Summary: Distributed version control system focused on speed, effectivity and usability
Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
Name: git-core
-Version: 2.7.1
-Release: 2
+Version: 2.8.0
+Release: 1
License: GPL v2
Group: Development/Tools
-Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.gz
-# Source0-md5: 846ac45a1638e9a6ff3a9b790f6c8d99
+Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
+# Source0-md5: 01477f0b97ccab20b986f2808f4d7a97
Source1: %{name}-gitweb.conf
Source2: %{name}-gitweb-httpd.conf
Source3: %{name}-gitweb-lighttpd.conf
Patch2: %{name}-sysconfdir.patch
Patch3: cherry-picked-commitlog.patch
Patch4: %{name}-svn-exit-errors.patch
-Patch5: %{name}-test-grep.patch
URL: http://git-scm.com/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%define webappdir %{_sysconfdir}/webapps/%{webapp}
%define appdir %{_datadir}/%{webapp}
%define cgibindir %{_prefix}/lib/cgi-bin
-%define gitcoredir %{_libdir}/%{name}
+%define gitcoredir %{_prefix}/lib/%{name}
+%define _libexecdir %{_prefix}/lib
%description
"git" can mean anything, depending on your mood.
Provides: git-core-daemon
Obsoletes: git-core-daemon
Obsoletes: git-core-daemon-standalone
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description daemon-inetd
Git-daemon is a really simple TCP git daemon that can serve git
Provides: git-core-daemon
Obsoletes: git-core-daemon
Obsoletes: git-core-daemon-inetd
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description daemon-standalone
Git-daemon is a really simple TCP git daemon that can serve git
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: tk
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description gitk
gitk displays changes in a repository or a selected set of commits.
Requires: webserver(alias)
Requires: webserver(cgi)
Suggests: webserver(setenv)
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description gitweb
This package provides a web interface for browsing git repositories.
Requires: python-pygobject
Requires: python-pygtk-gtk >= 2:2.8
Suggests: python-gnome-desktop-gtksourceview
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description gitview
A GTK+ based repository browser for git.
Requires: tk
Requires: xdg-utils
Suggests: meld
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description gui
Displays changes in a repository or a selected set of commits. This
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: tla
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description arch
Git tools for importing Arch repositories.
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: bzr
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description bzr
Git tools for working with bzr repositories.
Requires: %{name} = %{version}-%{release}
Requires: cvsps >= 2.1-2
Requires: rcs
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description cvs
CVS support for Git.
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: mercurial >= 1.8
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description hg
Git tools for working with mercurial repositories.
Summary(pl.UTF-8): Narzędzia Gita do pracy z magazynami Perforce'a
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description p4
Git tools for working with Perforce depots.
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p0
%{__rm} {Documentation/technical,contrib/emacs,contrib/credential/gnome-keyring}/.gitignore
install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
# paths cleanup
-sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
-sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
+sed -e 's,@libdir@/git-core,%{gitcoredir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
+sed -e 's,@libdir@/git-core,%{gitcoredir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
# hardlink
ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-receive-pack}
%files -f git.lang
%defattr(644,root,root,755)
-%doc README contrib-doc
+%doc README.md contrib-doc
%attr(755,root,root) %{_bindir}/git
%attr(755,root,root) %{_bindir}/git-receive-pack
%attr(755,root,root) %{_bindir}/git-shell