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