%define name smeserver-service_control %define version 2.2 %define release 8 Summary: SME Server service control Panel Name: %{name} Version: %{version} Release: %{release}%{?dist} Distribution: SME Server License: GNU GPL version 2 Group: SMEserver/addon Source: %{name}-%{version}.tar.gz BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version}-buildroot BuildRequires: e-smith-devtools Requires: e-smith-release >= 9.0 AutoReqProv: no Patch0: smeserver-service_control-2.2-locale-2015-09-12.patch Patch1: smeserver-service_control-2.2-locale-2016-03-09.patch %changelog * Wed Mar 09 2016 JP Pialasse 2.2-8.sme - apply locale 2016-03-09 patch * Sat Sep 12 2015 stephane de Labrusse 2.2-7.sme - Added smeserver-service_control-2.2-locale-2015-09-12.patch * Sat Aug 22 2015 stephane de Labrusse 2.2-6.sme - Initial release to contribs9 * Sun Feb 15 2015 stephane de labrusse - 2.2-5 - Services with localhost access are now manageable - Cosmetic changes in the Panel - Optimisation of service2adjust in createlinks * Wed Feb 13 2015 stephane de labrusse - 2.2-4 - New expand-template of service-expand with a link to bootstrap-console-save - sigusr1 to httpd when service-expand is called * Wed May 21 2014 stephane de labrusse - 2.0-3 - adaptation to git use, creation of service2adjust by createlinks * Wed Jan 22 2014 stephane de labrusse - first release for SME Server 8.0 thanks to Michel Van hees for his work - Adaptation to utf8 * Mon Feb 11 2008 Michel Van hees - Adding Access service swap * Mon Jan 21 2008 Michel Van hees - Code cleaning * Mon Jan 21 2008 Michel Van hees - Adding confirmation screen * Tue Jan 15 2008 Michel Van hees - Fix bug in server-manager menu * Mon Jan 14 2008 Michel Van hees - Fix bug in TCP Port panel * Mon Jan 14 2008 Michel Van hees - First release %description sme server administration panel to control service status and tcp port %prep %setup %patch0 -p1 %patch1 -p1 #%patch1 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %pre %preun %post #/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 #echo Go to your server-manager to use new function %postun #/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 %files -f %{name}-%{version}-filelist %defattr(-,root,root)