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