X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=git-core.spec;h=03bdb9011c2de3c001dbe2d702a08af2e8604b16;hb=8ce45cecd69aec45857c13326772dd0c28a27378;hp=e03ec60207eeb8399ef9af09693214f40e56da09;hpb=912e94f86f44526c63f619a1b36d9914f2d67dbb;p=packages%2Fgit-core.git diff --git a/git-core.spec b/git-core.spec index e03ec60..03bdb90 100644 --- a/git-core.spec +++ b/git-core.spec @@ -2,21 +2,19 @@ # Conditional build: %bcond_without tests # don't perform make test %bcond_with tests_cvs # perform tests which use CVS -%bcond_with tests_svn # perform tests which use subversion +%bcond_without tests_svn # perform tests which use subversion %bcond_without doc # skip building/packaging docs/manuals (takes some time) -%define _rc rc0 - %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.8.0 -Release: 0.%{_rc}.1 +Version: 1.8.1.4 +Release: 1 License: GPL v2 Group: Development/Tools -Source0: http://git-core.googlecode.com/files/git-%{version}.%{_rc}.tar.gz -# Source0-md5: c0c1eb2d8ffcf77c89b12f210c147322 +Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz +# Source0-md5: 60f32ef4a6b3fa2143b81a28704333ed Source1: %{name}-gitweb.conf Source2: %{name}-gitweb-httpd.conf Source3: %{name}-gitweb-lighttpd.conf @@ -26,6 +24,7 @@ Source6: %{name}.init Patch0: %{name}-tests.patch Patch1: %{name}-key-bindings.patch Patch2: %{name}-sysconfdir.patch +Patch3: cherry-picked-commitlog.patch URL: http://git-scm.com/ BuildRequires: autoconf >= 2.59 BuildRequires: automake @@ -52,6 +51,7 @@ BuildRequires: xmlto BuildRequires: cvs-gnu-client < 1.13 BuildRequires: cvs-gnu-client >= 1.12 %endif +%{?with_tests_svn:BuildRequires: subversion} Conflicts: pdksh < 5.2.14-46 %endif Requires: coreutils @@ -163,16 +163,16 @@ udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne do uruchomienia git-daemona w trybie usługi samodzielnej. %package devel -Summary: Header files for git-core -Summary(pl.UTF-8): Pliki nagłówkowe dla git-core +Summary: Git library with header files +Summary(pl.UTF-8): Biblioteka Gita oraz pliki nagłówkowe Group: Development/Libraries Requires: zlib-devel %description devel -Header files for git-core. +Git library with header files. %description devel -l pl.UTF-8 -Pliki nagłówkowe dla git-core. +Biblioteka Gita oraz pliki nagłówkowe. %package gitk Summary: Tcl/Tk interface to the Git version control system @@ -376,10 +376,11 @@ This plugin provides syntax highlighting for git's commit messages. 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 +%patch3 -p1 %build %{__aclocal} @@ -399,11 +400,15 @@ echo "BLK_SHA1=1" >> config.mak GITWEB_FAVICON="/gitweb/git-favicon.png" \ V=1 -%{?with_doc:%{__make} -C Documentation V=1} +%if %{with doc} +%{__make} -C Documentation \ + MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \ + V=1 +%endif %if %{with tests} %if %{without tests_cvs} -rm t/t*cvs*.sh || : +%{__rm} t/t*cvs*.sh || : %endif %{!?with_tests_svn:GIT_SKIP_TESTS='t91??'} %{__make} test %endif