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