1 |
# $Id$ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-usbdisksmanager |
6 |
%define name smeserver-usbdisksmanager |
7 |
|
8 |
# Variable representing installation directories: |
9 |
%define installdir_usbdisksmanager /etc/e-smith/web/functions |
10 |
%define installdir_usbdisks_sh /usr/sbin |
11 |
|
12 |
Name: %{name} |
13 |
%define version 0.2 |
14 |
%define release 0.1 |
15 |
Version: %{version} |
16 |
Release: %{release}%{?dist} |
17 |
License: GPL |
18 |
Group: /Applications |
19 |
Source: %{name}-%{version}.tgz |
20 |
BuildRoot: /var/tmp/e-smith-buildroot |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
BuildArchitectures: noarch |
23 |
|
24 |
Requires: smeserver-release >= 7.0 |
25 |
AutoReqProv: no |
26 |
|
27 |
%changelog |
28 |
* Mon Apr 9 2007 JP PIALASSE tests@pialasse.com 0.2-0.5 |
29 |
- how to format your hard drive |
30 |
- auto mount to media folder |
31 |
- mount options for mount to can be set |
32 |
- new Help section |
33 |
|
34 |
%description |
35 |
Web interface to manage removable hard drive, and auto mount to a point script |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
|
40 |
%install |
41 |
|
42 |
/bin/rm -rf $RPM_BUILD_ROOT |
43 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
44 |
/bin/rm -f %{name}-%{version}-filelist |
45 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
46 |
|
47 |
%files -f %{name}-%{version}-filelist |
48 |
%defattr(750,root,root) |
49 |
%{installdir_usbdisks_sh}/usbdisks.sh |
50 |
%defattr(4750,root,admin) |
51 |
%{installdir_usbdisksmanager}/usbdisks |
52 |
|
53 |
%clean |
54 |
rm -rf $RPM_BUILD_ROOT |
55 |
|