rpms/ilmbase/F-8 ilmbase-1.0.0-no_undefined.patch, NONE, 1.1 ilmbase-1.0.0-pkgconfig.patch, NONE, 1.1 ilmbase.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Oct 15 12:23:42 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/ilmbase/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5332

Modified Files:
	.cvsignore sources 
Added Files:
	ilmbase-1.0.0-no_undefined.patch ilmbase-1.0.0-pkgconfig.patch 
	ilmbase.spec 
Log Message:
import/sync w/ devel branch


ilmbase-1.0.0-no_undefined.patch:

--- NEW FILE ilmbase-1.0.0-no_undefined.patch ---
--- ilmbase-1.0.0/m4/threads.m4.pthreads	2006-12-13 16:51:56.000000000 -0600
+++ ilmbase-1.0.0/m4/threads.m4	2007-08-09 09:01:34.000000000 -0500
@@ -87,7 +87,7 @@ fi
 # which indicates that we try without any flags at all, and "pthread-config"
 # which is a program returning the flags for the Pth emulation library.
 
-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+acx_pthread_flags="pthreads none -Kthread -kthread lthread pthread -pthread -pthreads -mthreads --thread-safe -mt pthread-config"
 
 # The ordering *is* (sometimes) important.  Some notes on the
 # individual items follow:

ilmbase-1.0.0-pkgconfig.patch:

--- NEW FILE ilmbase-1.0.0-pkgconfig.patch ---
--- ilmbase-1.0.0/IlmBase.pc.in.pkgconfig	2006-12-13 16:55:53.000000000 -0600
+++ ilmbase-1.0.0/IlmBase.pc.in	2007-08-09 08:55:13.000000000 -0500
@@ -7,5 +7,6 @@ OpenEXR_includedir=@includedir@/OpenEXR
 Name: IlmBase
 Description: Base math and exception libraries
 Version: @ILMBASE_VERSION@
-Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread @PTHREAD_LIBS@
+Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread
+Libs.private: @PTHREAD_LIBS@
 Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}


--- NEW FILE ilmbase.spec ---

Name:	 ilmbase 
Version: 1.0.0
Release: 3%{?dist}
Summary: Abraction/convenience libraries 

Group:	 System Environment/Libraries
License: BSD
URL:	 http://www.openexr.com/
Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
Source1: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: automake libtool

# undefined pthread symbols
Patch1: ilmbase-1.0.0-no_undefined.patch
# move pthread linkage to Libs.private, tho probably not needed
# if already using patch1 above.
Patch2: ilmbase-1.0.0-pkgconfig.patch

%description
Half is a class that encapsulates the ilm 16-bit floating-point format.

IlmThread is a thread abstraction library for use with OpenEXR
and other software packages.

Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
and other useful 2D and 3D math functions.

Iex is an exception-handling library.

%package devel
Summary: Headers and libraries for building apps that use %{name} 
Group:	 Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libGL-devel libGLU-devel
Requires: pkgconfig
%description devel
%{summary}.


%prep
%setup -q

%patch1 -p1 -b .no_undefined
%patch2 -p1 -b .pkgconfig

# for patch1
./bootstrap


%build
%configure --disable-static

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

rm -f  $RPM_BUILD_ROOT%{_libdir}/lib*.la


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/lib*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/OpenEXR/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*


%changelog
* Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
- include *.tar.sig in sources

* Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
- update %%summary
- -devel: +Requires: libGL-devel libGLU-devel
- make install ... INSTALL="install -p" to preserve timestamps


* Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
- ilmbase-1.0.0 (first try)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ilmbase/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Oct 2007 17:32:35 -0000	1.1
+++ .cvsignore	15 Oct 2007 12:23:09 -0000	1.2
@@ -0,0 +1,2 @@
+ilmbase-1.0.0.tar.gz
+ilmbase-1.0.0.tar.gz.sig


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ilmbase/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Oct 2007 17:32:35 -0000	1.1
+++ sources	15 Oct 2007 12:23:09 -0000	1.2
@@ -0,0 +1,2 @@
+9e0fd3357ea36995382978a2b7d22401  ilmbase-1.0.0.tar.gz
+d9a37cd393ff4d24ba7b9ec1f70b7eaa  ilmbase-1.0.0.tar.gz.sig




More information about the fedora-extras-commits mailing list