]> git.pld-linux.org Git - packages/bitkeeper.git/blob - bitkeeper.spec
- added md5
[packages/bitkeeper.git] / bitkeeper.spec
1 Summary:        A distributed concurent versioning system better than CVS
2 Summary(pl):    System kontroli wersji lepszy ni¿ CVS
3 Name:           bitkeeper
4 Version:        2.1.6pre5
5 Release:        1
6 License:        BitKeeper
7 Group:          Development/Version Control
8 Source0:        http://www.bitmover.com/download/bk-2.1.x/x86-glibc22-linux.bin
9 # Source0-md5:  c4fd09145882b1489509dee6a8cb041f
10 Source1:        http://www.bitmover.com/download/bk-2.1.x/alphaev56-glibc21-linux.bin
11 # Source1-md5:  f1a9fc9e03140d6e28ab2f7ad0be30c0
12 Source2:        http://www.bitmover.com/download/bk-2.1.x/powerpc-glibc21-linux.bin
13 # Source2-md5:  dc1b949d11679747dad01af199a02275
14 Source3:        http://www.bitmover.com/download/bk-2.1.x/sparc64-glibc21-linux.bin
15 # Source3-md5:  b0989ee5924faa15d8bceec594b35bc5
16 URL:            http://www.bitkeeper.com/
17 Requires:       tk >= 8.0
18 BuildRequires:  fileutils
19 ExclusiveArch:  %{ix86} alpha ppc sparc64
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A distributed concurrent versioning system better than CVS.
24
25 %description -l pl
26 System kontroli wersji lepszy ni¿ CVS.
27
28 %prep
29 %setup -q -c -T
30 umask 022
31 %ifarch %{ix86}
32 dd if=%{SOURCE0} skip=1 bs=7008 | gzip -d | tar xf -
33 %endif
34 %ifarch alpha
35 dd if=%{SOURCE1} skip=1 bs=7354 | gzip -d | tar xf -
36 %endif
37 %ifarch ppc
38 dd if=%{SOURCE2} skip=1 bs=6864 | gzip -d | tar xf -
39 %endif
40 %ifarch sparc64
41 dd if=%{SOURCE3} skip=1 bs=6704 | gzip -d | tar xf -
42 %endif
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir}}
47
48 cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
49
50 ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir}
51
52 for file in admin bk delta get prs rmdel unget; do
53         ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file}
54 done
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc bitkeeper/*.pdf
62 %attr(755,root,root) %{_bindir}/*
63 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
64 %attr(-,root,root) %{_libdir}/%{name}
This page took 0.180535 seconds and 3 git commands to generate.