1 |
# $Id: smeserver-usbdisksmanager.spec,v 1.20 2009/08/24 17:58:13 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 21 |
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 |
BuildRoot: /var/tmp/e-smith-buildroot |
41 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
42 |
BuildArchitectures: noarch |
43 |
|
44 |
Requires: smeserver-release >= 7.0 |
45 |
AutoReqProv: no |
46 |
|
47 |
%changelog |
48 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.2-21.sme |
49 |
- apply locale 2009-10-27 patch |
50 |
|
51 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.2-20.sme |
52 |
- apply locale 2009-08-24 patch |
53 |
|
54 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.2-19.sme |
55 |
- apply locale 2009-05-20 patch |
56 |
|
57 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 0.2-18.sme |
58 |
- apply locale 2009-04-27 patch |
59 |
|
60 |
* Tue Mar 03 2009 SME Translation Server |
61 |
- apply locale 2009-03-03 patch |
62 |
|
63 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-16 |
64 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
65 |
|
66 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-15 |
67 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
68 |
|
69 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-14 |
70 |
- Apply 19 Nov 2008 locale patch |
71 |
|
72 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-13 |
73 |
- Apply 16 Oct 2008 locale patch |
74 |
|
75 |
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-12 |
76 |
- Apply 15 Oct 2008 locale patch |
77 |
|
78 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 0.2-11 |
79 |
- Apply locale patch |
80 |
|
81 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-10 |
82 |
- Apply 1 July 2008 locale patch |
83 |
|
84 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-9 |
85 |
- Apply 27 Jun 2008 locale patch |
86 |
|
87 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-8 |
88 |
- Apply 21 May 2008 locale patch |
89 |
|
90 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-7 |
91 |
- Apply 5 May 2008 locale patch |
92 |
|
93 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-6 |
94 |
- Apply 26 April 2008 locale patch |
95 |
|
96 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-5 |
97 |
- Apply 23 April 2008 locale patch |
98 |
|
99 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.2-4 |
100 |
- Apply 22 April 2008 locale patch |
101 |
|
102 |
* Mon Apr 21 2008 Stephen Noble <support@dungog.net> 0.2-3 |
103 |
- smeserver-usbdisksmanager-0.2-locale-2008-04-21.patch |
104 |
|
105 |
* Fri Apr 18 2008 Stephen Noble <support@dungog.net> 0.2-2 |
106 |
- remove help to wiki to simplify translations [SME 4208] |
107 |
|
108 |
* Mon Apr 9 2007 JP PIALASSE tests@pialasse.com 0.2-0.5 |
109 |
- how to format your hard drive |
110 |
- auto mount to media folder |
111 |
- mount options for mount to can be set |
112 |
- new Help section |
113 |
|
114 |
%description |
115 |
Web interface to manage removable hard drive, and auto mount to a point script |
116 |
|
117 |
%prep |
118 |
%setup |
119 |
%patch0 -p1 |
120 |
%patch1 -p1 |
121 |
%patch2 -p1 |
122 |
%patch3 -p1 |
123 |
%patch4 -p1 |
124 |
%patch5 -p1 |
125 |
%patch6 -p1 |
126 |
%patch7 -p1 |
127 |
%patch8 -p1 |
128 |
%patch9 -p1 |
129 |
%patch10 -p1 |
130 |
%patch11 -p1 |
131 |
%patch12 -p1 |
132 |
%patch13 -p1 |
133 |
%patch14 -p1 |
134 |
%patch15 -p1 |
135 |
%patch16 -p1 |
136 |
%patch17 -p1 |
137 |
%patch18 -p1 |
138 |
%patch19 -p1 |
139 |
|
140 |
%install |
141 |
|
142 |
/bin/rm -rf $RPM_BUILD_ROOT |
143 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
144 |
/bin/rm -f %{name}-%{version}-filelist |
145 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
146 |
|
147 |
%files -f %{name}-%{version}-filelist |
148 |
%defattr(750,root,root) |
149 |
%{installdir_usbdisks_sh}/usbdisks.sh |
150 |
%defattr(4750,root,admin) |
151 |
%{installdir_usbdisksmanager}/usbdisks |
152 |
|
153 |
%clean |
154 |
rm -rf $RPM_BUILD_ROOT |
155 |
|