Setting tag planetlab-umts-tools-0.7-1
[planetlab-umts-tools.git] / backend.spec
1 %define module_taglevel_varname release
2
3 %define name planetlab-umts-tools-backend
4 %define version 0.7
5 %define release 1
6
7 Summary: Umts-tools for PlanetLab - backend part
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 Source0: %{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13 BuildArch: noarch
14 Vendor: Universita Federico II di Napoli for Onelab
15 Group: Utilities
16 URL: http://www.unina.it
17 License: GPL
18 Prefix: %{_prefix}
19
20 Requires: vsys
21
22 %description
23 Backend part of a program that allows users of a slice to control a PPP connection over a 3G umts/hsdpa connect card and set the route entries required to use it.
24
25 %prep
26 %setup -q
27
28 %build
29 rm -rf $RPM_BUILD_ROOT
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 pushd backend
34 mkdir -p $RPM_BUILD_ROOT
35 make clean
36 make install prefix=$RPM_BUILD_ROOT
37 popd
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %post 
43 /sbin/udevadm control reload_rules
44 sleep 1
45 /sbin/udevtrigger
46 #/bin/sleep 2
47 #/sbin/chkconfig umts on
48 /sbin/service vsys restart
49
50 %preun
51 #/sbin/chkconfig umts off
52
53 %files
54 /vsys/umtsd
55 /usr/lib/umts_functions
56 /etc/udev/rules.d/96-umts-tools.rules
57
58 %defattr(-,root,root)
59 %doc AUTHORS TODO
60
61 %changelog
62 * Sun Jul 14 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - planetlab-umts-tools-0.7-1
63 - add support for lxc-based nodes (not suitable for vs-based nodes)
64
65 * Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - planetlab-umts-tools-0.6-6
66 - no semantic change - just fixed specfile for git URL
67
68 * Tue Jul 06 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - planetlab-umts-tools-0.6-5
69 - cosmetic changes from Giovanni.
70
71 * Tue Sep 30 2008 Giovanni Di Stasi <giovanni.distasi@unina.it> -
72 - initial revision