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