source: projects/specs/tags/6_0_REL/i/ilmbase/ilmbase-vl.spec @ 1855

Revision 1855, 2.6 KB checked in by inagaki, 14 years ago (diff)

rebuilt with rpm-4.8.1: libcapseo, ilmbase
updated and built with rpm-4.8.1: libogg, libvorbis

Line 
1Summary: Abraction/convenience libraries
2
3Name:    ilmbase
4Version: 1.0.2
5Release: 1%{?_dist_release}
6
7Group:   System Environment/Libraries
8License: BSD
9URL:     http://www.openexr.com/
10
11Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
12Source1: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz.sig
13
14## upstreamable patches
15# missing #include <cstring>
16Patch50: ilmbase-1.0.2-cstring.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: pkgconfig
20
21%description
22Half is a class that encapsulates the ilm 16-bit floating-point format.
23
24IlmThread is a thread abstraction library for use with OpenEXR
25and other software packages.
26
27Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
28and other useful 2D and 3D math functions.
29
30Iex is an exception-handling library.
31
32%package devel
33Summary: Headers and libraries for building apps that use %{name}
34Group:   Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: libGL-devel libGLU-devel
37Requires: pkgconfig
38%description devel
39%{summary}.
40
41
42%prep
43%setup -q
44
45%patch50 -p1 -b .cstring
46
47
48%build
49%configure --disable-static
50
51make %{?_smp_mflags}
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
58
59rm -f  $RPM_BUILD_ROOT%{_libdir}/lib*.la
60
61
62%check
63export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
64test "$(pkg-config --modversion IlmBase)" = "%{version}"
65%ifarch %{ix86}
66make check ||:
67%else
68make check
69%endif
70
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75
76%post -p /sbin/ldconfig
77
78%postun -p /sbin/ldconfig
79
80
81%files
82%defattr(-,root,root,-)
83%doc AUTHORS ChangeLog COPYING NEWS README
84%{_libdir}/lib*.so.*
85
86%files devel
87%defattr(-,root,root,-)
88%{_includedir}/OpenEXR/
89%{_libdir}/lib*.so
90%{_libdir}/pkgconfig/*
91
92
93%changelog
94* Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1
95- updated to 1.0.2
96- rebuilt with rpm-4.8.1
97
98* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
99- initial build for Vine Linux
100
101* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
102- respin (gcc43)
103
104* Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
105- ilmbase-1.0.1
106
107* Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
108- include *.tar.sig in sources
109
110* Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
111- update %%summary
112- -devel: +Requires: libGL-devel libGLU-devel
113- make install ... INSTALL="install -p" to preserve timestamps
114
115
116* Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
117- ilmbase-1.0.0 (first try)
118
Note: See TracBrowser for help on using the repository browser.