1 |
# $Id: smeserver-manager.spec,v 1.1 2018/02/04 17:51:12 jpp Exp $ |
# $Id: smeserver-manager.spec,v 1.3 2018/02/04 18:11:07 jpp Exp $ |
2 |
|
|
3 |
Summary: smeserver manager 2 navigation module |
Summary: smeserver manager 2 navigation module |
4 |
%define name smeserver-manager |
%define name smeserver-manager |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 0.1.0 |
%define version 0.1.0 |
7 |
%define release 1 |
%define release 2 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: smeserver-manager-0.1.0-bz10506.patch |
14 |
|
Patch1: smeserver-manager-add-basic-files.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
BuildRequires: gettext |
BuildRequires: gettext |
21 |
Requires: perl-Mojolicious >= 6.44 |
Requires: perl-Mojolicious >= 6.44 |
22 |
Requires: pwauth |
Requires: pwauth |
23 |
Requires: perl(Apache::AuthTkt) |
Requires: perl(Apache::AuthTkt) |
24 |
|
Requires: smeserver-manager-html |
25 |
Provides: server-manager2 |
Provides: server-manager2 |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Tue Feb 06 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.0-2.sme |
30 |
|
- Start adding some template files |
31 |
|
|
32 |
* Sun Feb 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.0-1.sme |
* Sun Feb 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.0-1.sme |
33 |
- first smeserver-manager package [SME: 10506] |
- first smeserver-manager package [SME: 10506] |
34 |
this is a sandbox to dev the next server-manager based on mojolicious |
this is a sandbox to dev the next server-manager based on mojolicious |
752 |
|
|
753 |
%prep |
%prep |
754 |
%setup |
%setup |
755 |
|
%patch0 -p1 |
756 |
|
%patch1 -p1 |
757 |
|
|
758 |
%build |
%build |
759 |
perl createlinks |
perl createlinks |
801 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
802 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
803 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
804 |
|
--file /etc/e-smith/web/panels/manager2/cgi-bin/wbl 'attr(4750,root,admin)' \ |
805 |
|
--file /etc/e-smith/web/panels/manager2/cgi-bin/useraccounts 'attr(4750,root,admin)' \ |
806 |
|
--dir /etc/e-smith/web/panels/manager2 'attr(0755,root,root)' \ |
807 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
808 |
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
809 |
|
|
810 |
|
|
811 |
|
# Samples only |
812 |
# --file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \ |
# --file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \ |
813 |
# --file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \ |
# --file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \ |
814 |
# --file /etc/e-smith/web/functions/wrapper 'attr(4750,root,admin)' \ |
# --file /etc/e-smith/web/functions/wrapper 'attr(4750,root,admin)' \ |
821 |
# --file /var/service/httpd-admin/log/run 'attr(0755,root,root)' \ |
# --file /var/service/httpd-admin/log/run 'attr(0755,root,root)' \ |
822 |
# --dir /var/log/httpd-admin 'attr(0750,smelog,smelog)' \ |
# --dir /var/log/httpd-admin 'attr(0750,smelog,smelog)' \ |
823 |
# > %{name}-%{version}-%{release}-filelist |
# > %{name}-%{version}-%{release}-filelist |
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
|
824 |
|
|
825 |
%clean |
%clean |
826 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |