Summary: A distributed concurent versioning system better than CVS Summary(pl): System kontroli wersji lepszy niż CVS Name: bitkeeper Version: 3.0.2 Release: 1 License: BitKeeper Group: Development/Version Control Source0: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.0.x/bk-3.0.2-x86-glibc22-linux.bin # Source0-md5: cfd8f586e8c379c9d4eaa11fb5064d62 Source1: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.0.x/bk-3.0.2-alpha-glibc22-linux.bin # Source1-md5: da28d1cb564ffcf71342eeeec257f06b Source2: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.0.x/bk-3.0.2-powerpc-glibc21-linux.bin # Source2-md5: 3de240272530fdbd8f60732ced7dbf83 Source3: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.0.x/bk-3.0.2-sparc-glibc21-linux.bin # Source3-md5: 646eb0dbad5b41c8aa8b6d2e5a9f7957 URL: http://www.bitkeeper.com/ Requires: tk >= 8.0 BuildRequires: fileutils BuildRequires: perl-base ExclusiveArch: %{ix86} alpha ppc sparc64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description A distributed concurrent versioning system better than CVS. %description -l pl System kontroli wersji lepszy niż CVS. %prep %setup -q -c -T umask 022 SRC= %ifarch %{ix86} SRC=%{SOURCE0} %endif %ifarch alpha SRC=%{SOURCE1} %endif %ifarch ppc SRC=%{SOURCE2} %endif %ifarch sparc64 SRC=%{SOURCE3} %endif perl -e 'while (<>) {s/.*(\037\213)/$1/ and last;} do { print } while (<>) ' ${SRC} | gzip -d | tar xf - %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir}} cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name} ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir} for file in admin bk delta get prs rmdel unget; do ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file} done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc bitkeeper/*.pdf %attr(755,root,root) %{_bindir}/* %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* %attr(-,root,root) %{_libdir}/%{name}