# TODO: # - gitweb subpackage # # Conditional build: %bcond_without tests # don't perform make test # %include /usr/lib/rpm/macros.perl Summary: The stupid content tracker Summary(pl.UTF-8): Prymitywne narzędzie do śledzenia treści Name: git-core Version: 1.5.2.2 Release: 2 License: GPL v2 Group: Development/Tools Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2 # Source0-md5: 846940654b703ec5c8de4ee388cb4d08 URL: http://git.or.cz/ BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake BuildRequires: curl-devel BuildRequires: expat-devel BuildRequires: openssl-devel BuildRequires: perl-Error BuildRequires: perl-base BuildRequires: python BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: xmlto BuildRequires: zlib-devel Requires: coreutils Requires: curl Requires: diffutils Requires: findutils Requires: grep Requires: openssh-clients Requires: perl-Error Requires: rcs Requires: sed 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 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 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. Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej. Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości katalogu. %package devel Summary: Header files for git-core Summary(pl.UTF-8): Pliki nagłówkowe dla git-core Group: Development/Libraries %description devel Header files for git-core. %description devel -l pl.UTF-8 Pliki nagłówkowe dla git-core. %package gitk Summary: Tcl/Tk interface to the Git version control system Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git Group: Development/Tools Requires: %{name} = %{version}-%{release} Requires: tk %description gitk Displays changes in a repository or a selected set of commits. This includes visualizing the commit graph, showing information related to each commit, and the files in the trees of each revision. Historically, gitk was the first repository browser. It's written in Tcl/Tk and started off in a separate repository but was later merged into the main git repository. %description gitk -l pl.UTF-8 Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza to wizualizację grafu commitów, wyświetlanie informacji związanych z każdym z commitów oraz listę plików dla każdej rewizji. Z punktu widzenia historii, gitk był pierwszą przeglądarką repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w osobnym repozytorium, ale z czasem został włączony do głównego repozytorium git. %package -n perl-Git Summary: Perl interface to the Git version control system Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git Group: Development/Languages/Perl Requires: %{name} = %{version}-%{release} Obsoletes: perl-git-core %description -n perl-Git This module provides Perl scripts easy way to interface the Git version control system. The modules have an easy and well-tested way to call arbitrary Git commands; in the future, the interface will also provide specialized methods for doing easily operations which are not totally trivial to do over the generic command interface. %description -n perl-Git -l pl.UTF-8 Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać dowolne polecenia Gita; w przyszłości interfejs udostępni także specjalne metody do łatwego wykonywania operacji nietrywialnych do wykonania przy użyciu ogólnego interfejsu poleceń. %prep %setup -q -n git-%{version} %build %{__aclocal} %{__autoconf} %configure \ --with-openssl %{__make} \ INSTALLDIRS=vendor %{__make} -C Documentation %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff %{__make} install \ INSTALLDIRS=vendor \ DESTDIR=$RPM_BUILD_ROOT %{__make} -C Documentation install \ DESTDIR=$RPM_BUILD_ROOT install *.h $RPM_BUILD_ROOT%{_includedir}/%{name} install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README Documentation/{[!g]*,g[!i]*,git,git[!k]*}.html Documentation/howto Documentation/technical %attr(755,root,root) %{_bindir}/* %{_mandir}/man*/* %{_datadir}/%{name} %{_datadir}/git-gui %exclude %{_bindir}/gitk %exclude %{_mandir}/man1/gitk.1* %files devel %defattr(644,root,root,755) %{_includedir}/* %files gitk %defattr(644,root,root,755) %doc Documentation/gitk.html %attr(755,root,root) %{_bindir}/gitk %{_mandir}/man1/gitk.1* %files -n perl-Git %defattr(644,root,root,755) %{perl_vendorlib}/Git.pm %{_mandir}/man3/*