/[smecontribs]/rpms/smeserver-virtualbox/contribs8/smeserver-virtualbox.spec
ViewVC logotype

Contents of /rpms/smeserver-virtualbox/contribs8/smeserver-virtualbox.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Dec 30 07:40:54 2013 UTC (10 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-virtualbox-4_3_0-5_el5_sme, smeserver-virtualbox-4_3_0-5, HEAD
Initial import

1 %define name smeserver-virtualbox
2 %define version 4.3.0
3 %define release 5
4 %define rpmver 4.3.0
5 Summary: smserver rpm to install virtualbox
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 Source: %{name}-%{version}.tar.gz
10 License: GNU GPL version 2
11 URL: http://mirror.de-labrusse.fr
12 Group: SMEserver/addon
13 BuildRoot: %{_tmppath}/%{name}-buildroot
14 Prefix: %{_prefix}
15 BuildArchitectures: noarch
16 BuildRequires: e-smith-devtools
17 Requires: e-smith-release >= 8.0
18 Requires: VirtualBox-4.3
19 AutoReqProv: no
20
21 %description
22 smserver rpm to install virtualbox
23
24 %changelog
25 * Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 4.3.0-5
26 - changing naming of contrib for import into buildsys
27
28 * Tue Nov 05 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.4
29 - change name to match the virtualbox version
30 * Sat Oct 19 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.3
31 - Initial release
32
33 %prep
34 %setup
35
36 %build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
41 rm -f %{name}-%{version}-filelist
42 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
43 echo "%doc COPYING" >> %{name}-%{version}-filelist
44
45 %clean
46 cd ..
47 rm -rf %{name}-%{version}
48
49 %pre
50 %preun
51
52 %post
53 if [ $1 = 1 ] ; then
54 /bin/ln -s /etc/rc5.d/S20vboxdrv /etc/rc7.d/
55 /bin/ln -s /etc/rc5.d/S35vboxautostart-service /etc/rc7.d/
56 /bin/ln -s /etc/rc5.d/S35vboxballoonctrl-service /etc/rc7.d/
57 /bin/ln -s /etc/rc5.d/S35vboxweb-service /etc/rc7.d/
58 fi
59 /usr/bin/vboxmanage setproperty websrvauthlibrary null
60 %postun
61 #uninstall
62 if [ $1 = 0 ] ; then
63 /bin/rm -rf /etc/rc7.d/S20vboxdrv
64 /bin/rm -rf /etc/rc7.d/S35vboxautostart-service
65 /bin/rm -rf /etc/rc7.d/S35vboxballoonctrl-service
66 /bin/rm -rf /etc/rc7.d/S35vboxweb-service
67 fi
68 %files -f %{name}-%{version}-filelist
69 %defattr(-,root,root)
70

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed