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