]>
Commit | Line | Data |
---|---|---|
82c927e1 | 1 | Summary: Stacked GIT |
c7c94292 | 2 | Summary(pl.UTF-8): GIT z operacjami na stosie |
82c927e1 | 3 | Name: stgit |
bff9db3c | 4 | Version: 0.14.3 |
25b70f01 | 5 | Release: 2 |
82c927e1 | 6 | License: GPL |
7 | Group: Applications | |
8 | Source0: http://homepage.ntlworld.com/cmarinas/stgit/%{name}-%{version}.tar.gz | |
bff9db3c | 9 | # Source0-md5: 84447155c0a86fae795928a581dc22bd |
82c927e1 | 10 | URL: http://www.procode.org/stgit/ |
6cd1fb84 | 11 | BuildRequires: git-core |
12 | BuildRequires: python-devel | |
13 | BuildRequires: rpm-pythonprov | |
82c927e1 | 14 | Requires: git-core |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | StGIT is a Python application providing similar functionality to Quilt | |
19 | (i.e. pushing/popping patches to/from a stack) on top of GIT. These | |
20 | operations are performed using GIT commands and the patches are stored | |
21 | as GIT commit objects, allowing easy merging of the StGIT patches into | |
22 | other repositories using standard GIT functionality. | |
23 | ||
af6da7bb JR |
24 | %description -l pl.UTF-8 |
25 | StGIT to aplikacja Pythona udostępniająca funkcjonalność podobną do | |
26 | Quilta (tzn. umieszczanie/pobieranie łat na/ze stosu) w oparciu o GIT. | |
27 | Operacje te są wykonywane przy użyciu poleceń GIT, a łaty są | |
28 | przechowywane jako obiekty commitów GIT, co pozwala na łatwe włączanie | |
29 | łat StGIT do innych repozytoriów przy użyciu standardowej | |
30 | funkcjonalności GIT. | |
bbb25ba5 | 31 | |
82c927e1 | 32 | %prep |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | CFLAGS="%{rpmcflags}" | |
37 | export CFLAGS | |
38 | python setup.py build | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}} | |
43 | ||
44 | python setup.py install \ | |
45 | --root=$RPM_BUILD_ROOT \ | |
46 | --optimize=2 | |
47 | ||
48 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/*.py | |
49 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/commands/*.py | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS ChangeLog README TODO | |
57 | %attr(755,root,root) %{_bindir}/* | |
58 | %dir %{py_sitescriptdir}/%{name} | |
59 | %dir %{py_sitescriptdir}/%{name}/commands | |
60 | %{py_sitescriptdir}/%{name}/*.py[co] | |
61 | %{py_sitescriptdir}/%{name}/commands/*.py[co] | |
62 | %{_datadir}/%{name} |