ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cern.spec
Revision: 1.6
Committed: Tue Aug 30 14:41:06 2011 UTC (13 years, 8 months ago) by lat
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
Remove old obsolete RPMs and patches.

File Contents

# Content
1 ### RPM configuration cern 1.0
2 # Example file for site specific configurations.
3
4 %define sitename %n
5 %define cvstag HEAD
6 Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=COMP/SITECONFIG/%{sitename}&export=SITECONFIG&tag=-r%{cvstag}&output=/SITECONFIG.tar.gz
7
8 %prep
9 %build
10 %install
11 mkdir -p %instroot/SITECONFIG/%{sitename}/JobConfig
12 mkdir -p %instroot/SITECONFIG/%{sitename}/PhEDEx
13
14 cp %{_sourcedir}/SITECONFIG/%{sitename}/JobConfig/site-local-config.xml %{instroot}/SITECONFIG/%{sitename}/JobConfig/site-local-config.xml
15 cp %{_sourcedir}/SITECONFIG/%{sitename}/PhEDEx/storage.xml %{instroot}/SITECONFIG/%n/PhEDEx/storage.xml
16
17 %post
18 perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|" SITECONFIG/%{sitename}/storage.xml SITECONFIG/%{sitename}/site-local.xml
19 ln -sf $RPM_INSTALL_PREFIX/SITECONF/%{sitename} $RPM_INSTALL_PREFIX/SITECONF/local
20 %files
21 %instroot/SITECONFIG/%n