SHA256
3
0
forked from pool/autoconf

Accepting request 98243 from devel:tools:building

- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable

- Remove redundant tags/sections from specfile

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

- Use 2.68 everywhere in specfile.
- Use %%configure macro in spec file.

- Cosmetic changes to spec file



- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable

- Remove redundant tags/sections from specfile

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

- Cosmetic changes to spec file



- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable

OBS-URL: https://build.opensuse.org/request/show/98243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autoconf?expand=0&rev=25
This commit is contained in:
Stephan Kulow 2011-12-27 17:34:43 +00:00 committed by Git OBS Bridge
commit daa7e57de5
6 changed files with 104 additions and 47 deletions

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Sun Dec 18 12:40:46 UTC 2011 - sweet_f_a@gmx.de
- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable
-------------------------------------------------------------------
Sat Sep 17 13:42:16 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Sat Sep 17 13:41:38 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Mon Jan 31 17:26:59 CET 2011 - pth@suse.de
- Use 2.68 everywhere in specfile.
- Use %%configure macro in spec file.
-------------------------------------------------------------------
Mon Jan 31 17:26:28 CET 2011 - pth@suse.de
- Cosmetic changes to spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 10 11:24:33 UTC 2010 - coolo@novell.com Fri Dec 10 11:24:33 UTC 2010 - coolo@novell.com
@ -479,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13 - update to 2.13
---------------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable - Make auto*.sh more secure and use mktemp if avaliable
---------------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

@ -16,15 +16,14 @@
# #
Name: autoconf-el Name: autoconf-el
BuildRequires: emacs-nox xz BuildRequires: emacs-nox
License: GPLv3+ BuildRequires: xz
Group: Productivity/Editors/Emacs
AutoReqProv: on
Version: 2.68 Version: 2.68
Release: 1 Release: 0
Summary: Emacs mode for editing GNU Autoconf scripts Summary: Emacs mode for editing GNU Autoconf scripts
License: GPL-3.0+
Group: Productivity/Editors/Emacs
Url: http://www.gnu.org/software/autoconf Url: http://www.gnu.org/software/autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: autoconf-%{version}.tar.xz Source: autoconf-%{version}.tar.xz
@ -35,18 +34,12 @@ Enhances: emacs
%description %description
Emacs mode for editing GNU Autoconf scripts Emacs mode for editing GNU Autoconf scripts
Authors:
--------
Martin Buchholz <martin@xemacs.org>
Akim Demaille <akim@freefriends.org>
%prep %prep
%setup -q -n autoconf-%{version} %setup -q -n autoconf-%{version}
%build %build
%{suse_update_config -f config}
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} ./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make -C lib/emacs make -C lib/emacs %{?_smp_mflags}
%install %install
make -C lib/emacs install DESTDIR=$RPM_BUILD_ROOT make -C lib/emacs install DESTDIR=$RPM_BUILD_ROOT
@ -66,9 +59,6 @@ sed 's/^;//' > $RPM_BUILD_ROOT%{site_lisp}/suse-start-%{name}.el <<\EOF
;;; %{site_lisp}/suse-start-%{name}.el ends here ;;; %{site_lisp}/suse-start-%{name}.el ends here
EOF EOF
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{site_lisp}/*.el %{site_lisp}/*.el

View File

@ -1,9 +1,31 @@
-------------------------------------------------------------------
Sun Dec 18 12:40:46 UTC 2011 - sweet_f_a@gmx.de
- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable
-------------------------------------------------------------------
Sat Sep 17 13:42:16 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Sat Sep 17 13:41:38 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 31 17:26:59 CET 2011 - pth@suse.de Mon Jan 31 17:26:59 CET 2011 - pth@suse.de
- Use 2.68 everywhere in specfile. - Use 2.68 everywhere in specfile.
- Use %%configure macro in spec file. - Use %%configure macro in spec file.
-------------------------------------------------------------------
Mon Jan 31 17:26:28 CET 2011 - pth@suse.de
- Cosmetic changes to spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 10 11:24:33 UTC 2010 - coolo@novell.com Fri Dec 10 11:24:33 UTC 2010 - coolo@novell.com
@ -485,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13 - update to 2.13
---------------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable - Make auto*.sh more secure and use mktemp if avaliable
---------------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

@ -16,18 +16,17 @@
# #
Name: autoconf-testsuite Name: autoconf-testsuite
BuildRequires: help2man xz BuildRequires: help2man
License: GPLv3+ BuildRequires: xz
Group: Development/Tools/Building
Url: http://www.gnu.org/software/autoconf Url: http://www.gnu.org/software/autoconf
AutoReqProv: on
Requires: m4 >= 1.4.6 Requires: m4 >= 1.4.6
PreReq: %{install_info_prereq} Requires: info
Version: 2.68 Version: 2.68
Release: 1 Release: 0
Summary: A GNU Tool for Automatically Configuring Source Code Summary: A GNU Tool for Automatically Configuring Source Code
License: GPL-3.0+
Group: Development/Tools/Building
Source: autoconf-%{version}.tar.xz Source: autoconf-%{version}.tar.xz
Patch0: autoreconf-ltdl.diff Patch0: autoreconf-ltdl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -51,7 +50,6 @@ only required for the generation of the scripts, not their use.
%patch0 %patch0
%build %build
%{suse_update_config -f config}
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
@ -65,8 +63,10 @@ make check
%else %else
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el* rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
# info's dir file is not auto ignored on some systems
rm -rf %{buildroot}%{_infodir}/dir
%endif %endif
%post %post
@ -75,9 +75,6 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
%postun %postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%if "%{name}" == "autoconf" %if "%{name}" == "autoconf"
%files %files

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sun Dec 18 12:40:46 UTC 2011 - sweet_f_a@gmx.de
- correct license and style (prepare_spec)
- minor build fixes, avoid deprecated macros to be more portable
-------------------------------------------------------------------
Sat Sep 17 13:42:16 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Sat Sep 17 13:41:38 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Mon Jan 31 17:26:59 CET 2011 - pth@suse.de
- Use 2.68 everywhere in specfile.
- Use %%configure macro in spec file.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 31 17:26:28 CET 2011 - pth@suse.de Mon Jan 31 17:26:28 CET 2011 - pth@suse.de
@ -484,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13 - update to 2.13
---------------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable - Make auto*.sh more secure and use mktemp if avaliable
---------------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

@ -16,18 +16,17 @@
# #
Name: autoconf Name: autoconf
BuildRequires: help2man xz BuildRequires: help2man
License: GPLv3+ BuildRequires: xz
Group: Development/Tools/Building
Url: http://www.gnu.org/software/autoconf Url: http://www.gnu.org/software/autoconf
AutoReqProv: on
Requires: m4 >= 1.4.6 Requires: m4 >= 1.4.6
PreReq: %{install_info_prereq} Requires: info
Version: 2.68 Version: 2.68
Release: 1 Release: 0
Summary: A GNU Tool for Automatically Configuring Source Code Summary: A GNU Tool for Automatically Configuring Source Code
License: GPL-3.0+
Group: Development/Tools/Building
Source: autoconf-%{version}.tar.xz Source: autoconf-%{version}.tar.xz
Patch0: autoreconf-ltdl.diff Patch0: autoreconf-ltdl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -51,8 +50,7 @@ only required for the generation of the scripts, not their use.
%patch0 %patch0
%build %build
%{suse_update_config -f config} %configure
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make %{?_smp_mflags} make %{?_smp_mflags}
%if "%{name}" == "autoconf-testsuite" %if "%{name}" == "autoconf-testsuite"
@ -65,8 +63,10 @@ make check
%else %else
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el* rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
# info's dir file is not auto ignored on some systems
rm -rf %{buildroot}%{_infodir}/dir
%endif %endif
%post %post
@ -75,9 +75,6 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
%postun %postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%if "%{name}" == "autoconf" %if "%{name}" == "autoconf"
%files %files