SPECS: darcs.spec - final 1.0.9; enable git support
arekm
arekm at pld-linux.org
Tue Jun 26 09:06:25 CEST 2007
Author: arekm Date: Tue Jun 26 07:06:25 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- final 1.0.9; enable git support
---- Files affected:
SPECS:
darcs.spec (1.21 -> 1.22)
---- Diffs:
================================================================
Index: SPECS/darcs.spec
diff -u SPECS/darcs.spec:1.21 SPECS/darcs.spec:1.22
--- SPECS/darcs.spec:1.21 Mon Feb 19 15:43:47 2007
+++ SPECS/darcs.spec Tue Jun 26 09:06:20 2007
@@ -1,16 +1,21 @@
# $Revision$, $Date$
-%define _rc rc2
+%bcond_without git
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: 0.%{_rc}.1
+Release: 1
License: GPL v2
Group: Development/Version Control
-Source0: http://abridgegame.org/darcs/%{name}-%{version}%{_rc}.tar.gz
-# Source0-md5: fe268bc6d030141fc7f92417b96fca16
-URL: http://abridgegame.org/darcs/
+Source0: http://darcs.net/%{name}-%{version}.tar.gz
+# Source0-md5: 07222cd3c500aa31e3332847573a4ab2
+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
@@ -31,11 +36,20 @@
używany do oglądania zawartości repozytorium.
%prep
-%setup -q -n %{name}-%{version}%{_rc}
+%setup -q
+
+sed -i -e 's#curses ncurses#tinfo curses ncurses#g' configure.ac
%build
+%{__aclocal}
+%{__autoconf}
CPPFLAGS="-I/usr/include/ncurses"
-%configure
+%configure \
+%if %{with git}
+ --enable-git \
+ --with-git-includes="-I%{_includedir}/git-core" \
+%endif
+ --without-wx
%{__make}
%install
@@ -62,6 +76,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.22 2007/06/26 07:06:20 arekm
+- final 1.0.9; enable git support
+
Revision 1.21 2007/02/19 14:43:47 qrczak
- 1.0.9rc2 (1.0.8 doesn't build with ghc-6.6).
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/darcs.spec?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list