Setting tag omf-5.3-9
[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 9
8
9 %define plc_name %{name}-%{version}-%{taglevel}
10 %define actual_name omf-resctl-5.3-1ubuntu10-2
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: PlanetLab <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-resctl 
55 (cd unwrap; rpm2cpio ../%{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
60 %install
61 rm -fr $RPM_BUILD_ROOT
62
63 rsync -a unwrap/ $RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 ####################
69 %files
70 %defattr(-,root,root)
71 /etc
72 /usr/sbin
73 /usr/share/omf-resctl-%{version}
74 /usr/share/doc
75
76 ####################
77 %changelog
78 * Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-9
79 - no semantic change - just fixed specfile for git URL
80
81 * Mon Aug 30 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-8
82 - new packages from NICTA
83
84 * Tue Jul 13 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-7
85 - fix omf-expctl build
86
87 * Thu Jul 08 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - omf-5.3-6
88 - updated omf packages
89
90 * Tue Jun 22 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-5
91 - cleaned up specfile for smoother upgrades
92
93 * Tue May 25 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-4
94 - fix stupid typo in tag 5.3-3
95
96 * Tue May 25 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-3
97 - fetch from the tagged omf-5.3-federation-v1.1 - and turn SHA1SUM checking back on again
98
99 * Fri Apr 02 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - omf-5.3-2
100 - package the exp. controller as well for user convenience
101