%define name smeserver-bandwidthd %define version 2.0.1.2 %define release 12 Summary: bandwidthd is a helpdesk system Name: %{name} Version: %{version} Release: %{release}%{?dist} Distribution: SME Server License: GNU GPL version 2 Group: SMEserver/addon Source: smeserver-bandwidthd-%{version}.tar.gz Patch0: smeserver-bandwidthd-2.0.1.2.cronmysql.patch Patch1: smeserver-bandwidthd-2.0.1.2-b8536.patch Patch2: smeserver-bandwidthd-2.0.1.2-b8524.patch Patch3: smeserver-bandwidthd-2.0.1.2-8536.patch Patch4: smeserver-bandwidthd-2.0.1.2-Alter-link-in-createlinks-to-wrapper.patch Patch5: smeserver-bandwidthd-2.0.1.2-Update-createlinks-for-systemd-startup.patch Patch6: smeserver-bandwidthd-2.0.1.2-httpd-set-php-version.patch Patch7: smeserver-bandwidthd-2.0.1.2-Update-Creatlinks-with-systemd-stuff.patch Patch8: smeserver-bandwidthd-2.0.1.2-bz11046-php.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version}-buildroot BuildRequires: e-smith-devtools Requires: e-smith-release >= 9.0 Requires: bandwidthd AutoReqProv: no %description bandwidthd is an application adapted as a contrib for SMEserver %changelog * Sun Jun 06 2021 Jean-Philippe Pialasse 2.0.1.2-12.sme - add php74-php-fpm reload-or-restart [SME: 11046] * Tue Feb 02 2021 Brian Read 2.0.1.2-11.sme - Update-Creatlinks-with-systemd-stuff [SME: 11046] * Tue Feb 02 2021 BogusDateBot - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct and changing the weekday. * Mon Nov 30 2020 Brian Read 2.0.1.2-10.sme - Set $version in httpd.conf [SME: 11046] * Fri Nov 27 2020 Brian Read 2.0.1.2-9.sme - Update createlinks for systemd startup [SME: 11046] - Update httpd with extra loadmodules * Tue Oct 20 2020 Brian Read 2.0.1.2-8.sme - Initial import into SME10 tree- [SME: 11046] - Add in link to createlinks to wrapper for Server Manager panel - Fix up httpd.conf template to call php-fwp * Sat Dec 17 2016 Jean-Philipe Pialasse 2.0.1.2-7.sme - fix [SME: ] * Thu Dec 15 2016 Jean-Philipe Pialasse 2.0.1.2-6.sme - fix one more time too verbose cronjob and unique IP networks [SME: 8536] * Mon Nov 10 2015 JP Pialasse 2.0.1.2-5.sme - fixed cron too verbose [SME: 8536] - fixed wont restart with single IP network [SME: 8524] * Sat Sep 26 2015 stephane de Labrusse 2.0.1.2-2.sme - removed typo [SME: 8116] - Added smeserver-bandwidthd-2.0.1.2.cronmysql.patch * Mon Jun 16 2014 JP Pialasse 2.0.1.2-1.sme - initial import to SME9 contribs * Mon Dec 30 2013 JP Pialasse 2.0.1.1-6.sme - add require SSL [SME: 8099] * Sun Dec 29 2013 JP Pialasse 2.0.1.1-4.sme - fix missing mysql.init - fix http auth error * Fri Dec 27 2013 JP Pialasse 2.0.1.1-2.sme - few enhancement and bug fixing - added link in manager * Thu Dec 26 2013 CONTRIB MAKER 2.0.1.1-1.sme - initial release - builds from unchanged .tar.gz %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -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 %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)