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