# TODO: # - gitweb subpackage # - gitk subpackage? %include /usr/lib/rpm/macros.perl Summary: The stupid content tracker Summary(pl): Prymitywne narzędzie do śledzenia treści Name: git-core Version: 1.4.4.2 Release: 1 License: GPL v2 Group: Development/Tools Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2 # Source0-md5: c4f72d96f62ae97c6e8d5cdb4afd55ca 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: rcs Requires: sed Requires: tk 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 "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): Pliki nagłówkowe dla git-core Group: Development/Libraries %description devel Header files for git-core. %description devel Pliki nagłówkowe dla git-core. %package -n perl-Git Summary: Perl interface to the Git version control system Summary(pl): 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 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 # once again to get perl paths stright cd perl rm -f Makefile %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} cd .. %{__make} -C Documentation %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff %{__make} install \ 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/*.html Documentation/howto Documentation/technical %attr(755,root,root) %{_bindir}/* %{_mandir}/man*/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %files devel %defattr(644,root,root,755) %{_includedir}/* %files -n perl-Git %defattr(644,root,root,755) %{perl_vendorlib}/Git.pm %{_mandir}/man3/*