1 Summary: A distributed concurent versioning system better than CVS
2 Summary(pl.UTF-8): System kontroli wersji lepszy niż CVS
7 Group: Development/Version Control
8 Source0: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-x86-glibc23-linux.bin
9 # Source0-md5: 21a14b3ea291ef70d59d350ccde4f19a
10 Source1: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-alpha-glibc22-linux.bin
11 # Source1-md5: e1cb11215b03fd30e7e4b5fb5763d3e2
12 Source2: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-powerpc-glibc21-linux.bin
13 # Source2-md5: 7ad959ee34f35516bd607bdd1192171c
14 Source3: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-sparc-glibc21-linux.bin
15 # Source3-md5: bd432ed8612d5d7d884c3418615d658f
16 URL: http://www.bitkeeper.com/
18 BuildRequires: fileutils
19 BuildRequires: perl-base
20 ExclusiveArch: %{ix86} alpha ppc sparc64
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 A distributed concurrent versioning system better than CVS.
26 %description -l pl.UTF-8
27 System kontroli wersji lepszy niż CVS.
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir},%{_mandir}/man1}
54 cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
56 for man in $RPM_BUILD_ROOT%{_libdir}/%{name}/man/man1/*; do
57 tman=$(basename "$man")
58 if ! (echo "$tman" | grep -Eq "^bk-"); then
61 mv $man $RPM_BUILD_ROOT%{_mandir}/man1/${tman}
64 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/man/
66 ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir}
68 for file in admin bk delta get prs rmdel unget; do
69 ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/*
79 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
81 %attr(-,root,root) %{_libdir}/%{name}