--- rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec 2008/02/27 17:53:47 1.1 +++ rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec 2009/03/01 19:26:03 1.26 @@ -1,21 +1,105 @@ +# $Id: smeserver-groupmembers-panel.spec,v 1.25 2009/01/31 07:46:03 snetram Exp $ +# Authority: mweinber +# Name: Michael Weinberger + Summary: stripped groups panel. only members can added and removed %define name smeserver-groupmembers-panel Name: %{name} %define version 1.0.1 -%define release 0 +%define release 20 Version: %{version} -Release: %{release} -Copyright: GPL +Release: %{release}%{?dist} +License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Packager: Michael Weinberger +Patch0: smeserver-groupmembers-panel-1.0.1-PanelAndLocalization.patch +Patch1: smeserver-groupmembers-panel-1.0.1-headerDescription.patch +Patch2: smeserver-groupmembers-panel-1.0.1-locale-2008-04-01.patch +Patch3: smeserver-groupmembers-panel-1.0.1-locale-2008-04-22.patch +Patch4: smeserver-groupmembers-panel-1.0.1-locale-de.patch +Patch5: smeserver-groupmembers-panel-1.0.1-locale-2008-04-23.patch +Patch6: smeserver-groupmembers-panel-1.0.1-add2general.patch +Patch7: smeserver-groupmembers-panel-1.0.1-locale-2008-05-05.patch +Patch8: smeserver-groupmembers-panel-1.0.1-locale-2008-05-21.patch +Patch9: smeserver-groupmembers-panel-1.0.1-locale-2008-06-27.patch +Patch10: smeserver-groupmembers-panel-1.0.1-locale-2008-07-01.patch +Patch11: smeserver-groupmembers-panel-1.0.1-locale-2008-10-14.patch +Patch12: smeserver-groupmembers-panel-1.0.1-locale-2008-11-05.patch +Patch13: smeserver-groupmembers-panel-1.0.1-locale-2008-11-17.patch +Patch14: smeserver-groupmembers-panel-1.0.1-locale-2008-11-30.patch +Patch15: smeserver-groupmembers-panel-1.0.1-locale-2009-01-01.patch +Patch16: smeserver-groupmembers-panel-1.0.1-locale-2009-01-31.patch +Patch17: smeserver-groupmembers-panel-1.0.1-locale-2009-03-01.patch BuildRoot: /var/tmp/%{name}-buildroot/ BuildArch: noarch -Requires: smeserver-userpanel, smeserver-release >= 7 -AutoReqProv: no +Requires: smeserver-userpanel +Requires: smeserver-release >= 7 +Requires: e-smith-formmagick >= 1.4.0-12 +AutoReq: no %changelog +* Sun Mar 1 2009 Jonathan Martens 1.0.1-20 +- Apply 1 Mar 2009 locale patch [SME: 5018] + +* Sat Jan 31 2009 Jonathan Martens 1.0.1-19 +- Apply 31 Jan 2009 locale patch [SME: 4951] + +* Thu Jan 1 2009 Jonathan Martens 1.0.1-18 +- Apply 1 Jan 2009 locale patch [SME: 4900] + +* Sun Nov 30 2008 Jonathan Martens 1.0.1-17 +- Apply 30 Nov 2008 locale patch + +* Mon Nov 17 2008 Jonathan Martens 1.0.1-16 +- Apply 17 Nov 2008 locale patch + +* Wed Nov 5 2008 Jonathan Martens 1.0.1-15 +- Apply 5 Nov 2008 locale patch + +* Tue Oct 14 2008 Jonathan Martens 1.0.1-14 +- Apply 14 Oct 2008 locale patch + +* Tue Jul 1 2008 Jonathan Martens 1.0.1-13 +- Apply 1 July 2008 locale patch + +* Fri Jun 27 2008 Jonathan Martens 1.0.1-12 +- Apply 27 Jun 2008 locale patch + +* Thu May 21 2008 Jonathan Martens 1.0.1-11 +- Apply 21 May 2008 locale patch + +* Mon May 5 2008 Jonathan Martens 1.0.1-10 +- Apply 5 May 2008 locale patch + +* Sat Apr 26 2008 Jonathan Martens 1.0.1-9 +- Add common tags to e-smith-formmagick's general + +* Wed Apr 23 2008 Jonathan Martens 1.0.1-8 +- Added missing locale patch to source control +- Fixed changelog day + +* Wed Apr 23 2008 Michael Weinberger 1.0.1-7 +- Pootle fix of German locale file, 2nd +* Wed Apr 23 2008 Michael Weinberger 1.0.1-6 +- Pootle fix of German locale file + +* Wed Apr 23 2008 Michael Weinberger 1.0.1-5 +- Fixed messed up German locale file + +* Tue Apr 22 2008 Jonathan Martens 1.0.1-4 +- Added 22 April 2008 locale patch + +* Tue Apr 1 2008 Shad L. Lords 1.0.1-3 +- Update to UTF-8 translations + +* Wed Mar 05 2008 Michael Weinberger 1.0.1-2 + Changed header description to "Group members" + +* Tue Mar 04 2008 Michael Weinberger 1.0.1-1 + Panel navigation & localization + Spec file fix + * Fri May 04 2007 Michael Weinberger Verison 1.0.1 - fixed German heading property @@ -24,23 +108,43 @@ AutoReqProv: no - Initial release %description -stripped groups panel. only members can added and removed -This panel can be delegate to users using the smeserver-userpanel +A stripped groups panel. Only members can be added and removed +This panel can be delegated to users using the smeserver-userpanel + +********************************************* +* After installation run: +* /etc/e-smith/events/actions/navigation-conf +********************************************* By default the user can edit all groups. You can restrict the access to a comma separeted list of groups defined defined in property 'delegatedGroups' in the user's account record. -Example: You want user 'jsixpack' allow to edit groupmembers -only of the groups 'sales' and 'devel': +Example: You want permit user 'jsixpack' to edit the group members +of the groups 'sales' and 'devel': db accounts setprop jsixpack delegatedGroups sales,devel - - - %prep %setup -q -n %{name}-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 %build @@ -50,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT rm -f %{name}-%{version}-filelist find $RPM_BUILD_ROOT -depth -type f -print |\ sed -e "s@^$RPM_BUILD_ROOT@@g" \ - -e "s@^/etc/e-smith/locale/@%attr(0755,root,root) &@"\ + -e "s@^/etc/e-smith/locale/@%attr(0644,root,root) &@"\ -e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\ -e "s@^/etc/e-smith/web/functions/groupmembers@%attr(4750,root,admin) &@"\ >> %{name}-%{version}-filelist @@ -60,21 +164,5 @@ find $RPM_BUILD_ROOT -depth -type l -pri %clean rm -rf $RPM_BUILD_ROOT -%pre -%preun - -%post -/sbin/e-smith/db navigation/navigation.de set groupmembers panel Description "Gruppenmitglieder ändern" DescriptionWeight 2200 HeadingWeight 2000 -/sbin/e-smith/db navigation/navigation.de setprop groupmembers Heading ' Zusammenarbeit ' - -/sbin/e-smith/db navigation/navigation.en set groupmembers panel Description "Edit groupmembers" DescriptionWeight 2200 Heading "Collaboration" HeadingWeight 2000 - -/sbin/e-smith/db navigation/navigation.en-us set groupmembers panel Description "Edit groupmembers" DescriptionWeight 2200 Heading "Collaboration" HeadingWeight 2000 - -%postun -/sbin/e-smith/db navigation/navigation.de delete groupmembers -/sbin/e-smith/db navigation/navigation.en delete groupmembers -/sbin/e-smith/db navigation/navigation.en-us delete groupmembers - %files -f %{name}-%{version}-filelist %defattr(-,root,root)