Accepting request 55290 from multimedia:libs

Accepted submit request 55290 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/55290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exempi?expand=0&rev=17
This commit is contained in:
Marcus Rückert 2010-12-10 15:12:14 +00:00 committed by Git OBS Bridge
commit 5ed714a72d
3 changed files with 48 additions and 3 deletions

32
exempi-no-shave.patch Normal file
View File

@ -0,0 +1,32 @@
--- configure.ac.orig
+++ configure.ac
@@ -10,6 +10,7 @@ dnl the same distribution terms as the r
AC_PREREQ(2.50)
AC_INIT(exempi/xmp.h)
AM_INIT_AUTOMAKE(exempi, 2.1.1)
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AM_MAINTAINER_MODE
dnl ---------------------------------------------------------------------------
@@ -74,7 +75,7 @@ AC_SUBST(pkgconfigdir)
AC_CONFIG_MACRO_DIR([m4])
-AC_PROG_CC
+AC_PROG_CC_STDC
AC_PROG_CXX
AC_PROG_LIBTOOL
@@ -197,12 +198,8 @@ dnl due to stupid m4 I had to double the
fi
AC_SUBST(VALGRIND)
-SHAVE_INIT
-
AC_OUTPUT([
Makefile
-shave
-shave-libtool
third-party/Makefile
third-party/MD5/Makefile
source/Makefile

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 9 01:04:53 UTC 2010 - cristian.rodriguez@opensuse.org
- run make check
- Disable usage of "shave-libtool" that messes up post build checks
provide --disable-silent-rules
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 7 23:50:28 CEST 2010 - vuntz@opensuse.org Tue Sep 7 23:50:28 CEST 2010 - vuntz@opensuse.org

View File

@ -32,6 +32,7 @@ License: BSD3c(or similar)
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: exempi-no-shave.patch
%define debug_package_requires libexempi3 = %{version} %define debug_package_requires libexempi3 = %{version}
%description %description
@ -48,7 +49,8 @@ XMP parsing and IO library
%package -n libexempi-devel %package -n libexempi-devel
License: BSD3c(or similar) License: BSD3c(or similar)
Summary: XMP support library Summary: XMP support library
Requires: libexempi3 = %{version} glibc-devel Requires: libexempi3 = %{version}
Requires: glibc-devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%description -n libexempi-devel %description -n libexempi-devel
@ -56,16 +58,20 @@ XMP parsing and IO library
%prep %prep
%setup -q %setup -q
%patch0
%build %build
autoreconf -fiv
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static %configure --disable-silent-rules --disable-static
%__make %{?jobs:-j%jobs} %__make %{?jobs:-j%jobs}
%install %install
%makeinstall %makeinstall
%{__rm} -f %{buildroot}%{_libdir}/*.la %{__rm} -f %{buildroot}%{_libdir}/*.la
%check
make check
%post -n libexempi3 -p /sbin/ldconfig %post -n libexempi3 -p /sbin/ldconfig
%postun -n libexempi3 -p /sbin/ldconfig %postun -n libexempi3 -p /sbin/ldconfig