1 |
eulisse |
1.1 |
### RPM cms release-tools 1.0
|
2 |
ratnik |
1.4 |
Requires: gcc-wrapper
|
3 |
eulisse |
1.1 |
|
4 |
|
|
%define cvstag V00-01-01
|
5 |
|
|
%define moduleName Utilities/ReleaseScripts
|
6 |
|
|
%define exportName ReleaseScripts
|
7 |
|
|
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
|
8 |
|
|
Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/ReleaseScripts.tar.gz
|
9 |
|
|
Requires: p5-template-toolkit p5-dbi
|
10 |
|
|
|
11 |
|
|
%prep
|
12 |
|
|
%setup -n ReleaseScripts
|
13 |
|
|
%build
|
14 |
ratnik |
1.4 |
## IMPORT gcc-wrapper
|
15 |
eulisse |
1.1 |
%install
|
16 |
|
|
mkdir -p %{i}/bin
|
17 |
|
|
cp -r ReleaseScripts/scripts/* %{i}/bin
|
18 |
|
|
ln -sf %{i}/etc/profile.d/init.sh %{instroot}/%{cmsplatf}/etc/profile.d/S00release-tools.sh
|
19 |
|
|
ln -sf %{i}/etc/profile.d/init.csh %{instroot}/%{cmsplatf}/etc/profile.d/S00release-tools.csh
|
20 |
|
|
ln -sf %{i}/inst-files %{instroot}/inst-files
|
21 |
eulisse |
1.3 |
|
22 |
eulisse |
1.1 |
%files
|
23 |
|
|
%{i}
|
24 |
|
|
%{instroot}/%{cmsplatf}/etc/profile.d/S00release-tools.sh
|
25 |
|
|
%{instroot}/%{cmsplatf}/etc/profile.d/S00release-tools.csh
|
26 |
|
|
|
27 |
|
|
%post
|
28 |
|
|
ln -sf $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.sh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00release-tools.sh
|
29 |
|
|
ln -sf $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.csh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00release-tools.csh
|