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