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