]>
Commit | Line | Data |
---|---|---|
548ae2b3 | 1 | %define _rc rc2 |
d8a15745 | 2 | Summary: David's Advanced Revision Control System - yet another replacement for CVS |
0765a5cd | 3 | Summary(pl.UTF-8): David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a |
c9782df6 | 4 | Name: darcs |
548ae2b3 | 5 | Version: 1.0.9 |
6 | Release: 0.%{_rc}.1 | |
c9782df6 AM |
7 | License: GPL v2 |
8 | Group: Development/Version Control | |
548ae2b3 | 9 | Source0: http://abridgegame.org/darcs/%{name}-%{version}%{_rc}.tar.gz |
10 | # Source0-md5: fe268bc6d030141fc7f92417b96fca16 | |
c9782df6 | 11 | URL: http://abridgegame.org/darcs/ |
c9782df6 | 12 | BuildRequires: curl-devel |
83ae8f64 | 13 | BuildRequires: ghc >= 6.2 |
c9782df6 | 14 | BuildRequires: ncurses-devel |
2d844eb7 | 15 | BuildRequires: readline-devel |
d8a15745 | 16 | BuildRequires: zlib-devel |
c9782df6 AM |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | David's Advanced Revision Control System is yet another replacement | |
21 | for CVS. It is written in Haskell, and has been used on Linux, MacOS | |
d8a15745 | 22 | X, FreeBSD, OpenBSD and Microsoft Windows. Darcs includes a CGI |
c9782df6 AM |
23 | script, which can be used to view the contents of your repository. |
24 | ||
24e0d6cb | 25 | %description -l pl.UTF-8 |
d8a15745 JB |
26 | David's Advanced Revision Control System (zaawansowany system kontroli |
27 | wersji Davida) to jeszcze jeden zamiennik CVS-a. Jest napisany w | |
24e0d6cb JR |
28 | Haskellu, dotychczas był używany na Linuksie, MacOS-ie X, FreeBSD, |
29 | OpenBSD i Microsoft Windows. Darcs zawiera skrypt CGI, który może być | |
30 | używany do oglądania zawartości repozytorium. | |
d8a15745 | 31 | |
c9782df6 | 32 | %prep |
548ae2b3 | 33 | %setup -q -n %{name}-%{version}%{_rc} |
c9782df6 AM |
34 | |
35 | %build | |
01ce3302 | 36 | CPPFLAGS="-I/usr/include/ncurses" |
c9782df6 AM |
37 | %configure |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name} | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
39628a36 | 53 | %doc manual AUTHORS |
c9782df6 | 54 | %attr(755,root,root) %{_bindir}/* |
af6e8194 | 55 | %{_sysconfdir}/bash_completion.d/%{name} |
c9782df6 | 56 | %{_mandir}/man?/* |