!1 unpack libs subpackage
Merge pull request !1 from algorithmofdish/master
This commit is contained in:
commit
aa3dfd68b4
34
OpenEXR.spec
34
OpenEXR.spec
@ -1,29 +1,36 @@
|
|||||||
Name: OpenEXR
|
Name: OpenEXR
|
||||||
Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications
|
Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications
|
||||||
Version: 2.2.0
|
Version: 2.2.0
|
||||||
Release: 16
|
Release: 17
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.openexr.com/
|
URL: http://www.openexr.com/
|
||||||
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
|
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0000: openexr-2.1.0-bigendian.patch
|
Patch0000: openexr-2.1.0-bigendian.patch
|
||||||
|
|
||||||
Provides: openexr = %{version}-%{release} %{name}-libs = %{version}-%{release}
|
|
||||||
Obsoletes: openexr < %{version}-%{release} %{name}-libs < %{version}-%{release}
|
|
||||||
|
|
||||||
BuildConflicts: %{name}-devel < 2.2.0
|
BuildConflicts: %{name}-devel < 2.2.0
|
||||||
|
|
||||||
BuildRequires: gcc-c++ ilmbase-devel >= %{version} zlib-devel pkgconfig
|
BuildRequires: gcc-c++ ilmbase-devel >= %{version} zlib-devel pkgconfig
|
||||||
|
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
Provides: openexr = %{version}-%{release}
|
||||||
|
Obsoletes: openexr < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial
|
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial
|
||||||
Light & Magic for use in computer imaging applications.
|
Light & Magic for use in computer imaging applications.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries for %{name}
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries for %{name}.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Provides: openexr-devel = %{version}-%{release}
|
Provides: openexr-devel = %{version}-%{release}
|
||||||
Obsoletes: openexr-devel < %{version}-%{release}
|
Obsoletes: openexr-devel < %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release} ilmbase-devel
|
Requires: %{name}-libs = %{version}-%{release} ilmbase-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains libraries and header files for development of %{name}.
|
This package contains libraries and header files for development of %{name}.
|
||||||
@ -44,17 +51,18 @@ export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${P
|
|||||||
test "$(pkg-config --modversion OpenEXR)" = "%{version}"
|
test "$(pkg-config --modversion OpenEXR)" = "%{version}"
|
||||||
%make_build check ||:
|
%make_build check ||:
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog NEWS README
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/{libIlmImf-2_2.so.22*,libIlmImfUtil-2_2.so.22*}
|
|
||||||
%{_bindir}/exr*
|
%{_bindir}/exr*
|
||||||
%exclude %{_docdir}/%{name}-%{version}
|
%exclude %{_docdir}/%{name}-%{version}
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%{_libdir}/libIlmImf-2_2.so.22*
|
||||||
|
%{_libdir}/libIlmImfUtil-2_2.so.22*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/aclocal/openexr.m4
|
%{_datadir}/aclocal/openexr.m4
|
||||||
%{_includedir}/%{name}/*
|
%{_includedir}/%{name}/*
|
||||||
@ -62,5 +70,11 @@ test "$(pkg-config --modversion OpenEXR)" = "%{version}"
|
|||||||
%{_libdir}/pkgconfig/OpenEXR.pc
|
%{_libdir}/pkgconfig/OpenEXR.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 18 2020 hexiujun <hexiujun1@huawei.com> - 2.2.0-17
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:unpack libs subpackage
|
||||||
|
|
||||||
* Fri Oct 25 2019 huzhiyu <huzhiyu1@huawei.com> - 2.2.0-16
|
* Fri Oct 25 2019 huzhiyu <huzhiyu1@huawei.com> - 2.2.0-16
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user