Blame SPECS/numad.spec

f56ccc
%global systemctl_bin /usr/bin/systemctl
f56ccc
f56ccc
Name: numad
f56ccc
Version: 0.5
f56ccc
Release: 36.20150602git%{?dist}
f56ccc
Summary: NUMA user daemon
f56ccc
f56ccc
License: LGPLv2
f56ccc
URL: https://pagure.io/numad
f56ccc
# The source for this package was pulled from upstream's vcs.  Use the
f56ccc
# following commands to generate the tarball:
f56ccc
#   git clone https://pagure.io/numad.git numad-0.5git
f56ccc
#   tar --exclude-vcs -cJf numad-0.5git.tar.xz numad-0.5git/
f56ccc
Source0: %{name}-%{version}git.tar.xz
f56ccc
Patch0: 0000-remove-conf.patch
f56ccc
f56ccc
Requires: systemd-units
f56ccc
Requires(post): systemd-units
f56ccc
Requires(preun): systemd-units
f56ccc
BuildRequires: make
f56ccc
BuildRequires:  gcc
f56ccc
BuildRequires: systemd-units
f56ccc
f56ccc
ExcludeArch: s390 %{arm}
f56ccc
f56ccc
%description
f56ccc
Numad, a daemon for NUMA (Non-Uniform Memory Architecture) systems,
f56ccc
that monitors NUMA characteristics and manages placement of processes
f56ccc
and memory to minimize memory latency and thus provide optimum performance.
f56ccc
f56ccc
%prep
f56ccc
%setup -q -n %{name}-%{version}git
f56ccc
%patch0 -p1
f56ccc
f56ccc
%build
f56ccc
make CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="$RPM_LD_FLAGS -lpthread -lrt -lm"
f56ccc
f56ccc
%install
f56ccc
mkdir -p %{buildroot}%{_bindir}
f56ccc
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
f56ccc
mkdir -p %{buildroot}%{_unitdir}
f56ccc
mkdir -p %{buildroot}%{_mandir}/man8/
f56ccc
install -p -m 644 numad.service %{buildroot}%{_unitdir}/
f56ccc
install -p -m 644 numad.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
f56ccc
%make_install prefix=%{buildroot}/usr
f56ccc
f56ccc
%files
f56ccc
%{_bindir}/numad
f56ccc
%{_unitdir}/numad.service
f56ccc
%config(noreplace) %{_sysconfdir}/logrotate.d/numad
f56ccc
%doc %{_mandir}/man8/numad.8.gz
f56ccc
f56ccc
%post
f56ccc
%systemd_post numad.service
f56ccc
f56ccc
%preun
f56ccc
%systemd_preun numad.service
f56ccc
f56ccc
%postun
f56ccc
%systemd_postun numad.service
f56ccc
f56ccc
%changelog
f56ccc
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-36.20150602git
f56ccc
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
f56ccc
  Related: rhbz#1991688
f56ccc
f56ccc
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-35.20150602git
f56ccc
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
f56ccc
f56ccc
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-34.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f56ccc
f56ccc
* Mon Aug 24 2020 Jan Synáček <jsynacek@redhat.com> - 0.5-33.20150602git
f56ccc
- Use make macros
f56ccc
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
f56ccc
f56ccc
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-32.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f56ccc
f56ccc
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-31.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f56ccc
f56ccc
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-30.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f56ccc
f56ccc
* Tue Mar 26 2019 Jan Synáček <jsynacek@redhat.com> - 0.5-29.20150602git
f56ccc
- Remove all mentions of the default config file, which is not used anyway
f56ccc
f56ccc
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-28.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f56ccc
f56ccc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-27.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f56ccc
f56ccc
* Tue Jun 19 2018 Jan Synáček <jsynacek@redhat.com> - 0.5-26.20150602git
f56ccc
- Remove initscripts from Requires (#1592372)
f56ccc
f56ccc
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-25.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f56ccc
f56ccc
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-24.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f56ccc
f56ccc
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-23.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f56ccc
f56ccc
* Fri Feb 10 2017 Dan Horák <dan[at]danny.cz> - 0.5-22.20150602git
f56ccc
- Enable on s390x
f56ccc
f56ccc
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-21.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f56ccc
f56ccc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-20.20150602git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f56ccc
f56ccc
* Tue Jun  2 2015 Jan Synáček <jsynacek@redhat.com> - 0.5-19.20150602git
f56ccc
- Update to 20150602
f56ccc
f56ccc
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-18.20140620git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f56ccc
f56ccc
* Mon Jun 23 2014 Jan Synáček <jsynacek@redhat.com> - 0.5-17.20140620git
f56ccc
- Update to 20140620
f56ccc
f56ccc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-16.20140225git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f56ccc
f56ccc
* Tue Mar 25 2014 Jan Synáček <jsynacek@redhat.com> - 0.5-15.20140225git
f56ccc
- Update to the correct upstream version of 20140225
f56ccc
f56ccc
* Fri Feb 28 2014 Jan Synáček <jsynacek@redhat.com> - 0.5-14.20140225git
f56ccc
- Update to 20140225
f56ccc
- Resolves: #1071221
f56ccc
f56ccc
* Mon Jan 20 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.5-13.20130814git
f56ccc
- Don't order service after syslog.target (#1055209).
f56ccc
- Build with $RPM_OPT_FLAGS and $RPM_LD_FLAGS.
f56ccc
- Fix build with -Werror=format-security.
f56ccc
f56ccc
* Wed Aug 14 2013 Jan Synáček <jsynacek@redhat.com> - 0.5-12.20130814git
f56ccc
- Update to 20130814
f56ccc
f56ccc
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-11.20121130git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f56ccc
f56ccc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-10.20121130git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f56ccc
f56ccc
* Tue Dec 11 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-9.20121130git
f56ccc
- Update and comment the Makefile patch
f56ccc
- Related: #825153
f56ccc
f56ccc
* Mon Dec 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-8.20121130git
f56ccc
- Update to 20121130
f56ccc
- Update spec: fix command to generate tarball
f56ccc
f56ccc
* Tue Oct 16 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-7.20121015git
f56ccc
- Update to 20121015
f56ccc
- Add Makefile patch
f56ccc
- Update spec: update command to generate tarball
f56ccc
f56ccc
* Wed Aug 22 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-6.20120522git
f56ccc
- add systemd-rpm macros
f56ccc
- Resolves: #850236
f56ccc
f56ccc
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5.20120522git
f56ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f56ccc
f56ccc
* Wed May 23 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-4.20120522git
f56ccc
- update source (20120522) and manpage
f56ccc
f56ccc
* Tue Mar 06 2012 Jan Synáček <jsynacek@redhat.com> 0.5-3.20120221git
f56ccc
- update source
f56ccc
- drop the patch
f56ccc
f56ccc
* Fri Feb 24 2012 Jan Synáček <jsynacek@redhat.com> 0.5-2.20120221git
f56ccc
- add BuildRequires: systemd-units
f56ccc
f56ccc
* Wed Feb 15 2012 Jan Synáček <jsynacek@redhat.com> 0.5-1.20120221git
f56ccc
- spec update
f56ccc
f56ccc
* Fri Feb 10 2012 Bill Burns <bburns@redhat.com> 0.5-1
f56ccc
- initial version