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