X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=git-core.spec;h=931a5e7c900796c958f95f45d3f907e231d94213;hb=8e9a3fa2ac9a7a9a8c13558fde23983386e060fe;hp=7f7cf949e28fe6190dfee085e7314cedfe19ec86;hpb=778b89a7e152c40f632b8a2478b7594c4750f10c;p=packages%2Fgit-core.git diff --git a/git-core.spec b/git-core.spec index 7f7cf94..931a5e7 100644 --- a/git-core.spec +++ b/git-core.spec @@ -8,17 +8,19 @@ 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 @@ -28,6 +30,7 @@ BuildRequires: gettext-devel 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 @@ -69,14 +72,14 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 @@ -85,15 +88,15 @@ contents efficiently. %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 @@ -156,6 +159,7 @@ do uruchomienia git-daemona w trybie usługi samodzielnej. 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. @@ -225,6 +229,8 @@ Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git 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 @@ -250,6 +256,7 @@ Summary: Subversion support for Git 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. @@ -348,6 +355,8 @@ Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita. %prep %setup -q -n git-%{version} +%patch0 -p1 +%patch1 -p0 %build %{__aclocal} @@ -355,8 +364,9 @@ Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita. %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" \ @@ -369,7 +379,7 @@ Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita. %if %{with tests} %if %{without tests_cvs} -rm t/t*cvs*.sh +rm t/t*cvs*.sh || : %endif %{__make} test %endif @@ -390,10 +400,11 @@ install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d} %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 @@ -417,7 +428,6 @@ EOF # 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 @@ -443,6 +453,7 @@ ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-upload-pack # 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 @@ -481,7 +492,10 @@ fi %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* @@ -497,6 +511,7 @@ fi %{_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* @@ -601,6 +616,7 @@ fi %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* @@ -632,11 +648,13 @@ fi %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)