1 |
# $Id: smeserver-usbdisksmanager.spec,v 1.7 2008/06/27 15:14:41 snetram Exp $ |
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 10 |
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 |
Patch1: smeserver-usbdisksmanager-0.2-locale-2008-04-21.patch |
22 |
Patch2: smeserver-usbdisksmanager-0.2-locale-2008-04-22.patch |
23 |
Patch3: smeserver-usbdisksmanager-0.2-locale-2008-04-23.patch |
24 |
Patch4: smeserver-usbdisksmanager-0.2-locale-2008-04-26.patch |
25 |
Patch5: smeserver-usbdisksmanager-0.2-locale-2008-05-05.patch |
26 |
Patch6: smeserver-usbdisksmanager-0.2-locale-2008-05-21.patch |
27 |
Patch7: smeserver-usbdisksmanager-0.2-locale-2008-06-27.patch |
28 |
Patch8: smeserver-usbdisksmanager-0.2-locale-2008-07-01.patch |
29 |
BuildRoot: /var/tmp/e-smith-buildroot |
30 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
BuildArchitectures: noarch |
32 |
|
33 |
Requires: smeserver-release >= 7.0 |
34 |
AutoReqProv: no |
35 |
|
36 |
%changelog |
37 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-10 |
38 |
- Apply 1 July 2008 locale patch |
39 |
|
40 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-9 |
41 |
- Apply 27 Jun 2008 locale patch |
42 |
|
43 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-8 |
44 |
- Apply 21 May 2008 locale patch |
45 |
|
46 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-7 |
47 |
- Apply 5 May 2008 locale patch |
48 |
|
49 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-6 |
50 |
- Apply 26 April 2008 locale patch |
51 |
|
52 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-5 |
53 |
- Apply 23 April 2008 locale patch |
54 |
|
55 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-4 |
56 |
- Apply 22 April 2008 locale patch |
57 |
|
58 |
* Mon Apr 21 2008 Stephen Noble <support@dungog.net> 0.2-3 |
59 |
- smeserver-usbdisksmanager-0.2-locale-2008-04-21.patch |
60 |
|
61 |
* Fri Apr 18 2008 Stephen Noble <support@dungog.net> 0.2-2 |
62 |
- remove help to wiki to simplify translations [SME 4208] |
63 |
|
64 |
* Mon Apr 9 2007 JP PIALASSE tests@pialasse.com 0.2-0.5 |
65 |
- how to format your hard drive |
66 |
- auto mount to media folder |
67 |
- mount options for mount to can be set |
68 |
- new Help section |
69 |
|
70 |
%description |
71 |
Web interface to manage removable hard drive, and auto mount to a point script |
72 |
|
73 |
%prep |
74 |
%setup |
75 |
%patch0 -p1 |
76 |
%patch1 -p1 |
77 |
%patch2 -p1 |
78 |
%patch3 -p1 |
79 |
%patch4 -p1 |
80 |
%patch5 -p1 |
81 |
%patch6 -p1 |
82 |
%patch7 -p1 |
83 |
%patch8 -p1 |
84 |
|
85 |
%install |
86 |
|
87 |
/bin/rm -rf $RPM_BUILD_ROOT |
88 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
89 |
/bin/rm -f %{name}-%{version}-filelist |
90 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
91 |
|
92 |
%files -f %{name}-%{version}-filelist |
93 |
%defattr(750,root,root) |
94 |
%{installdir_usbdisks_sh}/usbdisks.sh |
95 |
%defattr(4750,root,admin) |
96 |
%{installdir_usbdisksmanager}/usbdisks |
97 |
|
98 |
%clean |
99 |
rm -rf $RPM_BUILD_ROOT |
100 |
|