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

Annotation 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.3 - (hide annotations) (download)
Tue Mar 4 22:03:51 2008 UTC (16 years, 8 months ago) by mweinber
Branch: MAIN
CVS Tags: smeserver-groupmembers-panel-1_0_1-1_el4_sme
Changes since 1.2: +20 -22 lines
PanelAndLocalization

1 slords 1.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 mweinber 1.3 %define release 1
6 slords 1.1 Version: %{version}
7 slords 1.2 Release: %{release}%{?dist}
8     License: GPL
9 slords 1.1 Group: Networking/Daemons
10     Source: %{name}-%{version}.tar.gz
11     BuildRoot: /var/tmp/%{name}-buildroot/
12     BuildArch: noarch
13 mweinber 1.3 Requires: smeserver-userpanel
14     Requires: smeserver-release >= 7
15     AutoReq: no
16     Patch0: smeserver-groupmembers-panel-1.0.1-PanelAndLocalization.patch
17 slords 1.1
18     %changelog
19 mweinber 1.3 * Tue Mar 04 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-1
20     Panel navigation & localization
21     Spec file fix
22    
23 slords 1.1 * Fri May 04 2007 Michael Weinberger <mweinber@neddix.de>
24     Verison 1.0.1
25     - fixed German heading property
26     - added delegatedGroups option
27     * Fri Jan 23 2007 Michael Weinberger <mweinber@neddix.de>
28     - Initial release
29    
30     %description
31 mweinber 1.3 A stripped groups panel. Only members can be added and removed
32     This panel can be delegated to users using the smeserver-userpanel
33    
34     *********************************************
35     * After installation run:
36     * /etc/e-smith/events/actions/navigation-conf
37     *********************************************
38 slords 1.1
39     By default the user can edit all groups. You can restrict the
40     access to a comma separeted list of groups defined defined in
41     property 'delegatedGroups' in the user's account record.
42    
43 mweinber 1.3 Example: You want permit user 'jsixpack' to edit the group members
44     of the groups 'sales' and 'devel':
45 slords 1.1
46     db accounts setprop jsixpack delegatedGroups sales,devel
47    
48     %prep
49     %setup -q -n %{name}-%{version}
50 mweinber 1.3 %patch0 -p1
51 slords 1.1
52     %build
53    
54     %install
55     rm -rf $RPM_BUILD_ROOT
56     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
57     rm -f %{name}-%{version}-filelist
58     find $RPM_BUILD_ROOT -depth -type f -print |\
59     sed -e "s@^$RPM_BUILD_ROOT@@g" \
60 mweinber 1.3 -e "s@^/etc/e-smith/locale/@%attr(0644,root,root) &@"\
61 slords 1.1 -e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\
62     -e "s@^/etc/e-smith/web/functions/groupmembers@%attr(4750,root,admin) &@"\
63     >> %{name}-%{version}-filelist
64     find $RPM_BUILD_ROOT -depth -type l -print |\
65     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
66    
67     %clean
68     rm -rf $RPM_BUILD_ROOT
69    
70     %files -f %{name}-%{version}-filelist
71     %defattr(-,root,root)

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