1 |
slords |
1.1 |
%define name smeserver-tw-logonscript |
2 |
|
|
%define version 1.3 |
3 |
|
|
%define release 3 |
4 |
|
|
Summary: TechnologyWise Windows/Linux logon script for Samba |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
Source: smeserver-tw-logonscript-1.3.tar.gz |
9 |
|
|
License: GNU GPL version 2 |
10 |
|
|
Group: Applications/Backup |
11 |
|
|
BuildArchitectures: noarch |
12 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
|
|
|
14 |
|
|
%description |
15 |
|
|
TechnologyWise Windows/Linux logon script for Samba |
16 |
|
|
|
17 |
|
|
|
18 |
|
|
%prep |
19 |
|
|
%setup |
20 |
|
|
%build |
21 |
|
|
perl createlinks |
22 |
|
|
|
23 |
|
|
%install |
24 |
|
|
rm -rf $RPM_BUILD_ROOT |
25 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
26 |
|
|
rm -f %{name}-%{version}-filelist |
27 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
28 |
|
|
> %{name}-%{version}-filelist |
29 |
|
|
|
30 |
|
|
%pre |
31 |
|
|
|
32 |
|
|
%post |
33 |
|
|
/etc/e-smith/events/actions/navigation-conf |
34 |
|
|
echo "Please run: signal-event workgroup-update after you're done with the setup" |
35 |
|
|
|
36 |
|
|
%preun |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
%clean |
41 |
|
|
cd .. |
42 |
|
|
rm -rf %{name} |
43 |
|
|
|
44 |
|
|
%files -f %{name}-%{version}-filelist |
45 |
|
|
%defattr(-,root,root) |
46 |
|
|
|
47 |
|
|
|
48 |
|
|
%changelog |
49 |
|
|
* Thu Oct 8 2009 Christian Costa <christian@tw.co.nz> |
50 |
|
|
Added localisation support |
51 |
|
|
Added server-manager embedded custom group batch file editing |
52 |
|
|
Fixed a bug with user custom scripts that were being executed more than once |
53 |
|
|
* Thu Sep 3 2009 Christian Costa <christian@tw.co.nz> |
54 |
|
|
New specs file, new version number |
55 |
|
|
* Mon Aug 10 2009 Christian Costa <christian@tw.co.nz> |
56 |
|
|
Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
57 |
|
|
* Wed Jul 8 2009 Christian Costa <christian@tw.co.nz> |
58 |
|
|
Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
59 |
|
|
* Wed Jul 29 2008 Christian Costa <christian@tw.co.nz> |
60 |
|
|
Added a feature that maps the drive if all users are allowed to read an I-bay. |
61 |
|
|
Extended the drive letter range from F to Z. |
62 |
|
|
* Wed Jul 9 2008 Christian Costa <christian@tw.co.nz> |
63 |
|
|
Added the server-manager web interface to the package. |
64 |
|
|
|