jemalloc/jemalloc.spec

101 lines
2.7 KiB
RPMSpec
Raw Normal View History

2010-11-24 10:54:07 +00:00
Name: jemalloc
2011-03-15 14:32:11 +00:00
Version: 2.1.3
2010-11-24 10:54:07 +00:00
Release: 2%{?dist}
2010-11-24 10:54:07 +00:00
Summary: General-purpose scalable concurrent malloc implementation
Group: System Environment/Libraries
License: BSD
URL: http://www.canonware.com/jemalloc/
Source0: http://www.canonware.com/download/jemalloc/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Remove pprof, as it already exists in google-perftools
Patch0: jemalloc-2.1.0.no_pprof.patch
2010-12-11 14:09:03 +00:00
# check for __s390__ as it's defined on both s390 and s390x
Patch1: jemalloc-2.0.1-s390.patch
2010-11-24 10:54:07 +00:00
BuildRequires: /usr/bin/xsltproc
2010-11-24 10:54:07 +00:00
%description
General-purpose scalable concurrent malloc(3) implementation.
This distribution is the stand-alone "portable" implementation of %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%patch0
2010-12-11 14:09:03 +00:00
%patch1 -p1 -b .s390
2010-11-24 10:54:07 +00:00
%build
# This is truncated during build. Seems interesting to save.
mv VERSION version
2010-11-24 10:54:07 +00:00
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mv version VERSION
# Install this with doc macro instead
rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
2010-11-24 10:54:07 +00:00
# None of these in fedora
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/libjemalloc.so.*
%doc COPYING README VERSION
%doc doc/jemalloc.html
2010-11-24 10:54:07 +00:00
%files devel
%defattr(-,root,root,-)
%{_includedir}/jemalloc
%{_libdir}/libjemalloc.so
%{_mandir}/man3/jemalloc.3*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
2011-03-15 18:45:06 +00:00
* Tue Mar 15 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
2011-03-15 14:32:11 +00:00
- New upstream release
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-01 09:21:23 +00:00
* Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.1-1
- New upstream release
* Wed Jan 05 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.0-1
- New upstream release
- Updated patch to remove pprof
- Added html doc and xsltproc as a requirement to build it
2010-12-11 14:09:03 +00:00
* Sat Dec 11 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-3
- fix build on s390
2010-11-24 10:54:07 +00:00
* Thu Nov 18 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-2
- Added a patch that removes pprof, as it already exists in the
google-perftools package
- Cosmetic fixes as requested in the package review (rhbz#653682)
* Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-1
- First cut of an rpm distribution of jemalloc