3 %include /usr/lib/rpm/macros.perl
4 Summary: The stupid content tracker
5 Summary(pl): Prymitywne narzêdzie do ¶ledzenia tre¶ci
10 Group: Development/Tools
11 Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
12 # Source0-md5: c4f72d96f62ae97c6e8d5cdb4afd55ca
13 URL: http://git.or.cz/
14 BuildRequires: asciidoc
15 BuildRequires: curl-devel
16 BuildRequires: expat-devel
17 BuildRequires: openssl-devel
18 BuildRequires: perl-Error
19 BuildRequires: perl-base
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: zlib-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 "git" can mean anything, depending on your mood.
33 - random three-letter combination that is pronounceable, and not
34 actually used by any common UNIX command. The fact that it is a
35 mispronunciation of "get" may or may not be relevant.
36 - stupid. contemptible and despicable. simple. Take your pick from the
38 - "global information tracker": you're in a good mood, and it actually
39 works for you. Angels sing, and a light suddenly fills the room.
40 - "goddamn idiotic truckload of sh*t": when it breaks
42 This is a stupid (but extremely fast) directory content manager. It
43 doesn't do a whole lot, but what it 'does' do is track directory
47 "git" mo¿e oznaczaæ cokolwiek, w zale¿no¶ci od nastroju.
49 - losow± kombinacjê trzech liter, która jest wymawialna i w³a¶ciwie
50 nie u¿ywana przez ¿adne popularne polecenie uniksowe. Fakt, ¿e jest to
51 b³êdna pisownia s³owa "get" mo¿e mieæ lub nie mieæ znaczenia.
52 - g³upi, pogardliwy, prosty. Mo¿na wybraæ ze s³ownika slangu.
53 - "global information tracker" (narzêdzie do globalnego ¶ledzenia
54 informacji) - je¶li jeste¶my w dobrym nastroju i git akurat dzia³a.
55 Anio³y ¶piewaj±, a ¶wiat³o niespodziewanie wype³nia pokój.
56 - "goddamn idiotic truckload of sh*t" (przeklêty idiotyczny ³adunek
57 g*) - kiedy siê zepsuje.
59 Jest to prymitywny (ale bardzo szybki) zarz±dca tre¶ci s³ownikowej.
60 Nie robi wiele, ale to, co "robi", to wydajne ¶ledzenie zawarto¶ci
64 Summary: Header files for git-core
65 Summary(pl): Pliki nag³ówkowe dla git-core
66 Group: Development/Libraries
69 Header files for git-core.
72 Pliki nag³ówkowe dla git-core.
75 Summary: Perl interface to the Git version control system
76 Summary(pl): Perlowy interfejs do systemu kontroli wersji Git
77 Group: Development/Languages/Perl
78 Requires: %{name} = %{version}-%{release}
79 Obsoletes: perl-git-core
81 %description -n perl-Git
82 This module provides Perl scripts easy way to interface the Git
83 version control system. The modules have an easy and well-tested way
84 to call arbitrary Git commands; in the future, the interface will also
85 provide specialized methods for doing easily operations which are not
86 totally trivial to do over the generic command interface.
88 %description -n perl-Git -l pl
89 Ten modu³ umo¿liwia skryptom Perla wspó³pracê z systemem kontroli
90 wersji Git. W ³atwy i dobrze przetestowany sposób pozwala wywo³ywaæ
91 dowolne polecenia Gita; w przysz³o¶ci interfejs udostêpni tak¿e
92 specjalne metody do ³atwego wykonywania operacji nietrywialnych do
93 wykonania przy u¿yciu ogólnego interfejsu poleceñ.
96 %setup -q -n git-%{version}
102 CFLAGS="%{rpmcflags}" \
103 LDFLAGS="%{rpmldflags}"
105 # once again to get perl paths stright
107 %{__perl} Makefile.PL \
112 %{__make} -C Documentation
115 rm -rf $RPM_BUILD_ROOT
116 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
120 CFLAGS="%{rpmcflags}" \
121 DESTDIR=$RPM_BUILD_ROOT
123 %{__make} -C Documentation install \
126 DESTDIR=$RPM_BUILD_ROOT
128 install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
129 install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
131 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
132 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
135 rm -rf $RPM_BUILD_ROOT
138 %defattr(644,root,root,755)
139 %doc README Documentation/*.html Documentation/howto Documentation/technical
140 %attr(755,root,root) %{_bindir}/*
142 %dir %{_datadir}/%{name}
143 %{_datadir}/%{name}/*
146 %defattr(644,root,root,755)
150 %defattr(644,root,root,755)
151 %{perl_vendorlib}/Git.pm