1 |
# $Id: smeserver-userpanel.spec,v 1.3 2013/12/02 15:37:27 unnilennium Exp $ |
# $Id: smeserver-userpanel.spec,v 1.7 2014/08/19 19:58:25 stephdl Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
6 |
%define name smeserver-userpanel |
%define name smeserver-userpanel |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.9 |
%define version 0.9 |
9 |
%define release 14 |
%define release 17 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
17 |
Patch1: smeserver-userpanel-0.9-logout-menu.patch |
Patch1: smeserver-userpanel-0.9-logout-menu.patch |
18 |
Patch2: smeserver-userpanel-0.9-sigevents.patch |
Patch2: smeserver-userpanel-0.9-sigevents.patch |
19 |
Patch3: smeserver-userpanel-0.9-linktotranslations.patch |
Patch3: smeserver-userpanel-0.9-linktotranslations.patch |
20 |
|
Patch4: smeserver-userpanel-0.9_logmeout_called_to_early.patch |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
23 |
Requires: e-smith-release >= 7.1.1 |
Requires: e-smith-release >= 7.1.1 |
34 |
Panels can be delegated at user, group or global levels |
Panels can be delegated at user, group or global levels |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com> 0.9-14.sme |
* Tue Aug 19 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.9-17.sme |
38 |
- move post to an event [SME: 8032] |
- corrected a prototype called too early [SME:8543] |
39 |
|
- removed all prototypes of file userpanel-navigation |
40 |
|
|
41 |
|
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme |
42 |
|
- move post to an action event [SME: 8032] |
43 |
|
|
44 |
* Mon Dec 2 2013 JP Pialasse <tests@pialasse.com> 0.9-13.sme |
* Mon Dec 2 2013 JP Pialasse <tests@pialasse.com> 0.9-13.sme |
45 |
- reverting language links creation in post as temp fix. see Bugs 8032 and 8022 |
- reverting language links creation in post as temp fix. see Bugs 8032 and 8022 |
337 |
%patch1 -p1 |
%patch1 -p1 |
338 |
%patch2 -p1 |
%patch2 -p1 |
339 |
%patch3 -p1 |
%patch3 -p1 |
340 |
|
%patch4 -p1 |
341 |
|
|
342 |
|
|
343 |
%build |
%build |
372 |
#upgrades (and new installs) should be in new but existing users may miss some lexicons |
#upgrades (and new installs) should be in new but existing users may miss some lexicons |
373 |
#should have in build not post |
#should have in build not post |
374 |
# or better move as action in events, this way we could update any languages. |
# or better move as action in events, this way we could update any languages. |
375 |
for lang in en-us fr es it de sv pt sl nl #el id |
#for lang in en-us fr es it de sv pt sl nl #el id |
376 |
do |
#do |
377 |
/bin/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user |
#/bin/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user |
378 |
/bin/ln -sf /etc/e-smith/locale/$lang/etc/e-smith/web/functions /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user/cgi-bin |
#/bin/ln -sf /etc/e-smith/locale/$lang/etc/e-smith/web/functions /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user/cgi-bin |
379 |
done |
#done |
380 |
|
|
381 |
#/sbin/e-smith/signal-event conf-userpanel |
#/sbin/e-smith/signal-event conf-userpanel |
382 |
|
|