1 %include /usr/lib/rpm/macros.perl
2 Summary: The stupid content tracker
3 Summary(pl): Prymitywne narzêdzie do ¶ledzenia tre¶ci
8 Group: Development/Tools
9 Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
10 # Source0-md5: 5114c6b58329f3574697a595774df7d0
11 URL: http://git.or.cz/
12 BuildRequires: asciidoc
13 BuildRequires: curl-devel
14 BuildRequires: expat-devel
15 BuildRequires: openssl-devel
16 BuildRequires: perl-Error
17 BuildRequires: perl-base
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 "git" can mean anything, depending on your mood.
27 - random three-letter combination that is pronounceable, and not
28 actually used by any common UNIX command. The fact that it is a
29 mispronunciation of "get" may or may not be relevant.
30 - stupid. contemptible and despicable. simple. Take your pick from the
32 - "global information tracker": you're in a good mood, and it actually
33 works for you. Angels sing, and a light suddenly fills the room.
34 - "goddamn idiotic truckload of sh*t": when it breaks
36 This is a stupid (but extremely fast) directory content manager. It
37 doesn't do a whole lot, but what it 'does' do is track directory
41 "git" mo¿e oznaczaæ cokolwiek, w zale¿no¶ci od nastroju.
43 - losow± kombinacjê trzech liter, która jest wymawialna i w³a¶ciwie
44 nie u¿ywana przez ¿adne popularne polecenie uniksowe. Fakt, ¿e jest to
45 b³êdna pisownia s³owa "get" mo¿e mieæ lub nie mieæ znaczenia.
46 - g³upi, pogardliwy, prosty. Mo¿na wybraæ ze s³ownika slangu.
47 - "global information tracker" (narzêdzie do globalnego ¶ledzenia
48 informacji) - je¶li jeste¶my w dobrym nastroju i git akurat dzia³a.
49 Anio³y ¶piewaj±, a ¶wiat³o niespodziewanie wype³nia pokój.
50 - "goddamn idiotic truckload of sh*t" (przeklêty idiotyczny ³adunek
51 g*) - kiedy siê zepsuje.
53 Jest to prymitywny (ale bardzo szybki) zarz±dca tre¶ci s³ownikowej.
54 Nie robi wiele, ale to, co "robi", to wydajne ¶ledzenie zawarto¶ci
58 Summary: Header files for git-core
59 Summary(pl): Pliki nag³ówkowe dla git-core
60 Group: Development/Libraries
63 Header files for git-core.
66 Pliki nag³ówkowe dla git-core.
68 %package -n perl-Git-Core
69 Summary: Perl interface to the Git version control system
70 Group: Development/Languages/Perl
71 Requires: %{name} = %{version}-%{release}
72 Obsoletes: perl-git-core
74 %description -n perl-Git-Core
75 This module provides Perl scripts easy way to interface the Git
76 version control system. The modules have an easy and well-tested way
77 to call arbitrary Git commands; in the future, the interface will also
78 provide specialized methods for doing easily operations which are not
79 totally trivial to do over the generic command interface.
82 %setup -q -n git-%{version}
88 CFLAGS="%{rpmcflags}" \
89 LDFLAGS="%{rpmldflags}"
91 # once again to get perl paths stright
93 %{__perl} Makefile.PL \
98 %{__make} -C Documentation
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
106 CFLAGS="%{rpmcflags}" \
107 DESTDIR=$RPM_BUILD_ROOT
109 %{__make} -C Documentation install \
112 DESTDIR=$RPM_BUILD_ROOT
114 install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
115 install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
117 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
118 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
125 %doc README Documentation/*.html Documentation/howto Documentation/technical
126 %attr(755,root,root) %{_bindir}/*
128 %dir %{_datadir}/%{name}
129 %{_datadir}/%{name}/*
132 %defattr(644,root,root,755)
135 %files -n perl-Git-Core
136 %defattr(644,root,root,755)
137 %{perl_vendorlib}/*.pm