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