1 |
chriscosta |
1.4 |
# $Id: smeserver-tw-logonscript.spec,v 1.3 2009/10/19 21:37:17 chriscosta Exp $ |
2 |
slords |
1.1 |
# Authority: chriscosta |
3 |
|
|
# Name: Christian Costa |
4 |
|
|
|
5 |
|
|
%define name smeserver-tw-logonscript |
6 |
|
|
%define version 1.3 |
7 |
chriscosta |
1.4 |
%define release 5 |
8 |
slords |
1.1 |
Summary: TechnologyWise Windows/Linux logon script for Samba |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
Source: smeserver-tw-logonscript-%{version}.tar.gz |
13 |
chriscosta |
1.3 |
Patch0: smeserver-tw-logonscript-1.3-removeblank.patch |
14 |
slords |
1.1 |
License: GNU GPL version 2 |
15 |
chriscosta |
1.3 |
Group: Networking/Daemons |
16 |
slords |
1.1 |
BuildArchitectures: noarch |
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
chriscosta |
1.4 |
BuildRequires: e-smith-devtools |
19 |
slords |
1.1 |
|
20 |
|
|
%description |
21 |
|
|
TechnologyWise Windows/Linux logon script for Samba |
22 |
|
|
|
23 |
|
|
%prep |
24 |
|
|
%setup |
25 |
chriscosta |
1.3 |
%patch0 -p1 |
26 |
slords |
1.1 |
|
27 |
|
|
%build |
28 |
|
|
perl createlinks |
29 |
|
|
|
30 |
|
|
%install |
31 |
|
|
rm -rf $RPM_BUILD_ROOT |
32 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
33 |
|
|
rm -f %{name}-%{version}-filelist |
34 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
35 |
|
|
> %{name}-%{version}-filelist |
36 |
|
|
|
37 |
|
|
%clean |
38 |
|
|
cd .. |
39 |
|
|
rm -rf %{name} |
40 |
|
|
|
41 |
|
|
%files -f %{name}-%{version}-filelist |
42 |
|
|
%defattr(-,root,root) |
43 |
|
|
|
44 |
|
|
%changelog |
45 |
chriscosta |
1.4 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-5 |
46 |
|
|
Added e-smith-devtools as a build requirement |
47 |
chriscosta |
1.3 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-04 |
48 |
|
|
Removed a blank space from the source code for testing purposes |
49 |
slords |
1.1 |
* 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 |
|
|
|