Accepting request 234258 from home:Mailaender:branches:multimedia:libs
fixed the build, but did not manage to enable multi-threading support OBS-URL: https://build.opensuse.org/request/show/234258 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lcms2?expand=0&rev=60
This commit is contained in:
parent
e3db1a826e
commit
486b562150
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 16 06:27:26 UTC 2014 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
- Fixed missing dependency pthread
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 17 16:20:45 UTC 2014 - adrian@suse.de
|
Mon Mar 17 16:20:45 UTC 2014 - adrian@suse.de
|
||||||
|
|
||||||
|
13
lcms2.spec
13
lcms2.spec
@ -25,6 +25,8 @@ Version: 2.6
|
|||||||
Release: 0
|
Release: 0
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -102,7 +104,8 @@ chmod a-x doc/* COPYING AUTHORS
|
|||||||
#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
#export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
#export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --disable-static
|
# FIXME --without-threads is a workaround for a linker error
|
||||||
|
%configure --disable-static --without-threads
|
||||||
|
|
||||||
make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
@ -112,13 +115,9 @@ make %{?_smp_flags}
|
|||||||
# make utils
|
# make utils
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%makeinstall
|
rm %{buildroot}/%{_libdir}/liblcms2.la
|
||||||
|
|
||||||
rm $RPM_BUILD_ROOT/%_libdir/liblcms2.la
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n liblcms2-2 -p /sbin/ldconfig
|
%post -n liblcms2-2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user