/[smeserver]/rpms/smeserver-manager/sme10/smeserver-manager.spec
ViewVC logotype

Diff of /rpms/smeserver-manager/sme10/smeserver-manager.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Sun Feb 4 17:52:58 2018 UTC Revision 1.4 by jcrisp, Mon Dec 17 12:01:03 2018 UTC
# Line 1  Line 1 
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
# Line 19  Requires: e-smith-manager >= 2.4.0-22 Line 21  Requires: e-smith-manager >= 2.4.0-22
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
# Line 746  This RPM contributes the navigation bars Line 752  This RPM contributes the navigation bars
752    
753  %prep  %prep
754  %setup  %setup
755    %patch0 -p1
756    %patch1 -p1
757    
758  %build  %build
759  perl createlinks  perl createlinks
# Line 793  rm -rf $RPM_BUILD_ROOT Line 801  rm -rf $RPM_BUILD_ROOT
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)' \
# Line 806  rm -f %{name}-%{version}-%{release}-file Line 821  rm -f %{name}-%{version}-%{release}-file
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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed