1
%define desktop_vendor newrpms
2
%{!?_dist: %{expand: %%define dist rhfc7}}
4
Summary: GADMIN-SAMBA -- A GTK+ administation tool for the SAMBA server.
7
Release: 0.1.%{dist}.nr
9
Group: Applications/System
10
URL: http://mange.dynalias.org/linux.html
11
Source0: http://mange.dynalias.org/linux/%{name}/%{name}-%{version}.tar.gz
12
BuildRoot: %{_builddir}/%{name}-%{version}-root
13
Provides: gadmin-samba
16
GADMIN-SAMBA is a fast and easy to use GTK+ administration tool for the SAMBA server.
20
%configure SYSINIT_START_CMD="chkconfig smb on" SYSINIT_STOP_CMD="chkconfig smb off"
26
rm -rf $RPM_BUILD_ROOT
27
%makeinstall INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn`
30
install -d %{buildroot}%{_sysconfdir}/pam.d/
31
install -d %{buildroot}%{_sysconfdir}/security/console.apps
32
install -m 644 etc/pam.d/%{name} %{buildroot}%{_sysconfdir}/pam.d/%{name}
33
install -m 644 etc/security/console.apps/%{name} %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
36
install -d %{buildroot}%{_datadir}/applications
37
install -m 644 desktop/gadmin-samba.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
40
install -d %{buildroot}%{_datadir}/doc/%{name}
41
install -m 644 README COPYING AUTHORS ChangeLog %{buildroot}%{_datadir}/doc/%{name}
44
install -d %{buildroot}/home/netlogon
45
install -m 755 scripts/example.bat %{buildroot}/home/netlogon
48
install -d %{buildroot}%{_bindir}
49
install -m 755 scripts/gadmin-samba-pdf %{buildroot}%{_bindir}
53
################%find_lang %name
56
if test ! -h %{_bindir}/gadmin-samba ; then \
57
ln -s %{_bindir}/consolehelper %{_bindir}/gadmin-samba ; \
61
rm -rf $RPM_BUILD_ROOT
63
#################%files -f %{name}.lang
67
%defattr(0755, root, root)
69
%{_bindir}/gadmin-samba-pdf
70
/home/netlogon/example.bat
72
%defattr(0644, root, root)
73
#%doc COPYING AUTHORS ChangeLog
74
%{_datadir}/doc/%{name}/README
75
%{_datadir}/doc/%{name}/COPYING
76
%{_datadir}/doc/%{name}/AUTHORS
77
%{_datadir}/doc/%{name}/ChangeLog
79
%{_sysconfdir}/pam.d/%{name}
80
%{_sysconfdir}/security/console.apps/%{name}
81
%{_datadir}/applications/%{name}.desktop
82
%{_datadir}/pixmaps/*.png
83
%dir %{_datadir}/pixmaps/%{name}
84
%{_datadir}/pixmaps/%{name}/*.png
87
* Thu Feb 21 2008 Magnus-swe <magnus-swe@telia.com>
88
- Changed name from gsambad to gadmin-samba.
90
* Sat Jun 25 2007 Magnus-swe <magnus-swe@telia.com>
91
- License is now GPL version 3 or later.
92
- New share access gui layout.
93
- New user and group per share row splitting functions.
94
- Lots of other things including coloring/highlighting
95
- of the status indicator labels.
96
* Sat Jun 16 2007 Magnus-swe <magnus-swe@telia.com>
97
- Added RC start and stop commands.
98
- Updated pam.d authentication specifications.
99
* Wed Aug 2 2006 Magnus-swe <magnus-swe@telia.com>
100
- Fixed connections tab and split filenames.
101
- Fixed add_standard_users() and the NOBODY user
102
- account addition (Thanks to Andreas)
103
- Added configure option SAMBA_USERMAP.
104
- The smbusers map file will now be created if
105
- its bad or doesnt exist.
106
- The samba root user is now added as a locked account.
107
- Users changing to BDC, PDC or ADS are notified to alter
108
- samba root conditions. The 10 second non-root user dialog
109
- can now be closed with the close buttons.
110
* Sun Jul 2 2006 Magnus-swe <magnus-swe@telia.com>
111
- Added multiconnection killing and old conf backup.
112
- New detection for no good configurations.
113
* Sat Jun 17 2006 Magnus-swe <magnus-swe@telia.com>
114
- Added tabs: domain mgmt, connections and machine accounts.
115
* Thu May 25 2006 Magnus-swe <magnus-swe@telia.com>
116
- Some small typo fixes and updates.
117
* Mon Mar 27 2006 Magnus-swe <magnus-swe@telia.com>
118
- Added a virtual pdf printer and output share.
119
- Added a netlogon example.bat script and alot more.