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