Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release-src > by-pkgid > f56cdc5e15d18a3a6507edae45460746 > files > 7

bm-2.1-228.mga4.src.rpm

# no need to bzip2 patches, the macro below makes the .src.rpm use
# bzip2 compression instead of gzip (the default one)
%define _source_payload w9.bzdio

Name: bm
Version: 2.1
Release: %mkrel 228
Summary: BuildManager - rpm package building helper
Group: Development/Other
License: GPLv2
URL: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/build_system/bm/ 
Source: bm-%{version}.tar.bz2
Source1:	%{name}.bash-completion
Patch0: bm-2.1-rpmbuild.patch
Patch1: bm-2.1-only-move-srpm.patch
Patch2: bm-2.1-use-subprocess.patch
patch3: bm-2.1-missing-exceptions.patch
Requires: python >= %pyver
Requires: rpm-build
BuildRequires: rpm-build
BuildRequires: python 
BuildRequires: python-devel
BuildArch:     noarch

%description
BuildManager, or bm, is a program that wraps and extends RPM while building
packages. Its features allow one to batch process thousand of RPMs at once,
controlling logs, RPM and SRPM moving, filtering the list of files, ignoring
given packages, completely cleaning the build directories, and many other
features.

%prep
%setup -q
%patch0 -p1
%patch1 -p0
%patch2 -p1
%patch3 -p0

%build
%{__python} setup.py build

%install
%{__python} setup.py install --root=%{buildroot} --skip-build

# bash completion
install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}


%files
%doc LICENSE
%{_bindir}/%{name}*
%{python_sitelib}/BuildManager/*.py*
%{python_sitelib}/%{name}-*.egg-info
%{_sysconfdir}/bash_completion.d/%{name}



%changelog
* Tue Oct 22 2013 umeabot <umeabot> 2.1-228.mga4
+ Revision: 542502
- Mageia 4 Mass Rebuild

* Mon Oct 14 2013 pterjan <pterjan> 2.1-227.mga4
+ Revision: 497660
- Rebuild to add different pythonegg provides for python 2 and 3

* Mon Oct 14 2013 marja <marja> 2.1-226.mga4
+ Revision: 496685
- further cleaned spec (thx philippem :-))
- removed Brazilian non-UTF8 description
- list files more explicitly

* Fri Jan 11 2013 umeabot <umeabot> 2.1-225.mga3
+ Revision: 346932
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Nov 21 2012 pterjan <pterjan> 2.1-224.mga3
+ Revision: 319923
- Fix License tag

* Mon Jan 17 2011 blino <blino> 2.1-223.mga1
+ Revision: 20942
- update comment
- imported package bm


* Fri Oct 29 2010 Michael Scherer <misc@mandriva.org> 2.1-223mdv2011.0
+ Revision: 590153
- rebuild for python 2.7

* Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 2.1-222mdv2010.1
+ Revision: 522239
- rebuilt for 2010.1

* Wed Jun 10 2009 Bogdano Arendartchuk <bogdano@mandriva.com> 2.1-221mdv2010.0
+ Revision: 384983
- added patch to define the exceptions used when the specfile is not found,
  to not show the ugly traceback (pointed by pzanoni)

  + Michael Scherer <misc@mandriva.org>
    - add the url of the svn, this is the only know page ( maybe if someone write something on the wiki ), close bug 37042

* Fri Jan 16 2009 Bogdano Arendartchuk <bogdano@mandriva.com> 2.1-220mdv2009.1
+ Revision: 330266
- added patch to use the subprocess module instead of popen2 (deprecated in
  python-2.6)

* Wed Dec 24 2008 Funda Wang <fwang@mandriva.org> 2.1-219mdv2009.1
+ Revision: 318363
- rebuild for new python

* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 2.1-218mdv2009.0
+ Revision: 220488
- rebuild

* Fri Jan 11 2008 Thierry Vignaud <tv@mandriva.org> 2.1-217mdv2008.1
+ Revision: 149012
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Bogdano Arendartchuk <bogdano@mandriva.com>
    - added patch to make --move-srpm move only .src.rpm files inside SRPMS/

* Wed Aug 29 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.1-215mdv2008.0
+ Revision: 74578
- bash completion support


* Wed Dec 13 2006 Nicolas Lécureuil <neoclust@mandriva.org> 2.1-214mdv2007.0
+ Revision: 96492
- Rebuild against new python

* Tue Nov 28 2006 Andreas Hasenack <andreas@mandriva.com> 2.1-213mdv2007.1
+ Revision: 87832
- rebuild with python 2.5
- renamed mdv to packages because mdv is too generic and it's hosting only packages anyway
- uncompressed patch file and marked .src.rpm to use bzip2 compression for its payload

  + Götz Waschk <waschk@mandriva.org>
    - rebuild for new python

  + Michael Scherer <misc@mandriva.org>
    - remove duplicated macros
    - clean BuildRoot in %%install
    - this package is not arch dependent, so tag it as noarch
    - use mkrel
    - fix build on x86_64

  + Helio Chissini de Castro <helio@mandriva.com>
    - Removed Buildarch noarch
    - Missing macro %%pyver
    - Fixed lib64 build for x86_64
    - Fixed python macros
    - Created dir structure

* Thu Mar 17 2005 Helio Chissini de Castro <helio@mandrakesoft.com> 2.1-2mdk
- Ordering requires to avoid future mess on next releasesof RPM with PreReq

* Thu Mar 17 2005 Helio Chissini de Castro <helio@mandrakesoft.com> 2.1-1mdk
- First BuildManager release on Mandrake Contrib