/[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.1 - (show annotations) (download)
Wed Feb 27 17:53:47 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Remove version from spec

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

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