This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libilmbase1/libilmbase1.spec

90 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libilmbase1
Version: 1.0.2
Release: 3mamba
Summary: OpenEXR ilmbase library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openexr.com
Source: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
Patch0: libilmbase-1.0.1-no_undefined.patch
Patch1: libilmbase-1.0.2-gcc4_fix_include.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OpenEXR ilmbase library.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
OpenEXR ilmbase library.
This package contains static libraries and header files need for development.
%prep
%setup -q -n ilmbase-%{version}
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
%patch0 -p1
%patch1 -p1
%build
# for patch0
./bootstrap
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/OpenEXR/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog LICENSE NEWS README README.CVS
%changelog
* Sat May 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-3mamba
- rebuilt as legacy package
* Sun Aug 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- added patch to fix a missing include for openexr to build successfully
* Sat Jul 24 2010 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic update by autodist
* Sun Mar 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0.1-4mamba
- patched to fix several undefined reference errors at link time
- remove documentation for osx and windows platforms
* Thu Jun 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
- rebuilt
* Wed Jun 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created by autospec