1 |
# $Id: smeserver-usbdisksmanager.spec,v 1.25 2012/03/20 15:39:31 slords 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 26 |
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 |
Patch9: smeserver-usbdisksmanager-0.2-locale-2008-09-27.patch |
30 |
Patch10: smeserver-usbdisksmanager-0.2-locale-2008-10-15.patch |
31 |
Patch11: smeserver-usbdisksmanager-0.2-locale-2008-10-16.patch |
32 |
Patch12: smeserver-usbdisksmanager-0.2-locale-2008-11-19.patch |
33 |
Patch13: smeserver-usbdisksmanager-0.2-locale-2009-01-01.patch |
34 |
Patch14: smeserver-usbdisksmanager-0.2-locale-2009-03-01.patch |
35 |
Patch15: smeserver-usbdisksmanager-0.2-locale-2009-03-03.patch |
36 |
Patch16: smeserver-usbdisksmanager-0.2-locale-2009-04-27.patch |
37 |
Patch17: smeserver-usbdisksmanager-0.2-locale-2009-05-20.patch |
38 |
Patch18: smeserver-usbdisksmanager-0.2-locale-2009-08-24.patch |
39 |
Patch19: smeserver-usbdisksmanager-0.2-locale-2009-10-27.patch |
40 |
Patch20: smeserver-usbdisksmanager-0.2-locale-2010-03-02.patch |
41 |
Patch21: smeserver-usbdisksmanager-0.2-locale-2010-05-23.patch |
42 |
Patch22: smeserver-usbdisksmanager-0.2-locale-2011-03-06.patch |
43 |
Patch23: smeserver-usbdisksmanager-0.2-locale-2012-03-20.patch |
44 |
Patch24: smeserver-usbdisksmanager-0.2-locale-2012-06-27.patch |
45 |
Patch25: smeserver-usbdisksmanager-0.2-patch1.patch |
46 |
BuildRoot: /var/tmp/e-smith-buildroot |
47 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
48 |
BuildArchitectures: noarch |
49 |
|
50 |
Requires: smeserver-release >= 7.0 |
51 |
AutoReqProv: no |
52 |
|
53 |
%changelog |
54 |
* Wed June 27 2012 JP Pialasse <tests@pialasse.com> 0.2-26.sme |
55 |
- apply locale 2012-06-27 patch |
56 |
- fixing pannel listing cache [SME 6990] |
57 |
- adding RAID device recognition |
58 |
|
59 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.2-25.el6 |
60 |
- apply locale 2012-03-20 patch |
61 |
|
62 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.2-24.sme |
63 |
- apply locale 2011-03-06 patch |
64 |
|
65 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.2-23.sme |
66 |
- apply locale 2010-05-23 patch |
67 |
|
68 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.2-22.sme |
69 |
- apply locale 2010-03-02 patch |
70 |
|
71 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.2-21.sme |
72 |
- apply locale 2009-10-27 patch |
73 |
|
74 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.2-20.sme |
75 |
- apply locale 2009-08-24 patch |
76 |
|
77 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.2-19.sme |
78 |
- apply locale 2009-05-20 patch |
79 |
|
80 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 0.2-18.sme |
81 |
- apply locale 2009-04-27 patch |
82 |
|
83 |
* Tue Mar 03 2009 SME Translation Server |
84 |
- apply locale 2009-03-03 patch |
85 |
|
86 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-16 |
87 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
88 |
|
89 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-15 |
90 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
91 |
|
92 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-14 |
93 |
- Apply 19 Nov 2008 locale patch |
94 |
|
95 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-13 |
96 |
- Apply 16 Oct 2008 locale patch |
97 |
|
98 |
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-12 |
99 |
- Apply 15 Oct 2008 locale patch |
100 |
|
101 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 0.2-11 |
102 |
- Apply locale patch |
103 |
|
104 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-10 |
105 |
- Apply 1 July 2008 locale patch |
106 |
|
107 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-9 |
108 |
- Apply 27 Jun 2008 locale patch |
109 |
|
110 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-8 |
111 |
- Apply 21 May 2008 locale patch |
112 |
|
113 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-7 |
114 |
- Apply 5 May 2008 locale patch |
115 |
|
116 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-6 |
117 |
- Apply 26 April 2008 locale patch |
118 |
|
119 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-5 |
120 |
- Apply 23 April 2008 locale patch |
121 |
|
122 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-4 |
123 |
- Apply 22 April 2008 locale patch |
124 |
|
125 |
* Mon Apr 21 2008 Stephen Noble <support@dungog.net> 0.2-3 |
126 |
- smeserver-usbdisksmanager-0.2-locale-2008-04-21.patch |
127 |
|
128 |
* Fri Apr 18 2008 Stephen Noble <support@dungog.net> 0.2-2 |
129 |
- remove help to wiki to simplify translations [SME 4208] |
130 |
|
131 |
* Mon Apr 9 2007 JP PIALASSE tests@pialasse.com 0.2-0.5 |
132 |
- how to format your hard drive |
133 |
- auto mount to media folder |
134 |
- mount options for mount to can be set |
135 |
- new Help section |
136 |
|
137 |
%description |
138 |
Web interface to manage removable hard drive, and auto mount to a point script |
139 |
|
140 |
%prep |
141 |
%setup |
142 |
%patch0 -p1 |
143 |
%patch1 -p1 |
144 |
%patch2 -p1 |
145 |
%patch3 -p1 |
146 |
%patch4 -p1 |
147 |
%patch5 -p1 |
148 |
%patch6 -p1 |
149 |
%patch7 -p1 |
150 |
%patch8 -p1 |
151 |
%patch9 -p1 |
152 |
%patch10 -p1 |
153 |
%patch11 -p1 |
154 |
%patch12 -p1 |
155 |
%patch13 -p1 |
156 |
%patch14 -p1 |
157 |
%patch15 -p1 |
158 |
%patch16 -p1 |
159 |
%patch17 -p1 |
160 |
%patch18 -p1 |
161 |
%patch19 -p1 |
162 |
%patch20 -p1 |
163 |
%patch21 -p1 |
164 |
%patch22 -p1 |
165 |
%patch23 -p1 |
166 |
|
167 |
%install |
168 |
|
169 |
/bin/rm -rf $RPM_BUILD_ROOT |
170 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
171 |
/bin/rm -f %{name}-%{version}-filelist |
172 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
173 |
|
174 |
%files -f %{name}-%{version}-filelist |
175 |
%defattr(750,root,root) |
176 |
%{installdir_usbdisks_sh}/usbdisks.sh |
177 |
%defattr(4750,root,admin) |
178 |
%{installdir_usbdisksmanager}/usbdisks |
179 |
|
180 |
%clean |
181 |
rm -rf $RPM_BUILD_ROOT |
182 |
|