1
0

Accepting request 65016 from devel:tools:building

Accepted submit request 65016 from user babelworx

OBS-URL: https://build.opensuse.org/request/show/65016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autoconf-archive?expand=0&rev=1
This commit is contained in:
Sascha Peilicke 2011-03-24 16:42:04 +00:00 committed by Git OBS Bridge
commit b4982c5056
8 changed files with 223 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,13 @@
Index: m4/ax_have_qt.m4
===================================================================
--- m4/ax_have_qt.m4.orig 2011-03-23 16:04:57.000000000 +0100
+++ m4/ax_have_qt.m4 2011-03-23 16:05:47.721475469 +0100
@@ -324,7 +324,7 @@ EOF
fi
fi
])dnl AC_CACHE_VAL ax_cv_qt_test_result
- AC_MSG_RESULT([$ax_cv_qt_test_result]);
+ AC_MSG_RESULT([$ax_cv_qt_test_result])
if test x"$ax_cv_qt_test_result" = "xfailure"; then
AC_MSG_ERROR([Failed to find matching components of a complete
Qt installation. Try using more options,

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e89b220ae15437f454b99c81675f04e08c14d3fd0fd9fba2c3310fe38f6a2c7
size 470088

View File

@ -0,0 +1,27 @@
Index: m4/ax_boost_base.m4
===================================================================
--- m4/ax_boost_base.m4.orig 2010-08-19 00:00:00.000000000 +0200
+++ m4/ax_boost_base.m4 2010-08-26 17:53:43.000000000 +0200
@@ -84,15 +84,18 @@ if test "x$want_boost" = "xyes"; then
AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
succeeded=no
- dnl On x86_64 systems check for system libraries in both lib64 and lib.
+ dnl On x86_64, ppc64 and s390x systems check for system libraries in both lib64 and lib.
dnl The former is specified by FHS, but e.g. Debian does not adhere to
dnl this (as it rises problems for generic multi-arch support).
dnl The last entry in the list is chosen by default when no libraries
dnl are found, e.g. when only header-only libraries are installed!
+
libsubdirs="lib"
- if test `uname -m` = x86_64; then
- libsubdirs="lib64 lib lib64"
- fi
+ case `uname -m` in
+ x86_64 | ppc64 | s390x)
+ libsubdirs="lib64 lib lib64"
+ ;;
+ esac
dnl first we check the system location for boost libraries
dnl this location ist chosen if boost libraries are installed with the --layout=system option

View File

@ -0,0 +1,53 @@
- Newer autoconfs get confused by code snippets that consist only
of comments.
- Use AS_HELP_STRING to format help messages.
signed-off-by: pth@suse.de
Index: m4/ax_have_qt.m4
===================================================================
--- m4/ax_have_qt.m4.orig 2010-10-26 00:00:00.000000000 +0200
+++ m4/ax_have_qt.m4 2011-03-23 14:53:45.959051749 +0100
@@ -101,20 +101,24 @@ AC_DEFUN([AX_HAVE_QT],
AC_MSG_CHECKING(for Qt)
AC_ARG_WITH([Qt-dir],
- [ --with-Qt-dir=DIR DIR is equal to $QTDIR if you have followed the
- installation instructions of Trolltech. Header
- files are in DIR/include, binary utilities are
- in DIR/bin. The library is in DIR/lib, unless
- --with-Qt-lib-dir is also set.])
+ AS_HELP_STRING([--with-Qt-dir=DIR],
+ [DIR is equal to $QTDIR if you have followed the
+ installation instructions of Trolltech. Header
+ files are in DIR/include, binary utilities are
+ in DIR/bin. The library is in DIR/lib, unless
+ --with-Qt-lib-dir is also set.]))
AC_ARG_WITH([Qt-include-dir],
- [ --with-Qt-include-dir=DIR
- Qt header files are in DIR])
+ AS_HELP_STRING([--with-Qt-include-dir=DIR],
+ [Qt header files are in DIR]))
AC_ARG_WITH([Qt-bin-dir],
- [ --with-Qt-bin-dir=DIR Qt utilities such as moc and uic are in DIR])
+ AS_HELP_STRING([--with-Qt-bin-dir=DIR],
+ [Qt utilities such as moc and uic are in DIR]))
AC_ARG_WITH([Qt-lib-dir],
- [ --with-Qt-lib-dir=DIR The Qt library is in DIR])
+ AS_HELP_STRING([--with-Qt-lib-dir=DIR],
+ [The Qt library is in DIR]))
AC_ARG_WITH([Qt-lib],
- [ --with-Qt-lib=LIB Use -lLIB to link with the Qt library])
+ AS_HELP_STRING([--with-Qt-lib=LIB],
+ [Use -lLIB to link with the Qt library]))
if test x"$with_Qt_dir" = x"no" ||
test x"$with_Qt_include-dir" = x"no" ||
test x"$with_Qt_bin_dir" = x"no" ||
@@ -494,7 +498,6 @@ AC_DEFUN([AX_PATH_QT_DIRECT],
# We can link with no special library directory.
ax_qt_lib_dir=
], [
- # Leave ax_qt_lib_dir defined
])
])
])

25
autoconf-archive.changes Normal file
View File

@ -0,0 +1,25 @@
-------------------------------------------------------------------
Wed Mar 23 14:56:40 CET 2011 - pth@suse.de
- Newer autoconfs produce wrong code if code snippets consist
only of coments, so fix ax_have_qt.m4 accordingly.
- Use AS_HELP_STRING in ax_have_qt.m4.
- Remove spurious semicolon from AC_MSG_RESULT call.
-------------------------------------------------------------------
Thu Nov 25 11:57:57 CET 2010 - pth@suse.de
- Move the lib64 patch from boost here. This sets lib64 also for
ppc64 and s390x.
-------------------------------------------------------------------
Wed Nov 24 14:58:12 CET 2010 - sbrabec@suse.cz
- Updated to the latest release 2010.10.26.
-------------------------------------------------------------------
Tue Jun 8 15:04:56 CEST 2010 - pth@suse.de
- Initial openSUSE package.

78
autoconf-archive.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package autoconf-archive (Version 2010.06.04)
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: autoconf-archive
Summary: A Collection of macros for GNU autoconf
Version: 2010.10.26
Release: 0
License: GPL
Group: Development/Tools/Building
Source0: %{name}-%{version}.tar.xz
Patch0: autoconf-archive-boost_lib64.patch
Patch1: autoconf-archive-fix_AX_HAVE_QT.patch
Patch2: autoconf-archiv-no_semicolon.patch
Url: http://savannah.gnu.org/projects/autoconf-archive
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xz
BuildArch: noarch
Requires(pre): info
%description
The GNU Autoconf Archive is a collection of more than 450 macros for `GNU
Autoconf <http://www.gnu.org/software/autoconf>`_ that have been contributed as
free software by friendly supporters of the cause from all over the Internet.
Every single one of those macros can be re-used without imposing any
restrictions whatsoever on the licensing of the generated `configure` script. In
particular, it is possible to use all those macros in `configure` scripts that
are meant for non-free software. This policy is unusual for a Free Software
Foundation project. The FSF firmly believes that software ought to be free, and
software licenses like the GPL are specifically designed to ensure that
derivative work based on free software must be free as well. In case of
Autoconf, however, an exception has been made, because Autoconf is at such a
pivotal position in the software development tool chain that the benefits from
having this tool available as widely as possible outweigh the disadvantage that
some authors may choose to use it, too, for proprietary software.
%prep
%setup -q
%patch0
%patch1
%patch2
%build
%configure
%install
%makeinstall
rm -rf %{buildroot}/%{_datadir}/%{name}/
%clean
rm -rf %{buildroot}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf-archive.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf-archive.info.gz
%files
%defattr(-, root, root)
%{_infodir}/%{name}*
%{_datadir}/aclocal/*.m4
%doc AUTHORS COPYING README
%changelog