Projects
Eulaceura:Mainline
ilmbase
_service:obs_scm:ilmbase.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ilmbase.spec of Package ilmbase
Name: ilmbase Summary: "Half" precision HDR file format libraries for OpenEXR Version: 2.3.0 Release: 1 License: BSD URL: http://www.openexr.com/ Source0: https://github.com/openexr/openexr/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: ilmbase-config.h BuildRequires: gcc-c++ pkgconfig pkgconfig(gl) pkgconfig(glu) make ## upstreamable patches # explicitly add $(PTHREAD_LIBS) to libIlmThread linkage (helps PTHREAD_LIBS workaround in %%build) Patch0001: ilmbase-2.2.0-no_undefined.patch # add Requires.private: gl glu to IlmBase.pc Patch0002: ilmbase-1.0.3-pkgconfig.patch # workaround glibc iszero macro # https://bugzilla.redhat.com/show_bug.cgi?id=1383552 Patch0003: ilmbase-2.2.0-glibc_iszero.patch %description Half is a C++ class that encapsulates the ilm 16-bit floating-point format. IlmThread is a thread abstraction library for OpenEXR and other software packages. Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful math functions. Iex is a library for handling exception of ilmbase. %package devel Summary: Headers and libraries for building apps that use ilmbase Requires: %{name} = %{version}-%{release} %description devel This package contains headers and libraries for developing apps that use ilmbase. %prep %autosetup -n %{name}-%{version} -p1 %build %configure --disable-static %make_build PTHREAD_LIBS="-pthread -lpthread" %install %make_install %delete_la # Fix multilibs header conflict %ifarch x86_64 %ifarch x86_64 mv %{buildroot}%{_includedir}/OpenEXR/IlmBaseConfig.h \ %{buildroot}%{_includedir}/OpenEXR/IlmBaseConfig-64.h %else mv %{buildroot}%{_includedir}/OpenEXR/IlmBaseConfig.h \ %{buildroot}%{_includedir}/OpenEXR/IlmBaseConfig-32.h %endif install -pm 0644 %{SOURCE1} %{buildroot}%{_includedir}/OpenEXR/IlmBaseConfig.h %endif %check export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig test "$(pkg-config --modversion IlmBase)" = "%{version}" %post /sbin/ldconfig %postun /sbin/ldconfig %files %doc AUTHORS ChangeLog NEWS README.md %license LICENSE %{_libdir}/lib*.so.24* %files devel %{_includedir}/OpenEXR/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/IlmBase.pc %changelog * Thu Jun 15 2023 chenchen <chen_aka_jan@163.com> - 2.3.0-1 - Upgrade to version 2.3.0 * Tue Feb 18 2020 xuxijian<xuxijian@huawei.com> - 2.2.0-16 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2