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
@ -479,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13
----------------------------------------------------------------------------
-------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable
----------------------------------------------------------------------------
-------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

@ -16,15 +16,14 @@
#
Name: autoconf-el
BuildRequires: emacs-nox xz
License: GPLv3+
Group: Productivity/Editors/Emacs
AutoReqProv: on
BuildRequires: emacs-nox
BuildRequires: xz
Version: 2.68
Release: 1
Release: 0
Summary: Emacs mode for editing GNU Autoconf scripts
License: GPL-3.0+
Group: Productivity/Editors/Emacs
Url: http://www.gnu.org/software/autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: autoconf-%{version}.tar.xz
@ -35,18 +34,12 @@ Enhances: emacs
%description
Emacs mode for editing GNU Autoconf scripts
Authors:
--------
Martin Buchholz <martin@xemacs.org>
Akim Demaille <akim@freefriends.org>
%prep
%setup -q -n autoconf-%{version}
%build
%{suse_update_config -f config}
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make -C lib/emacs
make -C lib/emacs %{?_smp_mflags}
%install
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
EOF
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{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
- 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
@ -485,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13
----------------------------------------------------------------------------
-------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable
----------------------------------------------------------------------------
-------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

@ -16,18 +16,17 @@
#
Name: autoconf-testsuite
BuildRequires: help2man xz
License: GPLv3+
Group: Development/Tools/Building
BuildRequires: help2man
BuildRequires: xz
Url: http://www.gnu.org/software/autoconf
AutoReqProv: on
Requires: m4 >= 1.4.6
PreReq: %{install_info_prereq}
Requires: info
Version: 2.68
Release: 1
Release: 0
Summary: A GNU Tool for Automatically Configuring Source Code
License: GPL-3.0+
Group: Development/Tools/Building
Source: autoconf-%{version}.tar.xz
Patch0: autoreconf-ltdl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -51,7 +50,6 @@ only required for the generation of the scripts, not their use.
%patch0
%build
%{suse_update_config -f config}
%configure
make %{?_smp_mflags}
@ -65,8 +63,10 @@ make check
%else
%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*
# info's dir file is not auto ignored on some systems
rm -rf %{buildroot}%{_infodir}/dir
%endif
%post
@ -75,9 +75,6 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%if "%{name}" == "autoconf"
%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
@ -484,12 +507,12 @@ Fri Jan 15 14:02:28 MET 1999 - ro@suse.de
- update to 2.13
----------------------------------------------------------------------------
-------------------------------------------------------------------
Thu Jul 23 14:57:39 MET DST 1998 - werner@suse.de
- Make auto*.sh more secure and use mktemp if avaliable
----------------------------------------------------------------------------
-------------------------------------------------------------------
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de

View File

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