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: 13-Jan-2006 09:06:21
Branch: HEAD Handle: 2006011308062000
Modified files:
openpkg-src/cvsgraph cvsgraph.spec
Log:
adjust summary and group headers; fix bootstrap dependency for
CURRENT; pass %description through par(1); pass proper build flags;
install binary as stripped binary; remove 'noreplace' as we decided
some years ago that we consistently do not use it
Summary:
Revision Changes Path
1.2 +15 -13 openpkg-src/cvsgraph/cvsgraph.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/cvsgraph/cvsgraph.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 cvsgraph.spec
--- openpkg-src/cvsgraph/cvsgraph.spec 11 Jan 2006 19:26:24 -0000
1.1
+++ openpkg-src/cvsgraph/cvsgraph.spec 13 Jan 2006 08:06:20 -0000
1.2
@@ -24,16 +24,16 @@
# package information
Name: cvsgraph
-Summary: CVS repository browser
+Summary: CVS Repository Grapher
URL: http://www.akhphd.au.dk/~bertho/cvsgraph
Vendor: Bertho Stultiens
Packager: OpenPKG
Distribution: OpenPKG
Class: EVAL
-Group: Development
+Group: Web
License: BSD
Version: 1.6.0
-Release: 20060111
+Release: 20060113
# list of sources
Source0:
http://www.akhphd.au.dk/~bertho/cvsgraph/release/cvsgraph-%{version}.tar.gz
@@ -41,16 +41,17 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 2.5.0, gd, jpeg, png, freetype, zlib
-PreReq: OpenPKG, openpkg >= 2.5.0, gd, jpeg, png, freetype, zlib
+BuildPreReq: OpenPKG, openpkg >= 20040130
+PreReq: OpenPKG, openpkg >= 20040130
+BuildPreReq: gd, jpeg, png, freetype, zlib
+PreReq: gd, jpeg, png, freetype, zlib
AutoReq: no
AutoReqProv: no
%description
- CvsGraph is a utility to make a graphical representation of all revisions
- and branches of a file in a CVS/RCS repository. It has been inspired by
- the 'graph' option in WinCVS, but I could not find a stand-alone version
- of this graph code. So, it was time to write one.
+ CvsGraph is a utility to make a graphical representation of all
+ revisions and branches of a file in a CVS/RCS repository. It has
+ been inspired by the 'graph' option in WinCVS.
%track
prog cvsgraph = {
@@ -63,13 +64,14 @@
%setup -q
%build
- # configure
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/cvsgraph \
--with-gd-inc=%{l_prefix}/include \
--with-gd-lib=%{l_prefix}/lib
- # build
%{l_make} %{l_mflags -O}
%install
@@ -79,7 +81,7 @@
$RPM_BUILD_ROOT%{l_prefix}/etc/cvsgraph \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/man/man5
- %{l_shtool} install -c -m 755 \
+ %{l_shtool} install -c -s -m 755 \
cvsgraph $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
cvsgraph.conf $RPM_BUILD_ROOT%{l_prefix}/etc/cvsgraph/
@@ -88,7 +90,7 @@
%{l_shtool} install -c -m 644 \
cvsgraph.conf.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
- '%config(noreplace) %{l_prefix}/etc/cvsgraph/cvsgraph.conf'
+ '%config %{l_prefix}/etc/cvsgraph/cvsgraph.conf'
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]