]> git.pld-linux.org Git - packages/ilmbase.git/blob - ilmbase.spec
- new (has been separated from OpenEXR)
[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
53 %description devel
54 Header files for IlmBase libraries.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe bibliotek IlmBase.
58
59 %package static
60 Summary:        Static IlmBase libraries
61 Summary(pl.UTF-8):      Statyczne biblioteki IlmBase
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static IlmBase libraries.
67
68 %description static -l pl.UTF-8
69 Statyczne biblioteki IlmBase.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal} -I m4
78 %{__autoconf}
79 %{__automake}
80 %configure
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS COPYING ChangeLog NEWS README
99 %attr(755,root,root) %{_libdir}/libHalf.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libHalf.so.6
101 %attr(755,root,root) %{_libdir}/libIex.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libIex.so.6
103 %attr(755,root,root) %{_libdir}/libIlmThread.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libIlmThread.so.6
105 %attr(755,root,root) %{_libdir}/libImath.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libImath.so.6
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libHalf.so
111 %attr(755,root,root) %{_libdir}/libIex.so
112 %attr(755,root,root) %{_libdir}/libIlmThread.so
113 %attr(755,root,root) %{_libdir}/libImath.so
114 %{_libdir}/libHalf.la
115 %{_libdir}/libIex.la
116 %{_libdir}/libIlmThread.la
117 %{_libdir}/libImath.la
118 %dir %{_includedir}/OpenEXR
119 %{_includedir}/OpenEXR/Iex*.h
120 %{_includedir}/OpenEXR/IlmBaseConfig.h
121 %{_includedir}/OpenEXR/IlmThread*.h
122 %{_includedir}/OpenEXR/Imath*.h
123 %{_includedir}/OpenEXR/half*.h
124 %{_pkgconfigdir}/IlmBase.pc
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libHalf.a
129 %{_libdir}/libIex.a
130 %{_libdir}/libIlmThread.a
131 %{_libdir}/libImath.a
This page took 0.067028 seconds and 4 git commands to generate.