Author: baggins                      Date: Thu Nov 26 00:11:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 2.3.1
- build system changed to ghc way
- doesn't build, see TODO

---- Files affected:
packages/darcs:
   darcs.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: packages/darcs/darcs.spec
diff -u packages/darcs/darcs.spec:1.23 packages/darcs/darcs.spec:1.24
--- packages/darcs/darcs.spec:1.23      Mon Feb 25 00:45:23 2008
+++ packages/darcs/darcs.spec   Thu Nov 26 01:11:21 2009
@@ -1,25 +1,21 @@
 # $Revision$, $Date$
-%bcond_without git
+#
+# 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
+#
 Summary:       David's Advanced Revision Control System - yet another 
replacement for CVS
 Summary(pl.UTF-8):     David's Advanced Revision Control System - jeszcze 
jeden zamiennik CVS-a
 Name:          darcs
-Version:       1.0.9
-Release:       2
+Version:       2.3.1
+Release:       0.1
 License:       GPL v2
 Group:         Development/Version Control
-Source0:       http://darcs.net/%{name}-%{version}.tar.gz
-# Source0-md5: 07222cd3c500aa31e3332847573a4ab2
+Source0:       http://darcs.net/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 376e58a09da2c1e5c881eaaa3df455a1
 URL:           http://darcs.net/
-BuildRequires: autoconf
-BuildRequires: curl-devel
-%if %{with git}
-BuildRequires: git-core-devel >= 1.5.2.2-4
-BuildRequires: openssl-devel
-%endif
 BuildRequires: ghc >= 6.2
-BuildRequires: ncurses-devel
-BuildRequires: readline-devel
-BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,27 +34,13 @@
 %prep
 %setup -q
 
-sed -i -e 's#curses ncurses#tinfo curses ncurses#g' configure.ac
-
 %build
-%{__aclocal}
-%{__autoconf}
-CPPFLAGS="-I/usr/include/ncurses"
-%configure \
-%if %{with git}
-       --enable-git \
-       --with-git-includes="-I%{_includedir}/git-core" \
-%endif
-       --without-wx
-%{__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
@@ -76,6 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2009/11/26 00:11:21  baggins
+- 2.3.1
+- build system changed to ghc way
+- doesn't build, see TODO
+
 Revision 1.23  2008/02/24 23:45:23  glen
 - release 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/darcs/darcs.spec?r1=1.23&r2=1.24&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to