source: projects/specs/trunk/i/ilmbase/ilmbase-vl.spec @ 10406

Revision 10406, 3.4 KB checked in by Takemikaduchi, 8 years ago (diff)

blender: new upstream release
others: rebuild with gcc-5.4.0

Line 
1Summary: Abraction/convenience libraries
2Name:    ilmbase
3Version: 2.2.0
4Release: 2%{?_dist_release}
5
6Group:   System Environment/Libraries
7License: BSD
8URL:     http://www.openexr.com/
9
10Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
11## upstreamable patches
12# explicitly add $(PTHREAD_LIBS) to libIlmThread linkage (helps PTHREAD_LIBS workaround in %%build)
13Patch51: ilmbase-2.2.0-no_undefined.patch
14# add Requires.private: gl glu to IlmBase.pc
15Patch53:  ilmbase-1.0.3-pkgconfig.patch
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: pkgconfig
19# silly rpm, won't pick up rpm dependencies for items not in it's buildroot
20# see http://bugzilla.redhat.com/866302
21BuildRequires: libGL-devel
22BuildRequires: libGLU-devel
23
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28Half is a class that encapsulates the ilm 16-bit floating-point format.
29
30IlmThread is a thread abstraction library for use with OpenEXR
31and other software packages.
32
33Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
34and other useful 2D and 3D math functions.
35
36Iex is an exception-handling library.
37
38%package devel
39Summary: Headers and libraries for building apps that use %{name}
40Summary(ja): %{name} を使うアプリケーションをビルドするためのヘッダファイル及びライブラリ
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: pkgconfig
44
45%description devel
46%{summary}.
47
48
49%prep
50%setup -q
51%patch51 -p1 -b .no_undefined
52%patch53 -p1 -b .pkgconfig
53
54%build
55%configure --disable-static
56
57# manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
58# https://bugzilla.redhat.com/show_bug.cgi?id=661333
59make %{?_smp_mflags} PTHREAD_LIBS="-pthread -lpthread"
60
61
62%install
63rm -rf $RPM_BUILD_ROOT
64make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
65
66rm -f  $RPM_BUILD_ROOT%{_libdir}/lib*.la
67
68
69%check
70export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
71test "$(pkg-config --modversion IlmBase)" = "%{version}"
72%ifarch %{ix86}
73make check ||:
74%else
75make check
76%endif
77
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82
83%post -p /sbin/ldconfig
84
85%postun -p /sbin/ldconfig
86
87
88%files
89%defattr(-,root,root,-)
90%doc AUTHORS ChangeLog COPYING NEWS README
91%{_libdir}/lib*.so.*
92
93%files devel
94%defattr(-,root,root,-)
95%{_includedir}/OpenEXR/
96%{_libdir}/lib*.so
97%{_libdir}/pkgconfig/*
98
99
100%changelog
101* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-2
102- rebuild with gcc-5.4.0
103
104* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
105- update to 2.2.0
106- added Patch51 and 53 from Fedora
107
108* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
109- update to 2.1.0
110- remove Patch50
111
112* Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1
113- updated to 1.0.2
114- rebuilt with rpm-4.8.1
115
116* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
117- initial build for Vine Linux
118
119* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
120- respin (gcc43)
121
122* Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
123- ilmbase-1.0.1
124
125* Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
126- include *.tar.sig in sources
127
128* Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
129- update %%summary
130- -devel: +Requires: libGL-devel libGLU-devel
131- make install ... INSTALL="install -p" to preserve timestamps
132
133
134* Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
135- ilmbase-1.0.0 (first try)
136
Note: See TracBrowser for help on using the repository browser.