--- rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec 2008/02/27 18:23:00 1.2 +++ rpms/smeserver-groupmembers-panel/contribs7/smeserver-groupmembers-panel.spec 2008/04/26 20:32:00 1.12 @@ -1,20 +1,61 @@ +# $Id: smeserver-groupmembers-panel.spec,v 1.11 2008/04/23 18:20:53 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 9 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz +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 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-10 +AutoReq: no %changelog +* 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 @@ -23,20 +64,32 @@ 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 %build @@ -46,7 +99,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 @@ -56,18 +109,5 @@ find $RPM_BUILD_ROOT -depth -type l -pri %clean rm -rf $RPM_BUILD_ROOT -%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)