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

Comparing COMP/CMSDIST/libungif.spec (file contents):
Revision 1.9 by elmer, Fri Nov 2 16:40:18 2007 UTC vs.
Revision 1.13 by muzaffar, Tue Jul 6 08:34:44 2010 UTC

# Line 1 | Line 1
1 < ### RPM external libungif 4.1.4-CMS18
1 > ### RPM external libungif 4.1.4
2  
3 < Source: http://switch.dl.sourceforge.net/sourceforge/%{n}/%{n}-%{realversion}.tar.gz
3 > Source: http://switch.dl.sourceforge.net/sourceforge/giflib/%{n}-%{realversion}.tar.gz
4  
5   %prep
6   %setup -n %n-%{realversion}
# Line 15 | Line 15 | perl -p -i -e "s|^#!.*perl|#!/usr/bin/en
15  
16   # SCRAM ToolBox toolfile
17   mkdir -p %i/etc/scram.d
18 < cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
19 < <doc type=BuildSystem::ToolDoc version=1.0>
20 < <Tool name=%n version=%v>
21 < <info url="http://sourceforge.net/projects/libungif"></info>
22 < <lib name=ungif>
23 < <Client>
24 < <Environment name=LIBUNGIF_BASE default="%i"></Environment>
25 < <Environment name=LIBDIR default="$LIBUNGIF_BASE/lib"></Environment>
26 < <Environment name=INCLUDE default="$LIBUNGIF_BASE/include"></Environment>
27 < </Client>
28 < <use name=libjpg>
29 < <use name=zlib>
30 < </Tool>
18 > cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
19 >  <tool name="%n" version="%v">
20 >    <info url="http://sourceforge.net/projects/libungif"/>
21 >    <lib name="ungif"/>
22 >    <client>
23 >      <environment name="LIBUNGIF_BASE" default="%i"/>
24 >      <environment name="LIBDIR" default="$LIBUNGIF_BASE/lib"/>
25 >      <environment name="INCLUDE" default="$LIBUNGIF_BASE/include"/>
26 >    </client>
27 >    <use name="libjpg"/>
28 >    <use name="zlib"/>
29 >  </tool>
30   EOF_TOOLFILE
31  
32   %post
33   %{relocateConfig}lib/libungif.la
34 < %{relocateConfig}etc/scram.d/%n
34 > %{relocateConfig}etc/scram.d/%n.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines