]>
Commit | Line | Data |
---|---|---|
247b8ef4 AM |
1 | # TODO: |
2 | # - gitweb subpackage | |
11856720 | 3 | # - gitk subpackage? |
89a476f8 | 4 | %include /usr/lib/rpm/macros.perl |
51c3b977 | 5 | Summary: The stupid content tracker |
ea061c99 | 6 | Summary(pl.UTF-8): Prymitywne narzędzie do śledzenia treści |
51c3b977 | 7 | Name: git-core |
9566971e | 8 | Version: 1.4.4.4 |
ab69fe7d | 9 | Release: 1 |
51c3b977 | 10 | License: GPL v2 |
11 | Group: Development/Tools | |
bf83806a | 12 | Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2 |
9566971e | 13 | # Source0-md5: 970aceba959e7fe92f065d7509e6db51 |
b69112f7 | 14 | Patch0: %{name}-build.patch |
508ade43 | 15 | URL: http://git.or.cz/ |
7fdeb28c | 16 | BuildRequires: asciidoc |
11856720 AM |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
51c3b977 | 19 | BuildRequires: curl-devel |
115484e9 | 20 | BuildRequires: expat-devel |
51c3b977 | 21 | BuildRequires: openssl-devel |
27b79a12 | 22 | BuildRequires: perl-Error |
51c3b977 | 23 | BuildRequires: perl-base |
24 | BuildRequires: python | |
89a476f8 | 25 | BuildRequires: rpm-perlprov >= 4.1-13 |
7fdeb28c | 26 | BuildRequires: xmlto |
51c3b977 | 27 | BuildRequires: zlib-devel |
3f245fc5 | 28 | Requires: coreutils |
11856720 AM |
29 | Requires: curl |
30 | Requires: diffutils | |
3f245fc5 AM |
31 | Requires: findutils |
32 | Requires: grep | |
11856720 | 33 | Requires: openssh-clients |
401f46f5 | 34 | Requires: rcs |
3f245fc5 | 35 | Requires: sed |
11856720 | 36 | Requires: tk |
51c3b977 | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
39 | %description | |
40 | "git" can mean anything, depending on your mood. | |
41 | ||
42 | - random three-letter combination that is pronounceable, and not | |
c751087d | 43 | actually used by any common UNIX command. The fact that it is a |
51c3b977 | 44 | mispronunciation of "get" may or may not be relevant. |
45 | - stupid. contemptible and despicable. simple. Take your pick from the | |
46 | dictionary of slang. | |
47 | - "global information tracker": you're in a good mood, and it actually | |
48 | works for you. Angels sing, and a light suddenly fills the room. | |
49 | - "goddamn idiotic truckload of sh*t": when it breaks | |
50 | ||
c751087d | 51 | This is a stupid (but extremely fast) directory content manager. It |
51c3b977 | 52 | doesn't do a whole lot, but what it 'does' do is track directory |
53 | contents efficiently. | |
54 | ||
ea061c99 JR |
55 | %description -l pl.UTF-8 |
56 | "git" może oznaczać cokolwiek, w zależności od nastroju. | |
57 | ||
58 | - losową kombinację trzech liter, która jest wymawialna i właściwie | |
59 | nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to | |
60 | błędna pisownia słowa "get" może mieć lub nie mieć znaczenia. | |
61 | - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu. | |
62 | - "global information tracker" (narzędzie do globalnego śledzenia | |
63 | informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa. | |
64 | Anioły śpiewają, a światło niespodziewanie wypełnia pokój. | |
65 | - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek | |
66 | g*) - kiedy się zepsuje. | |
67 | ||
68 | Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej. | |
69 | Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości | |
c751087d JB |
70 | katalogu. |
71 | ||
e3cefa79 | 72 | %package devel |
66a7f095 | 73 | Summary: Header files for git-core |
ea061c99 | 74 | Summary(pl.UTF-8): Pliki nagłówkowe dla git-core |
66a7f095 | 75 | Group: Development/Libraries |
e3cefa79 | 76 | |
77 | %description devel | |
66a7f095 | 78 | Header files for git-core. |
79 | ||
ea061c99 JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe dla git-core. | |
e3cefa79 | 82 | |
3dc01deb | 83 | %package -n perl-Git |
5d7220ad | 84 | Summary: Perl interface to the Git version control system |
ea061c99 | 85 | Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git |
5d7220ad AM |
86 | Group: Development/Languages/Perl |
87 | Requires: %{name} = %{version}-%{release} | |
27b79a12 | 88 | Obsoletes: perl-git-core |
5d7220ad | 89 | |
3dc01deb | 90 | %description -n perl-Git |
5d7220ad AM |
91 | This module provides Perl scripts easy way to interface the Git |
92 | version control system. The modules have an easy and well-tested way | |
93 | to call arbitrary Git commands; in the future, the interface will also | |
94 | provide specialized methods for doing easily operations which are not | |
95 | totally trivial to do over the generic command interface. | |
96 | ||
ea061c99 JR |
97 | %description -n perl-Git -l pl.UTF-8 |
98 | Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli | |
99 | wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać | |
100 | dowolne polecenia Gita; w przyszłości interfejs udostępni także | |
101 | specjalne metody do łatwego wykonywania operacji nietrywialnych do | |
102 | wykonania przy użyciu ogólnego interfejsu poleceń. | |
7eef96e1 | 103 | |
51c3b977 | 104 | %prep |
bf83806a | 105 | %setup -q -n git-%{version} |
b69112f7 | 106 | %patch0 -p1 |
a1036d06 | 107 | |
108 | %build | |
11856720 AM |
109 | %{__aclocal} |
110 | %{__autoconf} | |
111 | %configure \ | |
112 | --with-openssl | |
51c3b977 | 113 | |
b69112f7 | 114 | %{__make} \ |
27b79a12 | 115 | INSTALLDIRS=vendor |
27b79a12 | 116 | |
7fdeb28c | 117 | %{__make} -C Documentation |
118 | ||
51c3b977 | 119 | %install |
120 | rm -rf $RPM_BUILD_ROOT | |
e3cefa79 | 121 | install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff |
c751087d | 122 | |
51c3b977 | 123 | %{__make} install \ |
51c3b977 | 124 | DESTDIR=$RPM_BUILD_ROOT |
125 | ||
7fdeb28c | 126 | %{__make} -C Documentation install \ |
7fdeb28c | 127 | DESTDIR=$RPM_BUILD_ROOT |
128 | ||
e3cefa79 | 129 | install *.h $RPM_BUILD_ROOT%{_includedir}/%{name} |
130 | install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff | |
131 | ||
27b79a12 ER |
132 | rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
133 | rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist | |
134 | ||
51c3b977 | 135 | %clean |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | %files | |
139 | %defattr(644,root,root,755) | |
7fdeb28c | 140 | %doc README Documentation/*.html Documentation/howto Documentation/technical |
51c3b977 | 141 | %attr(755,root,root) %{_bindir}/* |
7fdeb28c | 142 | %{_mandir}/man*/* |
51c3b977 | 143 | %dir %{_datadir}/%{name} |
144 | %{_datadir}/%{name}/* | |
e3cefa79 | 145 | |
146 | %files devel | |
3ff86e9e | 147 | %defattr(644,root,root,755) |
e3cefa79 | 148 | %{_includedir}/* |
5d7220ad | 149 | |
3dc01deb | 150 | %files -n perl-Git |
5d7220ad | 151 | %defattr(644,root,root,755) |
3dc01deb | 152 | %{perl_vendorlib}/Git.pm |
5d7220ad | 153 | %{_mandir}/man3/* |