]> git.pld-linux.org Git - packages/bitkeeper.git/blame_incremental - bitkeeper.spec
- partial 7.3.3 update; don't keep binaries around; it's open source for some time...
[packages/bitkeeper.git] / bitkeeper.spec
... / ...
CommitLineData
1Summary: A distributed concurent versioning system better than CVS
2Summary(pl.UTF-8): System kontroli wersji lepszy niż CVS
3Name: bitkeeper
4Version: 3.2.0
5Release: 1
6License: BitKeeper
7Group: Development/Version Control
8Source0: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-x86-glibc23-linux.bin
9# Source0-md5: 21a14b3ea291ef70d59d350ccde4f19a
10Source1: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-alpha-glibc22-linux.bin
11# Source1-md5: e1cb11215b03fd30e7e4b5fb5763d3e2
12Source2: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-powerpc-glibc21-linux.bin
13# Source2-md5: 7ad959ee34f35516bd607bdd1192171c
14Source3: http://bitkeeper:get%20bitkeeper@www.bitmover.com/download/bk-3.2.0/bk-%{version}-sparc-glibc21-linux.bin
15# Source3-md5: bd432ed8612d5d7d884c3418615d658f
16URL: http://www.bitkeeper.com/
17Requires: tk >= 8.0
18BuildRequires: fileutils
19BuildRequires: perl-base
20ExclusiveArch: %{ix86} alpha ppc sparc64
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24A distributed concurrent versioning system better than CVS.
25
26%description -l pl.UTF-8
27System kontroli wersji lepszy niż CVS.
28
29%prep
30%setup -q -c -T
31umask 022
32SRC=
33%ifarch %{ix86}
34SRC=%{SOURCE0}
35%endif
36%ifarch alpha
37SRC=%{SOURCE1}
38%endif
39%ifarch ppc
40SRC=%{SOURCE2}
41%endif
42%ifarch sparc64
43SRC=%{SOURCE3}
44%endif
45
46chmod 755 ${SRC}
47${SRC} bitkeeper
48chmod -R u+rwX,a+rX .
49
50%install
51rm -rf $RPM_BUILD_ROOT
52install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir},%{_mandir}/man1}
53
54cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
55
56for man in $RPM_BUILD_ROOT%{_libdir}/%{name}/man/man1/*; do
57 tman=$(basename "$man")
58 if ! (echo "$tman" | grep -Eq "^bk-"); then
59 tman="bk-$tman"
60 fi
61 mv $man $RPM_BUILD_ROOT%{_mandir}/man1/${tman}
62done
63
64rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/man/
65
66ln -s %{_libdir}/%{name}/bitkeeper.config $RPM_BUILD_ROOT%{_sysconfdir}
67
68for file in admin bk delta get prs rmdel unget; do
69 ln -s %{_libdir}/%{name}/${file} $RPM_BUILD_ROOT%{_bindir}/${file}
70done
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc bitkeeper/*.pdf
78%attr(755,root,root) %{_bindir}/*
79%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
80%{_mandir}/man*/*
81%attr(-,root,root) %{_libdir}/%{name}
This page took 0.044907 seconds and 4 git commands to generate.