build/build.spec

243 lines
8.1 KiB
RPMSpec

#
# spec file for package build (Version 2007.08.02)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: build
License: GPL v2 or later
Group: Development/Tools/Building
Autoreqprov: on
Summary: A Script to Build SUSE Linux RPMs
Version: 2007.08.02
Release: 1
Source: build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
%description
This package provides a script for building RPMs for SUSE Linux in a
chroot environment.
%prep
%setup
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/build,lib/build/configs,lib/build/Build,share/man/man1}
cp -a unrpm $RPM_BUILD_ROOT/usr/bin
cp -a Build.pm build createrpmdeps order getbinaryid expanddeps extractbuild getmacros getoptflags init_buildsystem substitutedeps $RPM_BUILD_ROOT/usr/lib/build/
cp -a changelog2spec debtransform $RPM_BUILD_ROOT/usr/lib/build/
cp -a configs/* $RPM_BUILD_ROOT/usr/lib/build/configs
cp -a Build/* $RPM_BUILD_ROOT/usr/lib/build/Build
cp -a mkbaselibs baselibs.conf baselibs_global.conf $RPM_BUILD_ROOT/usr/lib/build/
cp -a build.1 $RPM_BUILD_ROOT/usr/share/man/man1
ln -s /usr/lib/build/build $RPM_BUILD_ROOT/usr/bin/build
%files
%defattr(-,root,root)
%doc README
/usr/bin/build
/usr/bin/unrpm
/usr/lib/build
%{_mandir}/man1/build.1.*
%changelog
* Thu Aug 02 2007 - mls@suse.de
- support 'order' config option
- support 'patterntype' config option
- new setdeps() method
- support for flexible query options
- support 'description' query
- fix bug in changelog2spec time cutoff
- make debtransform understand Debtransform-Tar/Debtransform-Files-Tar/
Debtransform-Series
- fix bug in substitutedeps
* Wed Jun 13 2007 - mls@suse.de
- implement rpm installation order calculation in perl
- make substitute code modify requires, too
- add filelist query support
- add prereq parsing support
- speed up version comparison a bit
* Thu May 10 2007 - mls@suse.de
- add _vendor to configs
- fix deban dependency compare
- allow not operator in configs
- fix build from source rpms
* Thu Apr 12 2007 - mls@suse.de
- add --root to rpm call in rpm to work around a bug in rpm [#255720]
* Thu Apr 05 2007 - mls@suse.de
- update to 1561:
* support architecture dependand requires in dsc files
* support "global" definitions for rpm
* support vminstall config option
* Mon Mar 12 2007 - mls@suse.de
- update to r1419:
* fix buildroot in debtransform
* obey version numbers when expanding
* Fri Mar 02 2007 - mls@suse.de
- transform suse changes file to rpm specfile format
- improved debian support
* Fri Jan 26 2007 - poeml@suse.de
- update to r1114:
- re-add the lost unrpm script
* Fri Jan 26 2007 - poeml@suse.de
- update to r1110:
- make exclarch an array
- remount root rw in xen case, needed if root is not reiserfs
- add repotype/runscripts options
- remove devs in sl10.1/10.2
- fix boolean test to make "00" false like rpm does
- add rpm_verscmp for version comparison
- runscripts
- macro blocks
- read_config_dist
- useful xen exit status
- add --kill
- update 10.2 config
- extend spec/dsc parser
- fixed two bugs in the specfile parser
* Fri Nov 24 2006 - mls@suse.de
- fix suse_version in sl10.1/sles10 config
- add sl10.2 config
- make dist autodetection work with opensuse
- fix macro sequencing and expression parser bugs
- treat preinstalls as keep
* Thu Aug 24 2006 - ro@suse.de
- init_buildsystem: when preinstalling, handle only sh scripts
* Wed Jun 14 2006 - mls@suse.de
- support for buildservice and debian packages
* Fri Apr 28 2006 - mls@suse.de
- add ndeps back to expansion calls
- save original macro name so that other regexp calls don't destroy
it
* Wed Apr 19 2006 - mls@suse.de
- add --list-state option [#119869]
- suppress stat messages when deleting rpms [#154385]
- delete not-ready flag when rpm expansion failes [#133568]
- update baselibs.conf
* Tue Apr 11 2006 - mls@suse.de
- fix typo in configs
- fix macro handling
* Fri Apr 07 2006 - mls@suse.de
- mkbaselibs: do not leave .src.rpm in the release [#158816]
* Tue Apr 04 2006 - mls@suse.de
- add update-alternatives to java2-devel-packages macro [#156137]
* Mon Mar 27 2006 - mls@suse.de
- run zic to set default timezone [#142363]
- update baselibs.conf
* Fri Mar 24 2006 - mls@suse.de
- fix handling of "keep" [#160346]
- fix old configs [#159947]
* Mon Mar 20 2006 - mls@suse.de
- make mkbaselibs use the right version for the srcrpm
- update mkbaselibs configuration files
* Fri Mar 10 2006 - mls@suse.de
- add package expansion and dependency substitution support
* Wed Feb 08 2006 - agruen@suse.de
- Adjust the package lists so that the build script can at least
be used again.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 12 2005 - mls@suse.de
- also search for ix86 packages when building x86_64 [#116069]
* Mon Sep 05 2005 - mls@suse.de
- add --baselibs option
- fix --extra-packs
* Thu May 12 2005 - mls@suse.de
- Fix typo in init_buildsystem that prevented the reuse of the build
environment [#74714]
* Fri Mar 11 2005 - mls@suse.de
- integrated patches into tarball
- allowed build for older dists [#65506]
* Wed Mar 02 2005 - agruen@suse.de
- Some more cleanups for 9.3.
- When using the default list of packages, also try to include the
packages in neededforbuild.
* Mon Feb 28 2005 - agruen@suse.de
- ldconfig must be called with its absolute path.
* Tue May 25 2004 - mls@suse.de
- overhaul the manpage
* Thu Mar 25 2004 - mls@suse.de
- incorporate ro's diff
* Wed Mar 24 2004 - mls@suse.de
- really adapt to 9.1
- add --root and --extra-packs options
- use BuildRequires: line
- use user 'abuild' if norootforbuild found
- fix BUILD_DIR security issue (#35281)
* Thu Mar 11 2004 - ro@suse.de
- adapted for 9.1
* Mon Nov 10 2003 - mmj@suse.de
- Accept "-h" for help
- rpm -ba is now rpmbuild -ba
- Add Maximum RPM reference
* Mon Nov 10 2003 - mmj@suse.de
- Update the default USEDFORBUILD to match todays packages
- Don't build as root
* Wed Oct 15 2003 - mmj@suse.de
- Fix to work on amd64 (from mls) [#32229]
* Fri Sep 05 2003 - mls@suse.de
- select i586 on i686 is user didn't specify arch
- complain if user wan't to build i686 on a not-i686 processor
- patch rpmrc so that i686 rpms are written if building for i686
* Thu Sep 04 2003 - mls@suse.de
- port to sl90
- allow path for BUILD_RPMS
- add BUILD_ARCH and autodetection
- add --jobs and --target options
* Fri Aug 29 2003 - nashif@suse.de
- fixed call for "head"
* Thu Aug 07 2003 - schwab@suse.de
- Fix typo.
* Thu Aug 07 2003 - mmj@suse.de
- Enhance build.1 a bit
* Sat Mar 08 2003 - kukuk@suse.de
- Fix build on 8.2 (coreutils) [Bug #24895]
* Fri Jan 31 2003 - kukuk@suse.de
- Fix build patch from bk.
* Wed Jan 29 2003 - kukuk@suse.de
- Add workaround for duplicate packages for different archs
- Add support for upcoming 8.2
* Fri Oct 04 2002 - bk@suse.de
- integrate 8.1 diff into tarball and update README
- build.dif: init_buildsystem: add support for earlyer distributions
* Mon Sep 09 2002 - mls@suse.de
- Adjust for SuSE Linux 8.1 again
- Fix parameter parsing
- Changed build to accept .src.rpm sources
* Mon Aug 19 2002 - kukuk@suse.de
- Adjust for SuSE Linux 8.1
* Tue Jul 30 2002 - kukuk@suse.de
- Fix get_version_number.sh
* Thu Jul 18 2002 - kukuk@suse.de
- Don't create /etc/rc.config
* Wed Jul 03 2002 - kukuk@suse.de
- Add default package list for new spec files without usedforbuild
- Make it work with gcc 2.95 and gcc 3.1
* Thu Mar 07 2002 - kukuk@suse.de
- Fix build/init_buildsystem
* Mon Jan 14 2002 - kukuk@suse.de
- Add manual page from Gerd Knorr
* Fri Dec 14 2001 - kukuk@suse.de
- Fix file list
- Ignore new RPMs from pre-8.0 on 7.3
* Fri Dec 14 2001 - kukuk@suse.de
- More fixes
* Tue Nov 27 2001 - kukuk@suse.de
- New build script which uses "usedforbuild"
* Thu Jan 18 2001 - kukuk@suse.de
- Update Readme and init_buildsystem for 7.1
* Thu Nov 30 2000 - kukuk@suse.de
- Update init_buildsystem, add README
* Wed Nov 15 2000 - kukuk@suse.de
- First version