/[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.4 - (hide annotations) (download)
Tue Mar 4 23:33:20 2008 UTC (16 years, 9 months ago) by mweinber
Branch: MAIN
CVS Tags: smeserver-groupmembers-panel-1_0_1-2_el4_sme
Changes since 1.3: +5 -1 lines
headerDescription

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

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