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.2 by eulisse, Tue Apr 25 14:05:32 2006 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
2 < Source: http://switch.dl.sourceforge.net/sourceforge/%{n}/%{n}-%{v}.tar.gz
2 >
3 > Source: http://switch.dl.sourceforge.net/sourceforge/giflib/%{n}-%{realversion}.tar.gz
4 >
5 > %prep
6 > %setup -n %n-%{realversion}
7  
8   %build
9   ./configure --prefix=%{i}
10   make %makeprocesses
11 +
12   %install
13   make install
14   perl -p -i -e "s|^#!.*perl|#!/usr/bin/env perl|" %{i}/bin/gifburst
15 +
16 + # SCRAM ToolBox toolfile
17 + mkdir -p %i/etc/scram.d
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.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines