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