]> git.pld-linux.org Git - packages/darcs.git/blobdiff - darcs.spec
- more TODO
[packages/darcs.git] / darcs.spec
index dcd68cce027bd7fdb7e44f69b107d37aa38bea4d..7886f892dd141ff05d688c741ff21cc0296682a0 100644 (file)
@@ -1,18 +1,22 @@
+#
+# TODO:
+# Setup.lhs: At least the following dependencies are missing:
+# hashed-storage >=0.3.8 && <0.4 && >=0.3.8 && <0.4,
+# haskeline >=0.6.1 && <0.7 && >=0.6.1 && <0.7
+# utf8-string ==0.3.* && ==0.3.*,
+# 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
+#
 Summary:       David's Advanced Revision Control System - yet another replacement for CVS
-Summary(pl):   David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a
+Summary(pl.UTF-8):     David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a
 Name:          darcs
-Version:       1.0.6
-Release:       1
+Version:       2.4
+Release:       0.1
 License:       GPL v2
 Group:         Development/Version Control
-Source0:       http://abridgegame.org/darcs/%{name}-%{version}.tar.gz
-# Source0-md5: 8f3a1ee21b7bfbcca11bf4f9f0042cfd
-URL:           http://abridgegame.org/darcs/
-BuildRequires: curl-devel
+Source0:       http://darcs.net/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 169a6d245a33da97b2daa0eda60b28e5
+URL:           http://darcs.net/
 BuildRequires: ghc >= 6.2
-BuildRequires: ncurses-devel
-BuildRequires: readline-devel
-BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,28 +25,23 @@ for CVS. It is written in Haskell, and has been used on Linux, MacOS
 X, FreeBSD, OpenBSD and Microsoft Windows. Darcs includes a CGI
 script, which can be used to view the contents of your repository.
 
-%description -l pl
+%description -l pl.UTF-8
 David's Advanced Revision Control System (zaawansowany system kontroli
 wersji Davida) to jeszcze jeden zamiennik CVS-a. Jest napisany w
-Haskellu, dotychczas by³ u¿ywany na Linuksie, MacOS-ie X, FreeBSD,
-OpenBSD i Microsoft Windows. Darcs zawiera skrypt CGI, który mo¿e byæ
-u¿ywany do ogl±dania zawarto¶ci repozytorium.
+Haskellu, dotychczas był używany na Linuksie, MacOS-ie X, FreeBSD,
+OpenBSD i Microsoft Windows. Darcs zawiera skrypt CGI, który może być
+używany do oglądania zawartości repozytorium.
 
 %prep
 %setup -q
 
 %build
-CPPFLAGS="-I/usr/include/ncurses"
-%configure
-%{__make}
+runhaskell Setup.lhs configure --prefix=%{_prefix}
+runhaskell Setup.lhs build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.083065 seconds and 4 git commands to generate.