]> git.pld-linux.org Git - packages/bitkeeper.git/blame - bitkeeper.spec
- converted to UTF-8
[packages/bitkeeper.git] / bitkeeper.spec
CommitLineData
82820b34 1Summary: A distributed concurent versioning system better than CVS
17615248 2Summary(pl.UTF-8): System kontroli wersji lepszy niż CVS
82820b34 3Name: bitkeeper
7a96c148 4Version: 3.2.0
82820b34
AM
5Release: 1
6License: BitKeeper
7Group: Development/Version Control
7a96c148
AM
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
82820b34
AM
16URL: http://www.bitkeeper.com/
17Requires: tk >= 8.0
18BuildRequires: fileutils
bcfaa274 19BuildRequires: perl-base
de00ebdd 20ExclusiveArch: %{ix86} alpha ppc sparc64
82820b34
AM
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
6be1c1f9 24A distributed concurrent versioning system better than CVS.
82820b34 25
17615248
JR
26%description -l pl.UTF-8
27System kontroli wersji lepszy niż CVS.
82820b34
AM
28
29%prep
30%setup -q -c -T
31umask 022
bcfaa274 32SRC=
c13d1ee9 33%ifarch %{ix86}
bcfaa274 34SRC=%{SOURCE0}
c13d1ee9
AM
35%endif
36%ifarch alpha
bcfaa274 37SRC=%{SOURCE1}
c13d1ee9
AM
38%endif
39%ifarch ppc
bcfaa274 40SRC=%{SOURCE2}
c13d1ee9
AM
41%endif
42%ifarch sparc64
bcfaa274 43SRC=%{SOURCE3}
c13d1ee9 44%endif
82820b34 45
7a96c148
AM
46chmod 755 ${SRC}
47${SRC} bitkeeper
48chmod -R u+rwX,a+rX .
bcfaa274 49
82820b34
AM
50%install
51rm -rf $RPM_BUILD_ROOT
7a96c148 52install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}/%{name},%{_bindir},%{_mandir}/man1}
82820b34
AM
53
54cp -ap bitkeeper/* $RPM_BUILD_ROOT%{_libdir}/%{name}
55
7a96c148
AM
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
82820b34
AM
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}/*
7a96c148 80%{_mandir}/man*/*
82820b34 81%attr(-,root,root) %{_libdir}/%{name}
This page took 0.096476 seconds and 4 git commands to generate.