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

Comparing COMP/CMSDIST/sigcpp.spec (file contents):
Revision 1.9 by elmer, Fri Nov 2 16:40:18 2007 UTC vs.
Revision 1.16 by elmer, Sun Mar 6 22:07:22 2011 UTC

# Line 1 | Line 1
1 < ### RPM external sigcpp 2.0.17-CMS18
1 > ### RPM external sigcpp 2.2.3
2   %define majorv %(echo %realversion | cut -d. -f1,2)
3   Source: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/%{majorv}/libsigc++-%{realversion}.tar.gz
4 + Patch0: sigcpp-2.2.3-gcc46
5  
6   %prep
7   %setup -q -n libsigc++-%{realversion}
8 + case %gccver in
9 +  4.6.*)
10 + %patch0 -p1
11 +  ;;
12 + esac
13   ./configure --prefix=%{i}
14  
15   %build
16   make %makeprocesses
17   %install
18   make install
19 < cp %i/lib/sigc++-%{majorv}/include/sigc++config.h %i/include/sigc++-%{majorv}/
20 < # SCRAM ToolBox toolfile
21 < mkdir -p %i/etc/scram.d
22 < cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
23 < <doc type=BuildSystem::ToolDoc version=1.0>
24 < <Tool name=sigcpp version=%v>
25 < <lib name=sigc-2.0>
26 < <Client>
27 < <Environment name=SIGCPP_BASE default="%i"></Environment>
22 < <Environment name=LIBDIR default="$SIGCPP_BASE/lib"></Environment>
23 < <Environment name=INCLUDE default="$SIGCPP_BASE/include/sigc++-2.0"></Environment>
24 < </Client>
25 < </Tool>
26 < EOF_TOOLFILE
27 <
28 < %post
29 < %{relocateConfig}etc/scram.d/%n
19 > # We remove pkg-config files for two reasons:
20 > # * it's actually not required (macosx does not even have it).
21 > # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
22 > #   on linux.
23 > # In the case at some point we build a package that can be build
24 > # only via pkg-config we have to think on how to ship our own
25 > # version.
26 > rm -rf %i/lib/pkgconfig
27 > cp %i/lib/sigc++-2.0/include/sigc++config.h %i/include/sigc++-2.0/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines