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.0.18-gcc42 |
5 |
|
|
6 |
|
%prep |
7 |
|
%setup -q -n libsigc++-%{realversion} |
8 |
+ |
#case %gccver in |
9 |
+ |
# 4.3.*) |
10 |
+ |
#%patch0 -p2 |
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}/ |
19 |
> |
cp %i/lib/sigc++-2.0/include/sigc++config.h %i/include/sigc++-2.0/ |
20 |
|
# SCRAM ToolBox toolfile |
21 |
|
mkdir -p %i/etc/scram.d |
22 |
|
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |