]>
Commit | Line | Data |
---|---|---|
adc7c6ff | 1 | %define ver 2.1 |
0e60cbcc | 2 | %define minor 0 |
e0976cad AM |
3 | Summary: A collection of utilities and plugins for Bazaar |
4 | Summary(pl.UTF-8): Zbiór narzędzi i wtyczek dla programu Bazaar | |
9441821a | 5 | Name: bzrtools |
62ed092c | 6 | Version: %{ver}.%{minor} |
2b8001d5 | 7 | Release: 2 |
9441821a ER |
8 | License: GPL v2 |
9 | Group: Development/Version Control | |
adc7c6ff AF |
10 | Source0: http://code.launchpad.net/bzrtools/trunk/%{version}/+download/%{name}-%{version}.tar.gz |
11 | # Source0-md5: eb4e6eec259d1e9222c0e73318719515 | |
9441821a | 12 | URL: http://bazaar-vcs.org/BzrTools |
62ed092c | 13 | BuildRequires: python-devel >= 1:2.4 |
04b909bc | 14 | BuildRequires: python-modules |
15 | BuildRequires: rpm-pythonprov | |
9441821a | 16 | BuildRequires: rpmbuild(macros) >= 1.219 |
5b090d14 | 17 | %pyrequires_eq python |
62ed092c | 18 | Requires: bzr >= %{ver} |
9441821a ER |
19 | Requires: diffutils |
20 | Requires: graphviz >= 2.6 | |
21 | Requires: librsvg | |
22 | Requires: patch | |
23 | Requires: rsync >= 2.6.6 | |
9441821a | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5b090d14 | 25 | |
26 | %description | |
e0976cad | 27 | BzrTools is a collection of plugins for Bazaar (bzr). Among the |
9441821a ER |
28 | included plugins are: |
29 | - push - uses rsync to push local changes to a remote server | |
30 | - annotate - prints a file annotated with the revision next to each | |
31 | line | |
32 | - shelve/unshelve - allows you to undo some changes, commit, and | |
33 | restore | |
34 | - clean-tree - remove unknown, ignored-junk, or unversioned files from | |
35 | the tree | |
36 | - graph-ancestry - use dot to produce branch ancestry graphs | |
37 | - shell - a bzr command interpreter with command completion | |
38 | - patch - apply a patch to your tree from a file or URL | |
5b090d14 | 39 | |
c23f3123 | 40 | %description -l pl.UTF-8 |
e0976cad | 41 | BZrTools to zestaw wtyczek do programu Bazaar (bzr). Zestaw zawiera |
c23f3123 JR |
42 | następujące narzędzia: |
43 | - push - używa programu rsync do wysłania lokalnych zmian na zdalny | |
9441821a | 44 | serwer |
04b909bc | 45 | - annotate - wyświetla przypisy odnośnie rewizji w każdej linii pliku |
c23f3123 JR |
46 | - shelve/unshelve - pozwala na powrót do wcześniejszych zmian, |
47 | zatwierdzenia zmian i przywrócenia stanu sprzed dokonania zmian | |
9441821a | 48 | - clean-tree - usuwa nieznane, ignorowane pliki z projektu |
c23f3123 | 49 | - graph-ancestry - graficzne przedstawienie rodowodu plików w |
9441821a | 50 | projekcie |
c23f3123 JR |
51 | - shell - interpreter poleceń bzr z dopełnianiem poleceń |
52 | - patch - pozwala na nakładanie łat z pliku lub adresu URL | |
5b090d14 | 53 | |
54 | %prep | |
55 | %setup -q -n %{name} | |
56 | ||
57 | %build | |
9441821a | 58 | %{__python} setup.py build |
5b090d14 | 59 | |
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
9441821a | 62 | %{__python} setup.py install \ |
4d418429 | 63 | --install-purelib %{py_sitedir} \ |
9441821a ER |
64 | --optimize=2 \ |
65 | --root=$RPM_BUILD_ROOT | |
5b090d14 | 66 | |
67 | %py_postclean | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc NEWS NEWS.Shelf README README.Shelf TODO TODO.Shelf CREDITS | |
4d418429 | 75 | %{py_sitedir}/bzrlib/plugins/bzrtools |
adc7c6ff | 76 | %{py_sitedir}/*.egg-info |