%define _class Math %define _subclass Histogram %define upstream_name %{_class}_%{_subclass} Name: php-pear-%{upstream_name} Version: 0.9.0 Release: %mkrel 21 Summary: Classes to calculate histogram distributions License: PHP License Group: Development/PHP URL: https://pear.php.net/package/Math_Histogram/ Source0: https://pear.php.net/get/%{upstream_name}-%{version}.tar.bz2 Requires(post): php-pear Requires(preun): php-pear Requires: php-pear BuildArch: noarch BuildRequires: php-pear %description Classes to calculate histogram distributions and associated statistics. Supports simple and cumulative histograms. You can generate regular (2D) histograms, 3D, or 4D histograms. Data must not have nulls. %prep %setup -q -c mv package.xml %{upstream_name}-%{version}/%{upstream_name}.xml %install cd %{upstream_name}-%{version} pear install --nodeps --packagingroot %{buildroot} %{upstream_name}.xml rm -rf %{buildroot}%{_datadir}/pear/.??* rm -rf %{buildroot}%{_datadir}/pear/doc rm -rf %{buildroot}%{_datadir}/pear/test rm -rf %{buildroot}%{_datadir}/pear/data install -d %{buildroot}%{_datadir}/pear/packages install -m 644 %{upstream_name}.xml %{buildroot}%{_datadir}/pear/packages %files %doc %{upstream_name}-%{version}/README* %doc %{upstream_name}-%{version}/examples %{_datadir}/pear/%{_class} %{_datadir}/pear/packages/%{upstream_name}.xml %changelog * Tue Mar 22 2022 umeabot <umeabot> 0.9.0-21.mga9 + Revision: 1817879 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.9.0-20.mga8 + Revision: 1499077 - Mageia 8 Mass Rebuild * Wed Sep 19 2018 umeabot <umeabot> 0.9.0-19.mga7 + Revision: 1273462 - Mageia 7 Mass Rebuild * Wed Feb 17 2016 umeabot <umeabot> 0.9.0-18.mga6 + Revision: 964707 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.9.0-17.mga5 + Revision: 742857 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.9.0-16.mga5 + Revision: 687344 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.9.0-15.mga4 + Revision: 516977 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.9.0-14.mga3 + Revision: 376872 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 29 2011 spuhler <spuhler> 0.9.0-13.mga1 + Revision: 43369 - removed buildroot definition from .spec removed the if mdkversion lines - imported package php-pear-Math_Histogram * Tue Dec 07 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-13mdv2011.0 + Revision: 613711 - the mass rebuild of 2010.1 packages * Wed Nov 25 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.0-12mdv2010.1 + Revision: 470155 - spec cleanup - use pear installer - don't ship tests, even in documentation - own all directories - use rpm filetriggers starting from mandriva 2010.1 * Sat Sep 26 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.0-11mdv2010.0 + Revision: 449343 - rebuild for missing binaries * Tue Sep 15 2009 Thierry Vignaud <tv@mandriva.org> 0.9.0-10mdv2010.0 + Revision: 441301 - rebuild * Thu Jan 01 2009 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-9mdv2009.1 + Revision: 322362 - rebuild * Thu Jul 17 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-8mdv2009.0 + Revision: 236930 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Sat Nov 11 2006 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-7mdv2007.0 + Revision: 82109 - Import php-pear-Math_Histogram * Fri Feb 10 2006 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-7mdk - new group (Development/PHP) * Fri Aug 26 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-6mdk - rebuilt to fix auto deps * Wed Aug 10 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-5mdk - rebuilt to use new pear auto deps/reqs from pld * Sun Jul 31 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-4mdk - fix deps * Thu Jul 21 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-3mdk - reworked the %%post and %%preun stuff, like in conectiva - fix deps * Wed Jul 20 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-2mdk - fix deps * Tue Jul 19 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-1mdk - initial Mandriva package (PLD import)