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

Comparing COMP/CMSDIST/kcachegrind.spec (file contents):
Revision 1.1 by muzaffar, Mon Feb 19 15:17:33 2007 UTC vs.
Revision 1.2 by muzaffar, Tue Feb 20 12:57:14 2007 UTC

# Line 8 | Line 8 | Provides: libkdesu.so.4
8   Provides: libkdeui.so.4
9   Provides: libkio.so.4
10   Provides: libkwalletclient.so.1
11 < Requires: qt libpng libjpg zlib
11 > Requires: qt libpng
12  
13   %define realversion %(echo %v | cut -d- -f1)
14   %define machine_os  %(echo %cmsplatf | cut -d_ -f1)
15   %if "%{machine_os}" == "slc4"
16   %define sourcefile0 http://kcachegrind.sourceforge.net/%{n}-%{realversion}.tar.gz
17 < %define pacthfile0 http://cmsdoc.cern.ch/~muzaffar/public/%{n}-%{realversion}-patch.tar.gz
17 > %define pacthfile0 http://cmsdoc.cern.ch/~muzaffar/public/%{n}-%{realversion}-patch1.tar.gz
18   %else
19 < %define sourcefile0 none
20 < %define pacthfile0 none
19 > %define sourcefile0   none
20 > %define pacthfile0    none
21   %endif
22  
23   Source0: %sourcefile0
# Line 25 | Line 25 | Source1: %pacthfile0
25  
26   %prep
27   %if "%{machine_os}" == "slc4"
28 < %setup -T -b 1 -n %{n}-%{realversion}-patch
28 > %setup -T -b 1 -n %{n}-%{realversion}-patch1
29   %setup -T -b 0 -n %{n}-%{realversion}
30   # CMS patch
31 < cp -fp %{_builddir}/%{n}-%{realversion}-patch/functionnameanalyzer.* %{_builddir}/%n-%realversion/kcachegrind/
32 < patch -u %{_builddir}/%n-%realversion/kcachegrind/tracedata.cpp %{_builddir}/%{n}-%{realversion}-patch/tracedata.cpp.patch
33 < patch -u %{_builddir}/%n-%realversion/kcachegrind/Makefile.am %{_builddir}/%{n}-%{realversion}-patch/Makefile.am.patch
31 > cp -fp %{_builddir}/%{n}-%{realversion}-patch1/functionnameanalyzer.* %{_builddir}/%n-%realversion/kcachegrind/
32 > patch -u %{_builddir}/%n-%realversion/kcachegrind/tracedata.cpp %{_builddir}/%{n}-%{realversion}-patch1/tracedata.cpp.patch
33 > patch -u %{_builddir}/%n-%realversion/kcachegrind/Makefile.am %{_builddir}/%{n}-%{realversion}-patch1/Makefile.am.patch
34   make -f admin/Makefile.common cvs
35   %endif
36  
37   %build
38   %if "%{machine_os}" == "slc4"
39 < export CPPFLAGS="-I$LIBPNG_ROOT/include -I$LIBJPG_ROOT/include -I$ZLIB_ROOT/include"
40 < export LDFLAGS="-L$LIBPNG_ROOT/lib -L$LIBJPG_ROOT/lib -L$ZLIB_ROOT/lib"
41 < ./configure --prefix=%i
39 > export CPPFLAGS="-I$LIBPNG_ROOT/include"
40 > export LDFLAGS="-L$LIBPNG_ROOT/lib"
41 > ./configure --prefix=%i --disable-rpath
42 > patch -u %{_builddir}/%n-%realversion/libtool %{_builddir}/%{n}-%{realversion}-patch1/libtool.patch
43   make %makeprocesses
44   %install
45   make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines