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