X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=darcs.spec;h=7886f892dd141ff05d688c741ff21cc0296682a0;hb=ba5739ad9462f5a1979446623dd1da6c7b82ba46;hp=4ecd1e7e9b6606553801a5cb5a296ffcd7465883;hpb=91b08e47925259c7a3554664f193be48cb43e255;p=packages%2Fdarcs.git diff --git a/darcs.spec b/darcs.spec index 4ecd1e7..7886f89 100644 --- a/darcs.spec +++ b/darcs.spec @@ -1,17 +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.2 -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: 74c1297775986ee332bb9d79bbf2a09a -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: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -20,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%{_includedir}/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 @@ -50,4 +50,5 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc manual AUTHORS %attr(755,root,root) %{_bindir}/* +%{_sysconfdir}/bash_completion.d/%{name} %{_mandir}/man?/*