]> git.pld-linux.org Git - packages/bzr.git/blob - bzr.spec
- initial pld release
[packages/bzr.git] / bzr.spec
1 %bcond_with     tests
2 Summary:        Bazaar-NG is a changeset oriented revision control system
3 Name:           bzr
4 Version:        0.0.7
5 Release:        1
6 License:        GPL v2
7 Group:          Development/Version Control
8 Source0:        http://www.bazaar-ng.org/pkg/%{name}-%{version}.tar.gz
9 # Source0-md5:  e4d95bd7f6cdd9eb5bd1a62ec2a45db2
10 URL:            http://bazaar.canonical.com/Bzr
11 Requires:       diffutils
12 Requires:       patch
13 Requires:       tar
14 %pyrequires_eq  python
15 BuildRequires:  python
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Bazaar-NG (aka bzr, later to be named Bazaar 2) is a community project
21 led by canonical to develop a free software distributed revision
22 control system that is powerful, friendly, scalable and easy to use. A
23 revision control system is a tool that developers and system
24 administrators use to keep track of the changes to files over time.
25 Additionally, a revision control system such as Bazaar-NG eases the
26 burdens of working together in teams.
27
28 Bazaar-NG is a changeset oriented revision control system. Changeset
29 oriented revision control systems collect the logically related
30 changes to individual files together into one cohesive group which
31 typically represent a bug fix or a new feature. These changesets are
32 easily transferred from one branch to another with simple to use
33 commands like "bzr pull" and "bzr branch".
34
35 Bazaar-NG is also a distributed revision control system. A distributed
36 revision control such as Bazaar-NG not only allows a project to have
37 multiple branches, but users to have multiple private branches as
38 well. Bazaar-NG makes it easy for users to make a branch that is based
39 off of another branch, make changes and then later merge the branches
40 back together. Importantly, the general public can make a new branch
41 based upon an authoritive branch of a project, fix one or more things
42 and then offer the branch back to the upstream for merging. Bazaar-NG
43 also supports the sharing of branches between developers.
44
45
46 %prep
47 %setup -q
48
49 %build
50 python setup.py build
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 python setup.py install --optimize=2 \
56         --root=$RPM_BUILD_ROOT
57
58 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*
66 %{py_sitescriptdir}/bzrlib
This page took 0.033247 seconds and 3 git commands to generate.