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