1 |
brianr |
1.1 |
# $Id: smeserver-usbdisksmanager.spec,v 1.7 2019/01/25 01:16:18 jpp 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 1.2 |
14 |
|
|
%define release 7 |
15 |
|
|
Version: %{version} |
16 |
|
|
Release: %{release}%{?dist} |
17 |
|
|
License: GNU GPL version 2 |
18 |
|
|
Group: SMEserver/addon |
19 |
|
|
Source: %{name}-%{version}.tar.gz |
20 |
|
|
Patch0: smeserver-usbdisksmanager-1.2-locale-2016-03-09.patch |
21 |
|
|
Patch1: smeserver-usbdisksmanager-1.2-sme9fix.patch |
22 |
|
|
Patch2: smeserver-usbdisksmanager-1.2-sme9fix2.patch |
23 |
|
|
Patch3: smeserver-usbdisksmanager-1.2-bz10294-tidy-options.patch |
24 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
25 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
|
|
BuildArchitectures: noarch |
27 |
|
|
Requires: smeserver-release >= 8.0 |
28 |
|
|
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%changelog |
31 |
|
|
* Sun Jan 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-7.sme |
32 |
|
|
- tidy mount options to remove managed and pamconsole options [SME: 10294] |
33 |
|
|
|
34 |
|
|
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-5.sme |
35 |
|
|
- fix mount does not work [SME: 8597] |
36 |
|
|
- new default for mounting options |
37 |
|
|
|
38 |
|
|
* Fri Mar 24 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-4.sme |
39 |
|
|
- fix multiple issues for SME9 [SME: 8597] |
40 |
|
|
|
41 |
|
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2-3.sme |
42 |
|
|
- apply locale 2016-03-09 patch |
43 |
|
|
|
44 |
|
|
* Fri Sep 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-2.sme |
45 |
|
|
- Initial release to contribs9 |
46 |
|
|
|
47 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
48 |
|
|
- apply locale 2013-07-14 patch |
49 |
|
|
* Tue Jun 26 2012 JP PIALASSE tests@pialasse.com 1.0-2.sme |
50 |
|
|
- manager interface display fix [SME 6989] |
51 |
|
|
- blkid cache removed for manager listing [SME 6990] |
52 |
|
|
- Apply local 2012-06-26 |
53 |
|
|
* Sat Jun 16 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
54 |
|
|
- Initial version |
55 |
|
|
|
56 |
|
|
%description |
57 |
|
|
Web interface to manage removable hard drive, and auto mount to a point script |
58 |
|
|
|
59 |
|
|
%prep |
60 |
|
|
%setup |
61 |
|
|
%patch0 -p1 |
62 |
|
|
%patch1 -p1 |
63 |
|
|
%patch2 -p1 |
64 |
|
|
%patch3 -p1 |
65 |
|
|
|
66 |
|
|
%install |
67 |
|
|
|
68 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
71 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
72 |
|
|
|
73 |
|
|
%files -f %{name}-%{version}-filelist |
74 |
|
|
%defattr(750,root,root) |
75 |
|
|
%{installdir_usbdisks_sh}/usbdisks.sh |
76 |
|
|
%defattr(4750,root,admin) |
77 |
|
|
%{installdir_usbdisksmanager}/usbdisks |
78 |
|
|
|
79 |
|
|
%clean |
80 |
|
|
rm -rf $RPM_BUILD_ROOT |
81 |
|
|
|