1 |
# $Id: e-smith-base.spec,v 1.15 2016/04/13 15:06:37 unnilennium Exp $ |
# $Id: e-smith-base.spec,v 1.16 2016/04/13 16:07:33 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - base module |
Summary: e-smith server and gateway - base module |
4 |
%define name e-smith-base |
%define name e-smith-base |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.8.0 |
%define version 5.8.0 |
7 |
%define release 14 |
%define release 15 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
17 |
Patch4: e-smith-base-5.8.0-LOCALE.patch |
Patch4: e-smith-base-5.8.0-LOCALE.patch |
18 |
Patch5: e-smith-base-5.8.0-install_on_every_reboot.patch |
Patch5: e-smith-base-5.8.0-install_on_every_reboot.patch |
19 |
Patch6: e-smith-base-5.8.0-PasswordSet.patch |
Patch6: e-smith-base-5.8.0-PasswordSet.patch |
20 |
|
Patch7: e-smith-base-5.8.0-console_wrapper.patch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
|
BuildArch: noarch |
|
22 |
Requires: pwauth |
Requires: pwauth |
23 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
24 |
Requires: server-manager-images, server-manager |
Requires: server-manager-images, server-manager |
62 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
63 |
|
|
64 |
%changelog |
%changelog |
65 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme |
66 |
|
- Use a C wrapper for the console to replace perl-suid [SME: 9393] |
67 |
|
|
68 |
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme |
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme |
69 |
- fix password not asked after signal-event post-install [SME: 9445] |
- fix password not asked after signal-event post-install [SME: 9445] |
70 |
|
|
1840 |
%patch4 -p1 |
%patch4 -p1 |
1841 |
%patch5 -p1 |
%patch5 -p1 |
1842 |
%patch6 -p1 |
%patch6 -p1 |
1843 |
|
%patch7 -p1 |
1844 |
|
|
1845 |
%pre |
%pre |
1846 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1860 |
|
|
1861 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
1862 |
|
|
1863 |
xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console.pl |
1864 |
|
|
1865 |
perl createlinks |
perl createlinks |
1866 |
/sbin/e-smith/buildtests 10e-smith-base |
/sbin/e-smith/buildtests 10e-smith-base |
1867 |
|
|
1868 |
|
gcc -o root/sbin/e-smith/console console_wrapper.c |
1869 |
|
|
1870 |
%install |
%install |
1871 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1872 |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |