1 |
# $Id: smeserver-groupmembers-panel.spec,v 1.22 2008/11/25 16:20:23 slords Exp $ |
2 |
# Authority: mweinber |
3 |
# Name: Michael Weinberger |
4 |
|
5 |
Summary: stripped groups panel. only members can added and removed |
6 |
%define name smeserver-groupmembers-panel |
7 |
Name: %{name} |
8 |
%define version 1.0.1 |
9 |
%define release 17 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-groupmembers-panel-1.0.1-PanelAndLocalization.patch |
16 |
Patch1: smeserver-groupmembers-panel-1.0.1-headerDescription.patch |
17 |
Patch2: smeserver-groupmembers-panel-1.0.1-locale-2008-04-01.patch |
18 |
Patch3: smeserver-groupmembers-panel-1.0.1-locale-2008-04-22.patch |
19 |
Patch4: smeserver-groupmembers-panel-1.0.1-locale-de.patch |
20 |
Patch5: smeserver-groupmembers-panel-1.0.1-locale-2008-04-23.patch |
21 |
Patch6: smeserver-groupmembers-panel-1.0.1-add2general.patch |
22 |
Patch7: smeserver-groupmembers-panel-1.0.1-locale-2008-05-05.patch |
23 |
Patch8: smeserver-groupmembers-panel-1.0.1-locale-2008-05-21.patch |
24 |
Patch9: smeserver-groupmembers-panel-1.0.1-locale-2008-06-27.patch |
25 |
Patch10: smeserver-groupmembers-panel-1.0.1-locale-2008-07-01.patch |
26 |
Patch11: smeserver-groupmembers-panel-1.0.1-locale-2008-10-14.patch |
27 |
Patch12: smeserver-groupmembers-panel-1.0.1-locale-2008-11-05.patch |
28 |
Patch13: smeserver-groupmembers-panel-1.0.1-locale-2008-11-17.patch |
29 |
Patch14: smeserver-groupmembers-panel-1.0.1-locale-2008-11-30.patch |
30 |
BuildRoot: /var/tmp/%{name}-buildroot/ |
31 |
BuildArch: noarch |
32 |
Requires: smeserver-userpanel |
33 |
Requires: smeserver-release >= 7 |
34 |
Requires: e-smith-formmagick >= 1.4.0-12 |
35 |
AutoReq: no |
36 |
|
37 |
%changelog |
38 |
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-17 |
39 |
- Apply 30 Nov 2008 locale patch |
40 |
|
41 |
* Mon Nov 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-16 |
42 |
- Apply 17 Nov 2008 locale patch |
43 |
|
44 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-15 |
45 |
- Apply 5 Nov 2008 locale patch |
46 |
|
47 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-14 |
48 |
- Apply 14 Oct 2008 locale patch |
49 |
|
50 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-13 |
51 |
- Apply 1 July 2008 locale patch |
52 |
|
53 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-12 |
54 |
- Apply 27 Jun 2008 locale patch |
55 |
|
56 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-11 |
57 |
- Apply 21 May 2008 locale patch |
58 |
|
59 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-10 |
60 |
- Apply 5 May 2008 locale patch |
61 |
|
62 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-9 |
63 |
- Add common <base> tags to e-smith-formmagick's general |
64 |
|
65 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-8 |
66 |
- Added missing locale patch to source control |
67 |
- Fixed changelog day |
68 |
|
69 |
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-7 |
70 |
- Pootle fix of German locale file, 2nd |
71 |
|
72 |
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-6 |
73 |
- Pootle fix of German locale file |
74 |
|
75 |
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-5 |
76 |
- Fixed messed up German locale file |
77 |
|
78 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-4 |
79 |
- Added 22 April 2008 locale patch |
80 |
|
81 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.1-3 |
82 |
- Update to UTF-8 translations |
83 |
|
84 |
* Wed Mar 05 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-2 |
85 |
Changed header description to "Group members" |
86 |
|
87 |
* Tue Mar 04 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-1 |
88 |
Panel navigation & localization |
89 |
Spec file fix |
90 |
|
91 |
* Fri May 04 2007 Michael Weinberger <mweinber@neddix.de> |
92 |
Verison 1.0.1 |
93 |
- fixed German heading property |
94 |
- added delegatedGroups option |
95 |
* Fri Jan 23 2007 Michael Weinberger <mweinber@neddix.de> |
96 |
- Initial release |
97 |
|
98 |
%description |
99 |
A stripped groups panel. Only members can be added and removed |
100 |
This panel can be delegated to users using the smeserver-userpanel |
101 |
|
102 |
********************************************* |
103 |
* After installation run: |
104 |
* /etc/e-smith/events/actions/navigation-conf |
105 |
********************************************* |
106 |
|
107 |
By default the user can edit all groups. You can restrict the |
108 |
access to a comma separeted list of groups defined defined in |
109 |
property 'delegatedGroups' in the user's account record. |
110 |
|
111 |
Example: You want permit user 'jsixpack' to edit the group members |
112 |
of the groups 'sales' and 'devel': |
113 |
|
114 |
db accounts setprop jsixpack delegatedGroups sales,devel |
115 |
|
116 |
%prep |
117 |
%setup -q -n %{name}-%{version} |
118 |
%patch0 -p1 |
119 |
%patch1 -p1 |
120 |
%patch2 -p1 |
121 |
%patch3 -p1 |
122 |
%patch4 -p1 |
123 |
%patch5 -p1 |
124 |
%patch6 -p1 |
125 |
%patch7 -p1 |
126 |
%patch8 -p1 |
127 |
%patch9 -p1 |
128 |
%patch10 -p1 |
129 |
%patch11 -p1 |
130 |
%patch12 -p1 |
131 |
%patch13 -p1 |
132 |
%patch14 -p1 |
133 |
|
134 |
%build |
135 |
|
136 |
%install |
137 |
rm -rf $RPM_BUILD_ROOT |
138 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
139 |
rm -f %{name}-%{version}-filelist |
140 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
141 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
142 |
-e "s@^/etc/e-smith/locale/@%attr(0644,root,root) &@"\ |
143 |
-e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\ |
144 |
-e "s@^/etc/e-smith/web/functions/groupmembers@%attr(4750,root,admin) &@"\ |
145 |
>> %{name}-%{version}-filelist |
146 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
147 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
148 |
|
149 |
%clean |
150 |
rm -rf $RPM_BUILD_ROOT |
151 |
|
152 |
%files -f %{name}-%{version}-filelist |
153 |
%defattr(-,root,root) |