1 |
dungog |
1.2 |
# $Id: smeserver-usbdisksmanager-0.2.spec,v 1.1 2008/04/15 15:12:00 slords Exp $ |
2 |
slords |
1.1 |
# 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 |
dungog |
1.2 |
%define release 0.2 |
15 |
|
|
Version: %{version} |
16 |
|
|
Release: %{release}%{?dist} |
17 |
|
|
License: GNU GPL version 2 |
18 |
|
|
Group: SMEserver/addon |
19 |
|
|
Source: %{name}-%{version}.tgz |
20 |
|
|
Patch0: smeserver-usbdisksmanager-0.2-removehelp.patch |
21 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
22 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
dungog |
1.2 |
BuildArchitectures: noarch |
24 |
slords |
1.1 |
|
25 |
|
|
Requires: smeserver-release >= 7.0 |
26 |
|
|
AutoReqProv: no |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
dungog |
1.2 |
* Fri Apr 18 2008 Stephen Noble <support@dungog.net> 0.2-2 |
30 |
|
|
- remove help to wiki to simplify translations [SME 4208] |
31 |
|
|
|
32 |
slords |
1.1 |
* Mon Apr 9 2007 JP PIALASSE tests@pialasse.com 0.2-0.5 |
33 |
|
|
- how to format your hard drive |
34 |
|
|
- auto mount to media folder |
35 |
|
|
- mount options for mount to can be set |
36 |
|
|
- new Help section |
37 |
|
|
|
38 |
|
|
%description |
39 |
|
|
Web interface to manage removable hard drive, and auto mount to a point script |
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup |
43 |
dungog |
1.2 |
%patch0 -p1 |
44 |
slords |
1.1 |
|
45 |
|
|
%install |
46 |
|
|
|
47 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
48 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
50 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
51 |
|
|
|
52 |
|
|
%files -f %{name}-%{version}-filelist |
53 |
|
|
%defattr(750,root,root) |
54 |
|
|
%{installdir_usbdisks_sh}/usbdisks.sh |
55 |
|
|
%defattr(4750,root,admin) |
56 |
|
|
%{installdir_usbdisksmanager}/usbdisks |
57 |
|
|
|
58 |
|
|
%clean |
59 |
|
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
|