/[smecontribs]/rpms/bandwidthd/contribs10/bandwidthd.spec
ViewVC logotype

Diff of /rpms/bandwidthd/contribs10/bandwidthd.spec

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

Revision 1.4 by jpp, Thu Jun 3 15:16:53 2021 UTC Revision 1.8 by jpp, Wed Jun 29 05:01:54 2022 UTC
# Line 3  Line 3 
3    
4  Name:           bandwidthd  Name:           bandwidthd
5  Version:        2.0.1.1  Version:        2.0.1.1
6  Release: 6%{?dist}  Release: 9%{?dist}
7  Summary:        Tracks network usage and builds html and graphs  Summary:        Tracks network usage and builds html and graphs
8    
9  Group:          System Environment/Daemons  Group:          System Environment/Daemons
# Line 17  Source2:        %{name}.service Line 17  Source2:        %{name}.service
17  Patch0:         bandwidthd-destdir.patch  Patch0:         bandwidthd-destdir.patch
18  Patch1:         bandwidthd-pgsql.patch  Patch1:         bandwidthd-pgsql.patch
19  Patch2:         bandwidthd-mysql.patch  Patch2:         bandwidthd-mysql.patch
20    Patch3:         bandwidthd-2.0.1.1-mariadb.patch
21  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
22  BuildRequires:  autoconf, gd-devel, libpng-devel  BuildRequires:  autoconf, gd-devel, libpng-devel
23  %{?!_without_pgsql:BuildRequires: postgresql-devel}  %{?!_without_pgsql:BuildRequires: postgresql-devel}
# Line 59  is graphed on a Celeron 450 every 10 min Line 60  is graphed on a Celeron 450 every 10 min
60  #-b .pgsql  #-b .pgsql
61  %patch2 -p1  %patch2 -p1
62  #-b .mysql  #-b .mysql
63    %patch3 -p1
64    
65  %build  %build
66  cp -af /usr/lib/rpm/config.{sub,guess} .  cp -af /usr/lib/rpm/config.{sub,guess} .
# Line 70  autoconf Line 72  autoconf
72    --bindir=%{_bindir} \    --bindir=%{_bindir} \
73    --localstatedir=%{_var}/www\    --localstatedir=%{_var}/www\
74    --datadir=%{_var}/www    --datadir=%{_var}/www
75  make %{?_smp_mflags}  make -j2
76    # # in place of make %{?_smp_mflags} as it will do -j4 on builder and one task will end before the one it needs
77    
78    
79  %install  %install
# Line 118  rm -rf $RPM_BUILD_ROOT Line 121  rm -rf $RPM_BUILD_ROOT
121  %config(noreplace) %{_sysconfdir}/%{name}.conf  %config(noreplace) %{_sysconfdir}/%{name}.conf
122  %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf  %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
123  %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/%{name}  %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
124    %attr(644,root,root) %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.service  
125    
126    
127  %{_sbindir}/%{name}  %{_sbindir}/%{name}
# Line 128  rm -rf $RPM_BUILD_ROOT Line 130  rm -rf $RPM_BUILD_ROOT
130  %attr(755,root,root) %{_var}/www/%{name}/phphtdocs/*.sh  %attr(755,root,root) %{_var}/www/%{name}/phphtdocs/*.sh
131    
132  %changelog  %changelog
133  * Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-6.sme  * Wed Jun 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-9.sme
134  - build test  - fix systemd unit chmod [SME: 11046]
135    
136    * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-8.sme
137    - use ENGINE in place of TYPE for mariadb
138    
139    * Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-7.sme
140    - build test ; make -j2
141    
142  * Wed Feb 03 2021 BogusDateBot  * Wed Feb 03 2021 BogusDateBot
143  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,


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