]> git.pld-linux.org Git - SPECS.git/blob - stgit.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / stgit.spec
1 Summary:        Stacked GIT
2 Summary(pl.UTF-8):      GIT z operacjami na stosie
3 Name:           stgit
4 Version:        0.14.3
5 Release:        2
6 License:        GPL
7 Group:          Applications
8 Source0:        http://homepage.ntlworld.com/cmarinas/stgit/%{name}-%{version}.tar.gz
9 # Source0-md5:  84447155c0a86fae795928a581dc22bd
10 URL:            http://www.procode.org/stgit/
11 BuildRequires:  git-core
12 BuildRequires:  python-devel
13 BuildRequires:  rpm-pythonprov
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
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.
31
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}
This page took 0.808015 seconds and 3 git commands to generate.