]> git.pld-linux.org Git - packages/ilmbase.git/blob - ilmbase.spec
- -devel,-static C: pre-1.5.0 OpenEXR equivalents
[packages/ilmbase.git] / ilmbase.spec
1 Summary:        IlmBase - base math and exception libraries from OpenEXR project
2 Summary(pl.UTF-8):      IlmBase - podstawowe biblioteki matematyczne i wyjątków z projektu OpenEXR
3 Name:           ilmbase
4 Version:        1.0.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://download.savannah.nongnu.org/releases/openexr/%{name}-%{version}.tar.gz
9 # Source0-md5:  f76f094e69a6079b0beb93d97e2a217e
10 Patch0:         %{name}-link.patch
11 URL:            http://www.openexr.com/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake >= 1.6.3
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 IlmBase consists of the following libraries:
20
21 Half is a class that encapsulates our 16-bit floating-point format.
22
23 IlmThread is a thread abstraction library for use with OpenEXR
24 and other software packages.  It currently supports pthreads and
25 Windows threads.
26
27 Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
28 and other useful 2D and 3D math functions.
29
30 Iex is an exception-handling library.
31
32 %description -l pl.UTF-8
33 IlmBase składa się z następujących bibliotek:
34
35 Half to klasa obudowująca 16-bitowy format zmiennoprzecinkowy.
36
37 IlmThread to biblioteka abstrakcji wątków przeznaczona dla OpenEXR i
38 innych pakietów oprogramowania. Aktualnie obsługuje standard pthreads
39 oraz wątki Windows.
40
41 Imath implementuje wektory 2D i 3D, macierze 3x3 i 4x4, kwaterniony i
42 inne przydatne funkcje matematyczne 2D i 3D.
43
44 Iex to biblioteka obsługi wyjątków.
45
46 %package devel
47 Summary:        Header files for IlmBase libraries
48 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek IlmBase
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       libstdc++-devel
52 Conflicts:      OpenEXR-devel < 1.5.0
53
54 %description devel
55 Header files for IlmBase libraries.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe bibliotek IlmBase.
59
60 %package static
61 Summary:        Static IlmBase libraries
62 Summary(pl.UTF-8):      Statyczne biblioteki IlmBase
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65 Conflicts:      OpenEXR-static < 1.5.0
66
67 %description static
68 Static IlmBase libraries.
69
70 %description static -l pl.UTF-8
71 Statyczne biblioteki IlmBase.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76
77 %build
78 %{__libtoolize}
79 %{__aclocal} -I m4
80 %{__autoconf}
81 %{__automake}
82 %configure
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING ChangeLog NEWS README
101 %attr(755,root,root) %{_libdir}/libHalf.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libHalf.so.6
103 %attr(755,root,root) %{_libdir}/libIex.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libIex.so.6
105 %attr(755,root,root) %{_libdir}/libIlmThread.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libIlmThread.so.6
107 %attr(755,root,root) %{_libdir}/libImath.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libImath.so.6
109
110 %files devel
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libHalf.so
113 %attr(755,root,root) %{_libdir}/libIex.so
114 %attr(755,root,root) %{_libdir}/libIlmThread.so
115 %attr(755,root,root) %{_libdir}/libImath.so
116 %{_libdir}/libHalf.la
117 %{_libdir}/libIex.la
118 %{_libdir}/libIlmThread.la
119 %{_libdir}/libImath.la
120 %dir %{_includedir}/OpenEXR
121 %{_includedir}/OpenEXR/Iex*.h
122 %{_includedir}/OpenEXR/IlmBaseConfig.h
123 %{_includedir}/OpenEXR/IlmThread*.h
124 %{_includedir}/OpenEXR/Imath*.h
125 %{_includedir}/OpenEXR/half*.h
126 %{_pkgconfigdir}/IlmBase.pc
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/libHalf.a
131 %{_libdir}/libIex.a
132 %{_libdir}/libIlmThread.a
133 %{_libdir}/libImath.a
This page took 0.099561 seconds and 4 git commands to generate.