OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 18-Feb-2007 19:10:17
Branch: HEAD Handle: 2007021818101700
Modified files:
openpkg-src/monotone monotone.spec
Log:
add Perl tools and Bash completion script
Summary:
Revision Changes Path
1.6 +20 -7 openpkg-src/monotone/monotone.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/monotone/monotone.spec
============================================================================
$ cvs diff -u -r1.5 -r1.6 monotone.spec
--- openpkg-src/monotone/monotone.spec 4 Feb 2007 11:36:18 -0000
1.5
+++ openpkg-src/monotone/monotone.spec 18 Feb 2007 18:10:17 -0000
1.6
@@ -33,7 +33,7 @@
Group: SCM
License: GPL
Version: 0.32
-Release: 20070204
+Release: 20070218
# list of sources
Source0: http://venge.net/monotone/downloads/monotone-%{version}.tar.gz
@@ -45,7 +45,7 @@
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, gcc::with_cxx = yes
-PreReq: OpenPKG, openpkg >= 20040130, apg, diffutils
+PreReq: OpenPKG, openpkg >= 20040130, apg, diffutils, perl, perl-mail
BuildPreReq: boost, zlib
PreReq: boost, zlib
AutoReq: no
@@ -102,6 +102,24 @@
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
+ # create additional directories for server operation
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/monotone \
+ $RPM_BUILD_ROOT%{l_prefix}/var/monotone
+
+ # install contrib tools
+ %{l_shtool} install -c -m 755 \
+ -e 's;#! /usr/bin/perl;#!%{l_prefix}/bin/perl;g' \
+ contrib/monotone-import.pl \
+ $RPM_BUILD_ROOT%{l_prefix}/bin/monotone-import
+ %{l_shtool} install -c -m 755 \
+ -e 's;#! /usr/bin/perl;#!%{l_prefix}/bin/perl;g' \
+ contrib/monotone-notify.pl \
+ $RPM_BUILD_ROOT%{l_prefix}/bin/monotone-notify
+ %{l_shtool} install -c -m 644 \
+ contrib/monotone.bash_completion \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/monotone/monotone.bashrc
+
# install setup script
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/sbin
@@ -117,11 +135,6 @@
%{SOURCE rc.monotone} \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
- # create additional directories for server operation
- %{l_shtool} mkdir -f -p -m 755 \
- $RPM_BUILD_ROOT%{l_prefix}/etc/monotone \
- $RPM_BUILD_ROOT%{l_prefix}/var/monotone
-
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]