3 # Setup.lhs: At least the following dependencies are missing:
4 # hashed-storage >=0.3.8 && <0.4 && >=0.3.8 && <0.4,
5 # haskeline >=0.6.1 && <0.7 && >=0.6.1 && <0.7
6 # utf8-string ==0.3.* && ==0.3.*,
7 # zlib >=0.5.1.0 && <0.6.0.0 && >=0.5.1.0 && <0.6.0.0 && >=0.5.1.0 && <0.6.0.0
9 Summary: David's Advanced Revision Control System - yet another replacement for CVS
10 Summary(pl.UTF-8): David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a
15 Group: Development/Version Control
16 Source0: http://darcs.net/releases/%{name}-%{version}.tar.gz
17 # Source0-md5: 169a6d245a33da97b2daa0eda60b28e5
18 URL: http://darcs.net/
19 BuildRequires: ghc >= 6.2
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 David's Advanced Revision Control System is yet another replacement
24 for CVS. It is written in Haskell, and has been used on Linux, MacOS
25 X, FreeBSD, OpenBSD and Microsoft Windows. Darcs includes a CGI
26 script, which can be used to view the contents of your repository.
28 %description -l pl.UTF-8
29 David's Advanced Revision Control System (zaawansowany system kontroli
30 wersji Davida) to jeszcze jeden zamiennik CVS-a. Jest napisany w
31 Haskellu, dotychczas był używany na Linuksie, MacOS-ie X, FreeBSD,
32 OpenBSD i Microsoft Windows. Darcs zawiera skrypt CGI, który może być
33 używany do oglądania zawartości repozytorium.
39 runhaskell Setup.lhs configure --prefix=%{_prefix}
40 runhaskell Setup.lhs build
43 rm -rf $RPM_BUILD_ROOT
44 runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/*
53 %{_sysconfdir}/bash_completion.d/%{name}