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