1 |
|
### RPM external dcap 1.2.35 |
2 |
+ |
Requires: gcc-wrapper |
3 |
|
# Fakes the presence of dcap since we are not allowed to distribute it. |
4 |
|
Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.tar.gz |
5 |
|
Patch: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.patch |
6 |
+ |
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
7 |
+ |
%if "%cpu" != "amd64" |
8 |
+ |
%define libsuffix %{nil} |
9 |
+ |
%else |
10 |
+ |
%define libsuffix ()(64bit) |
11 |
+ |
%endif |
12 |
+ |
|
13 |
+ |
Provides: libdcap.so%{libsuffix} |
14 |
+ |
Provides: libpdcap.so%{libsuffix} |
15 |
|
%prep |
16 |
|
%setup -n %n-%v |
17 |
|
%patch0 -p1 |
18 |
|
%build |
19 |
+ |
## IMPORT gcc-wrapper |
20 |
|
make BIN_PATH=%i %makeprocesses |
21 |
|
%install |
22 |
< |
make BIN_PATH=%i |
22 |
> |
make BIN_PATH=%i install |
23 |
> |
# |