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