~ubuntu-branches/ubuntu/trusty/gadmin-samba/trusty

« back to all changes in this revision

Viewing changes to gadmin-samba.spec

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-05-04 15:03:00 UTC
  • Revision ID: james.westby@ubuntu.com-20080504150300-cwpi1c1j49dxmbv3
Tags: upstream-0.2.4
ImportĀ upstreamĀ versionĀ 0.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define desktop_vendor newrpms
 
2
%{!?_dist: %{expand: %%define dist rhfc7}}
 
3
 
 
4
Summary:        GADMIN-SAMBA -- A GTK+ administation tool for the SAMBA server.
 
5
Name:           gadmin-samba
 
6
Version:        0.2.4
 
7
Release:        0.1.%{dist}.nr
 
8
License:        GPL
 
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
 
14
 
 
15
%description
 
16
GADMIN-SAMBA is a fast and easy to use GTK+ administration tool for the SAMBA server.
 
17
 
 
18
%prep
 
19
%setup -q
 
20
%configure SYSINIT_START_CMD="chkconfig smb on" SYSINIT_STOP_CMD="chkconfig smb off"
 
21
 
 
22
%build
 
23
%{__make}
 
24
 
 
25
%install
 
26
rm -rf $RPM_BUILD_ROOT
 
27
%makeinstall INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn`
 
28
 
 
29
# Pam auth
 
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}
 
34
 
 
35
# Desktop entry
 
36
install -d %{buildroot}%{_datadir}/applications
 
37
install -m 644 desktop/gadmin-samba.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
 
38
 
 
39
# Doc files
 
40
install -d %{buildroot}%{_datadir}/doc/%{name}
 
41
install -m 644  README COPYING AUTHORS ChangeLog %{buildroot}%{_datadir}/doc/%{name}
 
42
 
 
43
# Logon scripts 
 
44
install -d %{buildroot}/home/netlogon
 
45
install -m 755 scripts/example.bat %{buildroot}/home/netlogon
 
46
 
 
47
# PDF Printer script
 
48
install -d %{buildroot}%{_bindir}
 
49
install -m 755 scripts/gadmin-samba-pdf %{buildroot}%{_bindir}
 
50
 
 
51
 
 
52
 
 
53
################%find_lang %name
 
54
 
 
55
%post 
 
56
if test ! -h %{_bindir}/gadmin-samba ; then \
 
57
ln -s %{_bindir}/consolehelper %{_bindir}/gadmin-samba ; \
 
58
fi;
 
59
 
 
60
%clean
 
61
rm -rf $RPM_BUILD_ROOT
 
62
 
 
63
#################%files -f %{name}.lang
 
64
 
 
65
%files
 
66
 
 
67
%defattr(0755, root, root)
 
68
%{_sbindir}/%{name}
 
69
%{_bindir}/gadmin-samba-pdf
 
70
/home/netlogon/example.bat
 
71
 
 
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
 
78
 
 
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
 
85
 
 
86
%changelog
 
87
* Thu Feb 21 2008 Magnus-swe <magnus-swe@telia.com>
 
88
- Changed name from gsambad to gadmin-samba.
 
89
 
 
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.