ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gdbm.spec
(Generate patch)

Comparing COMP/CMSDIST/gdbm.spec (file contents):
Revision 1.4 by elmer, Wed Mar 28 00:55:07 2007 UTC vs.
Revision 1.13 by elmer, Thu Dec 27 20:28:33 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gdbm 1.8.3
2 < Source: http://rm.mirror.garr.it/mirrors/gnuftp/gnu/%{n}/%{n}-%{v}.tar.gz
1 > ### RPM external gdbm 1.8.3-CMS19
2 > Source: http://rm.mirror.garr.it/mirrors/gnuftp/gnu/%{n}/%{n}-%{realversion}.tar.gz
3  
4   %define thisuser %(id -u)
5   %define thisgroup %(id -g)
6  
7 + %prep
8 + %setup -n %n-%{realversion}
9 +
10   %build
11 < perl -p -i -e "s|BINOWN = bin|BINOWN = %{thisuser}|g" Makefile.in;
12 < perl -p -i -e "s|BINGRP = bin|BINGRP = %{thisgroup}|g" Makefile.in;;
11 > perl -p -i -e "s|BINOWN = bin|BINOWN = %{thisuser}|g" Makefile.in
12 > perl -p -i -e "s|BINGRP = bin|BINGRP = %{thisgroup}|g" Makefile.in
13   ./configure --prefix=%{i}
14   make %makeprocesses
15 < #
15 >
16 > %install
17 > make install
18 >
19 > # SCRAM ToolBox toolfile
20 > mkdir -p %i/etc/scram.d
21 > cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
22 > <doc type=BuildSystem::ToolDoc version=1.0>
23 > <Tool name=%n version=%v>
24 > <Lib name=gdbm>
25 > <Client>
26 > <Environment name=GDBM_BASE default="%i"></Environment>
27 > <Environment name=LIBDIR default="$GDBM_BASE/lib"></Environment>
28 > <Environment name=INCLUDE default="$GDBM_BASE/include"></Environment>
29 > </Client>
30 > </Tool>
31 > EOF_TOOLFILE
32 >
33 > %post
34 > %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines