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