1 |
# $Id: smeserver-userpanel.spec,v 1.1 2013/02/07 02:23:23 unnilennium Exp $ |
# $Id: smeserver-userpanel.spec,v 1.3 2013/12/02 15:37:27 unnilennium 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 12 |
%define release 14 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
16 |
Patch0: smeserver-userpanel-0.9-pleasewait.patch |
Patch0: smeserver-userpanel-0.9-pleasewait.patch |
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 |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
22 |
Requires: e-smith-release >= 7.1.1 |
Requires: e-smith-release >= 7.1.1 |
33 |
Panels can be delegated at user, group or global levels |
Panels can be delegated at user, group or global levels |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com> 0.9-14.sme |
37 |
|
- move post to an event [SME: 8032] |
38 |
|
|
39 |
|
* Mon Dec 2 2013 JP Pialasse <tests@pialasse.com> 0.9-13.sme |
40 |
|
- reverting language links creation in post as temp fix. see Bugs 8032 and 8022 |
41 |
|
- final fix will depends on 8032 int he future |
42 |
|
|
43 |
* Thu Nov 28 2013 JP Pialasse <tests@pialasse.com> 0.9-12.sme |
* Thu Nov 28 2013 JP Pialasse <tests@pialasse.com> 0.9-12.sme |
44 |
- NFR: logout button [SME: 8022] |
- NFR: logout button [SME: 8022] |
45 |
- NFR: show username [SME: 8025] |
- NFR: show username [SME: 8025] |
331 |
%patch0 -p1 |
%patch0 -p1 |
332 |
%patch1 -p1 |
%patch1 -p1 |
333 |
%patch2 -p1 |
%patch2 -p1 |
334 |
|
%patch3 -p1 |
335 |
|
|
336 |
|
|
337 |
%build |
%build |
338 |
perl createlinks |
perl createlinks |
365 |
#needs script to find existing languages |
#needs script to find existing languages |
366 |
#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 |
367 |
#should have in build not post |
#should have in build not post |
368 |
#for lang in en-us fr es it de sv pt sl nl #el id |
# or better move as action in events, this way we could update any languages. |
369 |
#do |
for lang in en-us fr es it de sv pt sl nl #el id |
370 |
#/bin/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user |
do |
371 |
#/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/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user |
372 |
#done |
/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 |
373 |
|
done |
374 |
|
|
375 |
#/sbin/e-smith/signal-event conf-userpanel |
#/sbin/e-smith/signal-event conf-userpanel |
376 |
|
|