1 |
brianr |
1.2 |
# $Id: smeserver-groupmembers-panel.spec,v 1.1 2020/11/04 16:32:49 michel Exp $ |
2 |
michel |
1.1 |
# 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.4 |
9 |
brianr |
1.2 |
%define release 2 |
10 |
michel |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
Patch0: %{name}-%{version}-v10_init.patch |
16 |
brianr |
1.2 |
Patch1: smeserver-groupmembers-panel-1.0.4-Add-Update-event-to-createlinks.patch |
17 |
michel |
1.1 |
BuildRoot: /var/tmp/%{name}-buildroot/ |
18 |
|
|
BuildArch: noarch |
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
|
|
Requires: smeserver-userpanel |
21 |
|
|
Requires: smeserver-release >= 10 |
22 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
|
|
AutoReq: no |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
brianr |
1.2 |
* Sat Mar 27 2021 Brian Read <brianr@bjsystems.co.uk> 1.0.4-2.sme |
27 |
|
|
- Add Update event to createlinks [SME: 11081] |
28 |
|
|
|
29 |
|
|
* Sat Mar 27 2021 BogusDateBot |
30 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
31 |
|
|
by assuming the date is correct and changing the weekday. |
32 |
|
|
Sat May 21 2008 --> Sat May 17 2008 or Wed May 21 2008 or Sat May 24 2008 or .... |
33 |
|
|
|
34 |
michel |
1.1 |
* Wed Nov 04 2020 Michel Begue <mab974@gmail.com> 1.0.4-1.sme |
35 |
|
|
- first import for sme 10 [SME: 11081] |
36 |
|
|
|
37 |
|
|
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.2-2.sme |
38 |
brianr |
1.2 |
- Add Update event to createlinks wrong module path [SME: 9562] |
39 |
michel |
1.1 |
|
40 |
|
|
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.0.2-1.sme |
41 |
|
|
- initial import to SME9 contribs |
42 |
|
|
|
43 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.1-31.sme |
44 |
|
|
- apply locale 2013-07-14 patch |
45 |
|
|
|
46 |
|
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.0.1-30.el6 |
47 |
|
|
- apply locale 2012-03-20 patch |
48 |
|
|
|
49 |
|
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.0.1-29.sme |
50 |
|
|
- apply locale 2011-04-27 patch |
51 |
|
|
|
52 |
|
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.1-28.sme |
53 |
|
|
- apply locale 2011-03-06 patch |
54 |
|
|
|
55 |
|
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0.1-27.sme |
56 |
|
|
- apply locale 2010-05-23 patch |
57 |
|
|
|
58 |
|
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.1-26.sme |
59 |
|
|
- apply locale 2010-03-02 patch |
60 |
|
|
|
61 |
|
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0.1-25.sme |
62 |
|
|
- apply locale 2009-10-27 patch |
63 |
|
|
|
64 |
|
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.1-24.sme |
65 |
|
|
- apply locale 2009-08-24 patch |
66 |
|
|
|
67 |
|
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.1-23.sme |
68 |
|
|
- apply locale 2009-05-20 patch |
69 |
|
|
|
70 |
|
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.1-22.sme |
71 |
|
|
- apply locale 2009-04-27 patch |
72 |
|
|
|
73 |
|
|
* Tue Mar 03 2009 SME Translation Server |
74 |
|
|
- apply locale 2009-03-03 patch |
75 |
|
|
|
76 |
|
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-20 |
77 |
|
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
78 |
|
|
|
79 |
|
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-19 |
80 |
|
|
- Apply 31 Jan 2009 locale patch [SME: 4951] |
81 |
|
|
|
82 |
|
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-18 |
83 |
|
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
84 |
|
|
|
85 |
|
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-17 |
86 |
|
|
- Apply 30 Nov 2008 locale patch |
87 |
|
|
|
88 |
|
|
* Mon Nov 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-16 |
89 |
|
|
- Apply 17 Nov 2008 locale patch |
90 |
|
|
|
91 |
|
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-15 |
92 |
|
|
- Apply 5 Nov 2008 locale patch |
93 |
|
|
|
94 |
|
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-14 |
95 |
|
|
- Apply 14 Oct 2008 locale patch |
96 |
|
|
|
97 |
|
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-13 |
98 |
|
|
- Apply 1 July 2008 locale patch |
99 |
|
|
|
100 |
|
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-12 |
101 |
|
|
- Apply 27 Jun 2008 locale patch |
102 |
|
|
|
103 |
brianr |
1.2 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-11 |
104 |
|
|
Sat May 21 2008 --> Sat May 17 2008 or Wed May 21 2008 or Sat May 24 2008 or .... |
105 |
michel |
1.1 |
- Apply 21 May 2008 locale patch |
106 |
|
|
|
107 |
|
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-10 |
108 |
|
|
- Apply 5 May 2008 locale patch |
109 |
|
|
|
110 |
|
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-9 |
111 |
|
|
- Add common <base> tags to e-smith-formmagick's general |
112 |
|
|
|
113 |
|
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-8 |
114 |
|
|
- Added missing locale patch to source control |
115 |
|
|
- Fixed changelog day |
116 |
|
|
|
117 |
|
|
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-7 |
118 |
|
|
- Pootle fix of German locale file, 2nd |
119 |
|
|
|
120 |
|
|
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-6 |
121 |
|
|
- Pootle fix of German locale file |
122 |
|
|
|
123 |
|
|
* Wed Apr 23 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-5 |
124 |
|
|
- Fixed messed up German locale file |
125 |
|
|
|
126 |
|
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.1-4 |
127 |
|
|
- Added 22 April 2008 locale patch |
128 |
|
|
|
129 |
|
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.1-3 |
130 |
|
|
- Update to UTF-8 translations |
131 |
|
|
|
132 |
|
|
* Wed Mar 05 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-2 |
133 |
|
|
Changed header description to "Group members" |
134 |
|
|
|
135 |
|
|
* Tue Mar 04 2008 Michael Weinberger <mweinber@neddix.de> 1.0.1-1 |
136 |
|
|
Panel navigation & localization |
137 |
|
|
Spec file fix |
138 |
|
|
|
139 |
|
|
* Fri May 04 2007 Michael Weinberger <mweinber@neddix.de> |
140 |
|
|
Version 1.0.1 |
141 |
brianr |
1.2 |
- Add Update event to createlinksed German heading property |
142 |
michel |
1.1 |
- added delegatedGroups option |
143 |
|
|
* Tue Jan 23 2007 Michael Weinberger <mweinber@neddix.de> |
144 |
|
|
- Initial release |
145 |
|
|
|
146 |
|
|
%description |
147 |
|
|
A stripped groups panel. Only members can be added and removed |
148 |
|
|
This panel can be delegated to users using the smeserver-userpanel |
149 |
|
|
|
150 |
|
|
********************************************* |
151 |
|
|
* After installation run: |
152 |
|
|
* /etc/e-smith/events/actions/navigation-conf |
153 |
|
|
********************************************* |
154 |
|
|
|
155 |
|
|
By default the user can edit all groups. You can restrict the |
156 |
|
|
access to a comma separeted list of groups defined defined in |
157 |
|
|
property 'delegatedGroups' in the user's account record. |
158 |
|
|
|
159 |
|
|
Example: You want permit user 'jsixpack' to edit the group members |
160 |
|
|
of the groups 'sales' and 'devel': |
161 |
|
|
|
162 |
|
|
db accounts setprop jsixpack delegatedGroups sales,devel |
163 |
|
|
|
164 |
|
|
%prep |
165 |
|
|
%setup -n %{name}-%{version} |
166 |
|
|
|
167 |
|
|
%patch0 -p1 |
168 |
brianr |
1.2 |
%patch1 -p1 |
169 |
michel |
1.1 |
|
170 |
|
|
%build |
171 |
|
|
perl createlinks |
172 |
|
|
|
173 |
|
|
%install |
174 |
|
|
rm -rf $RPM_BUILD_ROOT |
175 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
176 |
|
|
rm -f %{name}-%{version}-filelist |
177 |
|
|
find $RPM_BUILD_ROOT -depth -type f -print |\ |
178 |
|
|
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
179 |
|
|
-e "s@^/etc/e-smith/locale/@%attr(0644,root,root) &@"\ |
180 |
|
|
-e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\ |
181 |
|
|
-e "s@^/etc/e-smith/web/functions/groupmembers@%attr(0500,root,root) &@"\ |
182 |
|
|
>> %{name}-%{version}-filelist |
183 |
|
|
find $RPM_BUILD_ROOT -depth -type l -print |\ |
184 |
|
|
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
185 |
|
|
|
186 |
|
|
%clean |
187 |
|
|
rm -rf $RPM_BUILD_ROOT |
188 |
|
|
|
189 |
|
|
%files -f %{name}-%{version}-filelist |
190 |
|
|
%defattr(-,root,root) |