-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifold.spec
63 lines (49 loc) · 1.78 KB
/
manifold.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# this is a VERY ROUGH / DUMMY specfile for manifold
# in essence it's only here because the PlanetLab build is brain-damaged and
# expects a specfile to be present first-stage
%define name manifold
# usually (with the PL build) the specfile is the reference location
# where the version number is set; here whoever we keep the original
# way of managing version number in the python source
# module-tools probably won't work nice here
# xxx this would be the right way to go but unfortunately it won't run
# under spec2make...
# %define version %(python -c "import tophat; print tophat.__version__")
# so we need to keep both places in sync (tophat/__init__.py)
%define version 2.0
%define taglevel 0
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Summary: Manifold Backend
Name: %{name}
Version: %{version}
Release: %{release}
License: GPLv3
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Vendor: OpenLab
Packager: OpenLab <thierry.parmentelat@inria.fr>
URL: %{SCMURL}
# xxx to be refined later
Requires: python >= 2.7
BuildRequires: python-setuptools make
%description
Manifold offers an infrastructure for easily mixing various feeds,
either testbeds, or measurement frameworks, and aggregate the results
in some unified/consolidated way. Manifold is bhind TopHat and
MySlice, but is designed to be re-usable in any similar context.
%prep
%setup -q
%build
%{__make} buildrpm
%install
rm -rf $RPM_BUILD_ROOT
%{__make} installrpm DESTDIR="$RPM_BUILD_ROOT" datadir="%{_datadir}" bindir="%{_bindir}"
%clean
rm -rf $RPM_BUILD_ROOT
# this specfile being not really used for now we don't bother to define
# fine-grained packages in here for now
%files
%defattr(-,root,root,-)
%dir %{_datadir}/manifold
%{_datadir}/manifold/*
%changelog