Group :: Desenvolvimento/Outros
RPM: darcs
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: darcs - David's Advanced Revision Control System
Name: darcs
Version: 1.0.9
Release: alt3
URL: http://darcs.net
Source0: %url/%name-%version.tar.bz2
Patch0: %name-%version-alt-8bitdefs.patch
Patch1: %name-%version-alt-ghc682.patch
License: GNU GPL
Group: Development/Other
# Automatically added by buildreq on Mon Feb 07 2005 (-bi)
BuildRequires: ghc hostinfo latex2html libcurl-devel libgmp-devel libidn-devel libncurses-devel libreadline-devel libssl-devel libtinfo-devel perl-CGI perl-DBM tetex-core tetex-dvips tetex-latex zlib-devel
BuildRequires: %hs_package_dependencies QuickCheck mtl parsec html regex-compat
BuildRequires(pre): rpm-build-haskell
%description
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
%package docs
Summary: Documentation for darcs - David's Advances Revision Control System
License: GNU GPL
Group: Development/Other
Requires: %name = %version-%release
%description docs
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
This package provides user manual in both HTML and PostScript formats
%package server
Summary: Server side components of darcs - David's Advanced Revision Control System
License: GNU GPL
Group: Development/Other
Requires: %name = %version-%release
PreReq: apache-common
%description server
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
This package contains components neccessary to run publically accessible
darcs repository (via HTTP).
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
autoconf
%configure --with-sendmail=%_sbindir/sendmail
%make_build
%install
%__mkdir -p %buildroot{%_cachedir/%name,%_libdir/%name/repos,%_var/www/repos,%_var/www/cgi-bin}
%make DESTDIR=%buildroot installbin installserver
%__rm -rf %buildroot%_sysconfdir/bash_completion.d
#%__mv -f %buildroot%_bindir/convert-repo %buildroot%_bindir/%name-convertrepo
%__mv -f %buildroot%_prefix/lib/cgi-bin/%name.cgi %buildroot%_var/www/cgi-bin/
%files
%attr (0755,root,root) %_bindir/%name
#%%attr (0755,root,root) %_bindir/darcs-convertrepo
%_man1dir/%name.1*
%files server
%config %_sysconfdir/%name/*
%attr (0755,root,webmaster) %_var/www/cgi-bin/%name.cgi
%attr (0755,root,apache) %dir %_cachedir/%name
%attr (0755,root,root) %dir %_libdir/%name
%attr (0755,root,webmaster) %dir %_var/www/repos
%_datadir/%name/
%files docs
%doc darcs_print.ps AUTHORS COPYING manual
%changelog
…
Todas as alterações você pod ver aqui
Name: darcs
Version: 1.0.9
Release: alt3
URL: http://darcs.net
Source0: %url/%name-%version.tar.bz2
Patch0: %name-%version-alt-8bitdefs.patch
Patch1: %name-%version-alt-ghc682.patch
License: GNU GPL
Group: Development/Other
# Automatically added by buildreq on Mon Feb 07 2005 (-bi)
BuildRequires: ghc hostinfo latex2html libcurl-devel libgmp-devel libidn-devel libncurses-devel libreadline-devel libssl-devel libtinfo-devel perl-CGI perl-DBM tetex-core tetex-dvips tetex-latex zlib-devel
BuildRequires: %hs_package_dependencies QuickCheck mtl parsec html regex-compat
BuildRequires(pre): rpm-build-haskell
%description
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
%package docs
Summary: Documentation for darcs - David's Advances Revision Control System
License: GNU GPL
Group: Development/Other
Requires: %name = %version-%release
%description docs
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
This package provides user manual in both HTML and PostScript formats
%package server
Summary: Server side components of darcs - David's Advanced Revision Control System
License: GNU GPL
Group: Development/Other
Requires: %name = %version-%release
PreReq: apache-common
%description server
Darcs is a revision control system, along the lines of CVS or arch.
That means that it keeps track of various revisions and branches of
your project, allows for changes to propogate from one branch to
another. Darcs is intended to be an ``advanced'' revision control
system. Darcs has two particularly distinctive features which differ
from other revision control systems:
1) each copy of the source is a fully functional branch, and
2) underlying darcs is a consistent and powerful theory of patches.
This package contains components neccessary to run publically accessible
darcs repository (via HTTP).
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
autoconf
%configure --with-sendmail=%_sbindir/sendmail
%make_build
%install
%__mkdir -p %buildroot{%_cachedir/%name,%_libdir/%name/repos,%_var/www/repos,%_var/www/cgi-bin}
%make DESTDIR=%buildroot installbin installserver
%__rm -rf %buildroot%_sysconfdir/bash_completion.d
#%__mv -f %buildroot%_bindir/convert-repo %buildroot%_bindir/%name-convertrepo
%__mv -f %buildroot%_prefix/lib/cgi-bin/%name.cgi %buildroot%_var/www/cgi-bin/
%files
%attr (0755,root,root) %_bindir/%name
#%%attr (0755,root,root) %_bindir/darcs-convertrepo
%_man1dir/%name.1*
%files server
%config %_sysconfdir/%name/*
%attr (0755,root,webmaster) %_var/www/cgi-bin/%name.cgi
%attr (0755,root,apache) %dir %_cachedir/%name
%attr (0755,root,root) %dir %_libdir/%name
%attr (0755,root,webmaster) %dir %_var/www/repos
%_datadir/%name/
%files docs
%doc darcs_print.ps AUTHORS COPYING manual
%changelog
…
Todas as alterações você pod ver aqui