]> git.pld-linux.org Git - packages/bitkeeper.git/blob - bitkeeper.spec
- initial pld release
[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 URL:            http://www.bitkeeper.com/
10 Requires:       tk >= 8.0
11 BuildRequires:  fileutils
12 ExclusiveArch:  %{ix86}
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 A distributed concurent versioning system better than CVS.
17
18 %description -l pl
19 System kontroli wersji lepszy ni¿ CVS.
20
21 %prep
22 %setup -q -c -T
23 umask 022
24 dd if=%{SOURCE0} skip=1 bs=7008 | gzip -d | tar xf -
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir}}
29
30 cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
31
32 ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir}
33
34 for file in admin bk delta get prs rmdel unget; do
35         ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file}
36 done
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc bitkeeper/*.pdf
44 %attr(755,root,root) %{_bindir}/*
45 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
46 %attr(-,root,root) %{_libdir}/%{name}
This page took 0.869193 seconds and 3 git commands to generate.