X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=git-core.spec;h=fa841246862b82a0abff457a6a93734c51b28b87;hb=ac9fc9d6dfb37b77b047684f4784a3eef6cb9f51;hp=f875f29a981c70bf3a9b036357054b887ce5cbb5;hpb=c751087dd431196e2488e64a8fa896a18a3d3db6;p=packages%2Fgit-core.git diff --git a/git-core.spec b/git-core.spec index f875f29..fa84124 100644 --- a/git-core.spec +++ b/git-core.spec @@ -1,18 +1,20 @@ -# TODO: documentation Summary: The stupid content tracker Summary(pl): Prymitywne narzêdzie do ¶ledzenia tre¶ci Name: git-core -Version: 0.99.8 -Release: 0.1 -Epoch: 0 +Version: 1.4.1.1 +Release: 1 License: GPL v2 Group: Development/Tools -Source0: http://www.kernel.org/pub/software/scm/git/%{name}-%{version}.tar.bz2 -# Source0-md5: 0fb209de06352923b66ef1ca50e1b3b7 +Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2 +# Source0-md5: cde57291a326b958802e453b48a0e0bf +URL: http://git.or.cz/ +BuildRequires: asciidoc BuildRequires: curl-devel +BuildRequires: expat-devel BuildRequires: openssl-devel BuildRequires: perl-base BuildRequires: python +BuildRequires: xmlto BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -50,16 +52,28 @@ Nie robi wiele, ale to, co "robi", to wydajne katalogu. %prep -%setup -q +%setup -q -n git-%{version} + +%build %{__make} \ + prefix=%{_prefix} \ + CC="%{__cc}" \ CFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" +%{__make} -C Documentation + %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - prefix=/usr \ + prefix=%{_prefix} \ + CFLAGS="%{rpmcflags}" \ + DESTDIR=$RPM_BUILD_ROOT + +%{__make} -C Documentation install \ + prefix=%{_prefix} \ + mandir=%{_mandir} \ DESTDIR=$RPM_BUILD_ROOT %clean @@ -67,7 +81,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README +%doc README Documentation/*.html Documentation/howto Documentation/technical %attr(755,root,root) %{_bindir}/* +%{_mandir}/man*/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/*