Blame SPECS/memkind.spec

adae48
%global gittag0 v1.11.0
62a51b
62a51b
Name: memkind
62a51b
Summary: User Extensible Heap Manager
adae48
Version: 1.11.0
adae48
Release: 1%{?checkout}%{?dist}
62a51b
License: BSD
62a51b
URL: http://memkind.github.io/memkind
62a51b
BuildRequires: make
62a51b
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ daxctl-devel
62a51b
62a51b
# Upstream testing of memkind is done exclusively on x86_64; other archs
62a51b
# are unsupported but may work.
62a51b
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64
62a51b
62a51b
Source0: https://github.com/%{name}/%{name}/archive/%{gittag0}/%{name}-%{version}.tar.gz
62a51b
62a51b
%description
62a51b
The memkind library is an user extensible heap manager built on top of
62a51b
jemalloc which enables control of memory characteristics and a
62a51b
partitioning of the heap between kinds of memory.  The kinds of memory
62a51b
are defined by operating system memory policies that have been applied
62a51b
to virtual address ranges. Memory characteristics supported by
62a51b
memkind without user extension include control of NUMA and page size
62a51b
features. The jemalloc non-standard interface has been extended to
62a51b
enable specialized arenas to make requests for virtual memory from the
62a51b
operating system through the memkind partition interface. Through the
62a51b
other memkind interfaces the user can control and extend memory
62a51b
partition features and allocate memory while selecting enabled
62a51b
features. This software is being made available for early evaluation.
62a51b
Feedback on design or implementation is greatly appreciated.
62a51b
62a51b
%package devel
62a51b
Summary: Memkind User Extensible Heap Manager development lib and tools
62a51b
Requires: %{name} = %{version}-%{release}
62a51b
62a51b
%description devel
62a51b
Install header files and development aids to link memkind library 
62a51b
into applications. The memkind library is an user extensible heap manager 
62a51b
built on top of jemalloc which enables control of memory characteristics and
62a51b
heap partitioning on different kinds of memory. This software is being made 
62a51b
available for early evaluation. The memkind library should be considered 
62a51b
pre-alpha: bugs may exist and the interfaces may be subject to change prior to 
62a51b
alpha release. Feedback on design or implementation is greatly appreciated.
62a51b
62a51b
%prep
62a51b
%setup -q -a 0 -n %{name}-%{version}
62a51b
62a51b
%build
62a51b
# It is required that we configure and build the jemalloc subdirectory
62a51b
# before we configure and start building the top level memkind directory.
62a51b
# To ensure the memkind build step is able to discover the output
62a51b
# of the jemalloc build we must create an 'obj' directory, and build
62a51b
# from within that directory.
62a51b
cd %{_builddir}/%{name}-%{version}
62a51b
echo %{version} > %{_builddir}/%{name}-%{version}/VERSION
62a51b
./build.sh --prefix=%{_prefix} --includedir=%{_includedir} --libdir=%{_libdir} \
62a51b
           --bindir=%{_bindir} --docdir=%{_docdir}/%{name} --mandir=%{_mandir} \
62a51b
           --sbindir=%{_sbindir}
62a51b
62a51b
%install
62a51b
cd %{_builddir}/%{name}-%{version}
62a51b
make DESTDIR=%{buildroot} INSTALL='install -p' install
62a51b
rm -f %{buildroot}/%{_libdir}/lib%{name}.{l,}a
62a51b
rm -f %{buildroot}/%{_libdir}/libautohbw.{l,}a
62a51b
rm -f %{buildroot}/%{_docdir}/%{name}/VERSION
62a51b
62a51b
%ldconfig_scriptlets
62a51b
62a51b
%files
62a51b
%{_libdir}/lib%{name}.so.*
62a51b
%{_libdir}/libautohbw.so.*
62a51b
%{_bindir}/%{name}-hbw-nodes
62a51b
%{_bindir}/%{name}-auto-dax-kmem-nodes
62a51b
%{_mandir}/man1/%{name}*.1.*
62a51b
%{_mandir}/man7/autohbw.7.*
62a51b
%dir %{_docdir}/%{name}
62a51b
%doc %{_docdir}/%{name}/README
62a51b
%license %{_docdir}/%{name}/COPYING
62a51b
62a51b
%files devel
62a51b
%{_includedir}/%{name}*.h
62a51b
%{_includedir}/hbwmalloc.h
62a51b
%{_includedir}/hbw_allocator.h
62a51b
%{_includedir}/pmem_allocator.h
62a51b
%{_libdir}/lib%{name}.so
62a51b
%{_libdir}/libautohbw.so
62a51b
%{_libdir}/pkgconfig/memkind.pc
62a51b
%{_mandir}/man3/%{name}*.3.*
62a51b
%{_mandir}/man3/hbwmalloc.3.*
62a51b
%{_mandir}/man3/hbwallocator.3.*
62a51b
%{_mandir}/man3/pmemallocator.3.*
62a51b
62a51b
%changelog
adae48
* Fri Oct 08 2021 Rafael Aquini <aquini@redhat.com> - 1.11.0-1
adae48
- Update memkind source file to 1.11.0 upstream
adae48
62a51b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.1-5
62a51b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
62a51b
  Related: rhbz#1991688
62a51b
62a51b
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.1-4
62a51b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
62a51b
62a51b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
62a51b
62a51b
* Thu Oct 15 2020 Rafael Aquini <aquini@linux.com> - 1.10.1-2
62a51b
- Work around false positive warning with gcc-11
62a51b
62a51b
* Wed Oct 07 2020 Rafael Aquini <aquini@linux.com> - 1.10.1-1
62a51b
- Update memkind source file to 1.10.1 upstream
62a51b
62a51b
* Wed Jul 29 2020 Jeff Law <law@redhat.com> - 1.10.0-3
62a51b
- Avoid uninitialized variable in testsuite
62a51b
62a51b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
62a51b
62a51b
* Sat Feb 01 2020 Rafael Aquini <aquini@linux.com> - 1.10.0-1
62a51b
- Update memkind source file to 1.10.0 upstream
62a51b
62a51b
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-4
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
62a51b
62a51b
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 1.9.0-3
62a51b
- Fix missing #include for gcc-10
62a51b
62a51b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
62a51b
62a51b
* Wed Jul 10 2019 Rafael Aquini <aquini@linux.com> - 1.9.0-1
62a51b
- Update memkind source file to 1.9.0 upstream
62a51b
62a51b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
62a51b
62a51b
* Fri Jul 20 2018 Rafael Aquini <aquini@linux.com> - 1.7.0-3
62a51b
- Rebuild to fix removal of GCC from buildroots (1604813)
62a51b
62a51b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
62a51b
62a51b
* Fri Mar 23 2018 Rafael Aquini <aquini@linux.com> - 1.7.0-1
62a51b
- Update memkind source file to 1.7.0 upstream
62a51b
62a51b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
62a51b
62a51b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
62a51b
62a51b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
62a51b
62a51b
* Mon Mar 27 2017 Rafael Aquini <aquini@linux.com> - 1.5.0-1
62a51b
- Update memkind source file to 1.5.0 upstream
62a51b
62a51b
* Fri Feb 17 2017 Rafael Aquini <aquini@linux.com> - 1.4.0-1
62a51b
- Update memkind source file to 1.4.0 upstream
62a51b
62a51b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
62a51b
62a51b
* Wed Nov 16 2016 Rafael Aquini <aquini@linux.com> - 1.3.0-1
62a51b
- Update memkind source file to 1.3.0 upstream
62a51b
62a51b
* Wed Jun 08 2016 Rafael Aquini <aquini@linux.com> - 1.1.0-1
62a51b
- Update memkind source file to 1.1.0 upstream
62a51b
62a51b
* Thu Mar 17 2016 Rafael Aquini <aquini@linux.com> - 1.0.0-1
62a51b
- Update memkind source file to 1.0.0 upstream
62a51b
62a51b
* Sun Feb 07 2016 Rafael Aquini <aquini@linux.com> - 0.3.0-5
62a51b
- Fix rpmlint error dir-or-file-in-var-run for /var/run/memkind
62a51b
62a51b
* Sat Feb 06 2016 Rafael Aquini <aquini@linux.com> - 0.3.0-4
62a51b
- Update upstream fixes for memkind-0.3.0
62a51b
- Switch old init.d scripts for systemd unit service
62a51b
- Fix fc24 build error
62a51b
62a51b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
62a51b
62a51b
* Tue Nov 17 2015 Rafael Aquini <aquini@linux.com> - 0.3.0-2
62a51b
- Minor clean-ups and adjustments required for the RPM
62a51b
62a51b
* Tue Nov 17 2015 Rafael Aquini <aquini@linux.com> - 0.3.0-1
62a51b
- Update memkind source file to 0.3.0 upstream
62a51b
62a51b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-4.20150525git
62a51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
62a51b
62a51b
* Mon May 25 2015 Rafael Aquini <aquini@linux.com> - 0.2.2-3.20150525git
62a51b
- Get rid of obsolete m4 macros usage on autotool scripts
62a51b
62a51b
* Mon May 18 2015 Rafael Aquini <aquini@linux.com> - 0.2.2-2.20150525git
62a51b
- Fix to BuildRequires and License Text Marker in spec file (1222709#c1)
62a51b
62a51b
* Mon May 18 2015 Rafael Aquini <aquini@linux.com> - 0.2.2-1.20150518git
62a51b
- Initial RPM packaging for Fedora