%bcond_with tests_svn # perform tests which use subversion
%bcond_without doc # skip building/packaging docs/manuals (takes some time)
-%define _rc rc2
-
%include /usr/lib/rpm/macros.perl
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: 1.7.12
-Release: 0.%{_rc}.1
+Version: 1.7.12.4
+Release: 1
License: GPL v2
Group: Development/Tools
-Source0: http://git-core.googlecode.com/files/git-%{version}.%{_rc}.tar.gz
-# Source0-md5: f4cef016edd1cbaa86762e26e229a7f3
+Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz
+# Source0-md5: 5f3f0feb59d96f8106e0a56112bc73db
Source1: %{name}-gitweb.conf
Source2: %{name}-gitweb-httpd.conf
Source3: %{name}-gitweb-lighttpd.conf
Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita.
%prep
-%setup -q -n git-%{version}.%{_rc}
+%setup -q -n git-%{version}
%patch0 -p1
%patch1 -p0
%patch2 -p1
%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
%py_postclean
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+mv $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
%find_lang git
%clean
%if %{with doc}
%{_mandir}/man1/git-*.1*
+%exclude %{_mandir}/man1/git-archimport.1*
%exclude %{_mandir}/man1/git-svn.1*
%exclude %{_mandir}/man1/git-cvs*.1*
+%exclude %{_mandir}/man1/*email*.1*
%exclude %{_mandir}/man1/git-remote-helpers.1*
%{_mandir}/man1/git.1*
%{_mandir}/man5/gitattributes.5*