1 |
terryfage |
1.4 |
# $Id: smeserver-usbdisksmanager.spec,v 1.3 2021/03/27 10:06:01 brianr Exp $ |
2 |
brianr |
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 1.2 |
14 |
terryfage |
1.4 |
%define release 10 |
15 |
brianr |
1.1 |
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 |
brianr |
1.2 |
Patch4: smeserver-usbdisksmanager-1.2-Add-link-in-createlinks-to-wrapper.patch |
25 |
brianr |
1.3 |
Patch5: smeserver-usbdisksmanager-1.2-Add-Update-event-to-createlinks.patch |
26 |
terryfage |
1.4 |
Patch6: smeserver-usbdisksmanager-1.2-locale-2021-08-25.patch |
27 |
brianr |
1.2 |
|
28 |
brianr |
1.1 |
BuildRoot: /var/tmp/e-smith-buildroot |
29 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
|
|
BuildArchitectures: noarch |
31 |
|
|
Requires: smeserver-release >= 8.0 |
32 |
|
|
AutoReqProv: no |
33 |
|
|
|
34 |
|
|
%changelog |
35 |
terryfage |
1.4 |
* Wed Aug 25 2021 Terry Fage <terryf@ozemail.com.au> 1.2-10.sme |
36 |
|
|
- apply locale 2016-03-09 patch |
37 |
|
|
|
38 |
brianr |
1.3 |
* Sat Mar 27 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-9.sme |
39 |
|
|
- Add Update event to createlinks [SME: 11076] |
40 |
|
|
|
41 |
|
|
* Sat Mar 27 2021 BogusDateBot |
42 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
43 |
|
|
by assuming the date is correct and changing the weekday. |
44 |
|
|
|
45 |
brianr |
1.2 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-8.sme |
46 |
|
|
- Initial import into SME10 tree [SME: 11076] |
47 |
|
|
- Add link to wrapper in createlinks |
48 |
|
|
|
49 |
brianr |
1.1 |
* Sun Jan 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-7.sme |
50 |
|
|
- tidy mount options to remove managed and pamconsole options [SME: 10294] |
51 |
|
|
|
52 |
|
|
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-5.sme |
53 |
brianr |
1.3 |
- Add Update event to createlinks mount does not work [SME: 8597] |
54 |
brianr |
1.1 |
- new default for mounting options |
55 |
|
|
|
56 |
|
|
* Fri Mar 24 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-4.sme |
57 |
brianr |
1.3 |
- Add Update event to createlinks multiple issues for SME9 [SME: 8597] |
58 |
brianr |
1.1 |
|
59 |
|
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2-3.sme |
60 |
|
|
- apply locale 2016-03-09 patch |
61 |
|
|
|
62 |
|
|
* Fri Sep 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-2.sme |
63 |
|
|
- Initial release to contribs9 |
64 |
|
|
|
65 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
66 |
|
|
- apply locale 2013-07-14 patch |
67 |
|
|
* Tue Jun 26 2012 JP PIALASSE tests@pialasse.com 1.0-2.sme |
68 |
|
|
- manager interface display fix [SME 6989] |
69 |
|
|
- blkid cache removed for manager listing [SME 6990] |
70 |
|
|
- Apply local 2012-06-26 |
71 |
|
|
* Sat Jun 16 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
72 |
|
|
- Initial version |
73 |
|
|
|
74 |
|
|
%description |
75 |
|
|
Web interface to manage removable hard drive, and auto mount to a point script |
76 |
|
|
|
77 |
|
|
%prep |
78 |
|
|
%setup |
79 |
|
|
%patch0 -p1 |
80 |
|
|
%patch1 -p1 |
81 |
|
|
%patch2 -p1 |
82 |
|
|
%patch3 -p1 |
83 |
brianr |
1.2 |
%patch4 -p1 |
84 |
brianr |
1.3 |
%patch5 -p1 |
85 |
terryfage |
1.4 |
%patch6 -p1 |
86 |
brianr |
1.2 |
|
87 |
|
|
%build |
88 |
|
|
perl createlinks |
89 |
brianr |
1.1 |
|
90 |
|
|
%install |
91 |
|
|
|
92 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
93 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
94 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
95 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
96 |
|
|
|
97 |
|
|
%files -f %{name}-%{version}-filelist |
98 |
|
|
%defattr(750,root,root) |
99 |
|
|
%{installdir_usbdisks_sh}/usbdisks.sh |
100 |
|
|
%defattr(4750,root,admin) |
101 |
|
|
%{installdir_usbdisksmanager}/usbdisks |
102 |
|
|
|
103 |
|
|
%clean |
104 |
|
|
rm -rf $RPM_BUILD_ROOT |
105 |
|
|
|