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