1 Summary: A distributed concurent versioning system better than CVS
2 Summary(pl): System kontroli wersji lepszy ni¿ CVS
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/
18 BuildRequires: fileutils
19 ExclusiveArch: %{ix86} alpha ppc sparc64
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 A distributed concurrent versioning system better than CVS.
26 System kontroli wersji lepszy ni¿ CVS.
32 dd if=%{SOURCE0} skip=1 bs=7008 | gzip -d | tar xf -
35 dd if=%{SOURCE1} skip=1 bs=7354 | gzip -d | tar xf -
38 dd if=%{SOURCE2} skip=1 bs=6864 | gzip -d | tar xf -
41 dd if=%{SOURCE3} skip=1 bs=6704 | gzip -d | tar xf -
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir}}
48 cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
50 ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir}
52 for file in admin bk delta get prs rmdel unget; do
53 ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
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}