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.4 by ratnik, Wed Apr 18 23:46:01 2007 UTC vs.
Revision 1.8 by muzaffar, Mon Sep 3 15:28:45 2007 UTC

# Line 1 | Line 1
1 < ### RPM external libungif 4.1.4
2 < Requires: gcc-wrapper
1 > ### RPM external libungif 4.1.4-CMS8
2  
3 < Source: http://switch.dl.sourceforge.net/sourceforge/%{n}/%{n}-%{v}.tar.gz
3 > Source: http://switch.dl.sourceforge.net/sourceforge/%{n}/%{n}-%{realversion}.tar.gz
4 >
5 > %prep
6 > %setup -n %n-%{realversion}
7  
8   %build
7 ## IMPORT gcc-wrapper
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
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>
31 + EOF_TOOLFILE
32 +
33 + %post
34 + %{relocateConfig}lib/libungif.la
35 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines