/[smecontribs]/rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec
ViewVC logotype

Contents of /rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Feb 27 18:23:00 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.1: +2 -9 lines
Fix specfile

1 Summary: stripped groups panel. only members can added and removed
2 %define name smeserver-groupmembers-panel
3 Name: %{name}
4 %define version 1.0.1
5 %define release 0
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Networking/Daemons
10 Source: %{name}-%{version}.tar.gz
11 BuildRoot: /var/tmp/%{name}-buildroot/
12 BuildArch: noarch
13 Requires: smeserver-userpanel, smeserver-release >= 7
14 AutoReqProv: no
15
16 %changelog
17
18 * Fri May 04 2007 Michael Weinberger <mweinber@neddix.de>
19 Verison 1.0.1
20 - fixed German heading property
21 - added delegatedGroups option
22 * Fri Jan 23 2007 Michael Weinberger <mweinber@neddix.de>
23 - Initial release
24
25 %description
26 stripped groups panel. only members can added and removed
27 This panel can be delegate to users using the smeserver-userpanel
28
29 By default the user can edit all groups. You can restrict the
30 access to a comma separeted list of groups defined defined in
31 property 'delegatedGroups' in the user's account record.
32
33 Example: You want user 'jsixpack' allow to edit groupmembers
34 only of the groups 'sales' and 'devel':
35
36 db accounts setprop jsixpack delegatedGroups sales,devel
37
38 %prep
39 %setup -q -n %{name}-%{version}
40
41 %build
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
46 rm -f %{name}-%{version}-filelist
47 find $RPM_BUILD_ROOT -depth -type f -print |\
48 sed -e "s@^$RPM_BUILD_ROOT@@g" \
49 -e "s@^/etc/e-smith/locale/@%attr(0755,root,root) &@"\
50 -e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\
51 -e "s@^/etc/e-smith/web/functions/groupmembers@%attr(4750,root,admin) &@"\
52 >> %{name}-%{version}-filelist
53 find $RPM_BUILD_ROOT -depth -type l -print |\
54 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 /sbin/e-smith/db navigation/navigation.de set groupmembers panel Description "Gruppenmitglieder ändern" DescriptionWeight 2200 HeadingWeight 2000
61 /sbin/e-smith/db navigation/navigation.de setprop groupmembers Heading ' Zusammenarbeit '
62
63 /sbin/e-smith/db navigation/navigation.en set groupmembers panel Description "Edit groupmembers" DescriptionWeight 2200 Heading "Collaboration" HeadingWeight 2000
64
65 /sbin/e-smith/db navigation/navigation.en-us set groupmembers panel Description "Edit groupmembers" DescriptionWeight 2200 Heading "Collaboration" HeadingWeight 2000
66
67 %postun
68 /sbin/e-smith/db navigation/navigation.de delete groupmembers
69 /sbin/e-smith/db navigation/navigation.en delete groupmembers
70 /sbin/e-smith/db navigation/navigation.en-us delete groupmembers
71
72 %files -f %{name}-%{version}-filelist
73 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed