Setting tag omf-5.3-11
[omf.git] / omf-expctl.spec
1 # Thierry Parmentelat - INRIA
2 # Copyright (C) 2010 INRIA
3 # License is GPL.
4
5 %define name omf-expctl
6 %define version 5.3
7 %define taglevel 11
8
9 %define plc_name %{name}-%{version}-%{taglevel}
10 %define expctl_actual_name omf-expctl-5.3-5.3.1-1
11
12 Summary: OMF Experiment Controller - for end-users
13 Name: %{name}
14 Version: %{version}
15 Release: %{taglevel}
16 License: GPL
17 Group: System Environment/Base
18 Source0: %{plc_name}.tar.bz2
19 BuildRoot: %{_tmppath}/%{plc_name}-buildroot
20
21 Vendor: NICTA
22 Packager: OneLab <devel@planet-lab.org>
23 Distribution: %{pldistro} %{plrelease}
24 URL: %{SCMURL}
25
26 BuildArch: noarch
27
28 Requires: pciutils  
29 Requires: ruby  
30 Requires: wget  
31 Requires: wireless-tools  
32 Requires: rpmlib(CompressedFileNames) <= 3.0.4-1
33 Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
34 #
35 Requires: omf-common  
36 Requires: liblog4r
37 Requires: libxmpp4r
38 #Requires: imagezip
39
40 %description 
41 The OMF Experiment Controller (EC) is the front end for
42 experimenters/users to run and manage their experiments.
43
44 ####################
45
46 %prep
47 %setup -n %{plc_name}
48
49 %build
50 rm -rf $RPM_BUILD_ROOT
51
52 mkdir unwrap
53
54 make omf-expctl 
55 (cd unwrap; rpm2cpio ../%{expctl_actual_name}.noarch.rpm | cpio -diu)
56
57 # cleanup any svn sequels
58 find unwrap -type d -name .svn -print0 | xargs -0 rm -rf
59 find unwrap -type d -name .git -print0 | xargs -0 rm -rf
60
61 %install
62 rm -fr $RPM_BUILD_ROOT
63
64 rsync -a unwrap/ $RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 ####################
70 %files
71 %defattr(-,root,root)
72 /etc
73 /usr/bin
74 /usr/share/omf-expctl-%{version}
75 /usr/share/doc
76 /usr/share/man
77
78 ####################
79 %changelog
80 * Mon Aug 29 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-11
81 - updated with latest from NICTA
82
83 * Tue Feb 01 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-10
84 - move to more recent releases of omf-resctl & related stuff
85
86 * Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-9
87 - no semantic change - just fixed specfile for git URL
88
89 * Mon Aug 30 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-8
90 - new packages from NICTA
91
92 * Tue Jul 13 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-7
93 - fix omf-expctl build
94
95 * Thu Jul 08 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-6
96 - updated omf packages
97
98 * Tue Jun 22 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-5
99 - cleaned up specfile for smoother upgrades
100
101 * Tue May 25 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-4
102 - fix stupid typo in tag 5.3-3
103
104 * Tue May 25 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-3
105 - fetch from the tagged omf-5.3-federation-v1.1 - and turn SHA1SUM checking back on again
106
107 * Fri Apr 02 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-2
108 - package the exp. controller as well for user convenience
109