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