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