]> git.pld-linux.org Git - packages/Imath.git/blob - Imath.spec
- devel needs llvm-mlir
[packages/Imath.git] / Imath.spec
1 Summary:        High dynamic-range (HDR) image file format support libraries
2 Summary(pl.UTF-8):      Biblioteki obsługujące format plików obrazu o wysokiej dynamice (HDR)
3 Name:           Imath
4 Version:        3.1.4
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        https://github.com/AcademySoftwareFoundation/imath/archive/v%{version}/imath-%{version}.tar.gz
9 # Source0-md5:  fddf14ec73e12c34e74c3c175e311a3f
10 URL:            http://www.openexr.com/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake >= 1.6.3
13 BuildRequires:  cmake
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  ninja
16 BuildRequires:  pkgconfig
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Imath is a basic, light-weight, and efficient C++ representation of 2D
22 and 3D vectors and matrices and other simple but useful mathematical
23 objects, functions, and data types common in computer graphics
24 applications, including the “half” 16-bit floating-point type.
25
26 %description -l pl.UTF-8
27 Imath to prosta, lekka i wydajna reprezentacja C++ dwu- i
28 trójwymiarowych wektorów i macierzy i inne proste, ale użyteczne
29 matematyczne obiekty, funkcje i typy danych zwykle występujące w
30 programach graficznych, w tym "półówkowy" 16 bitowy typ
31 zmiennoprzecinkowy.
32
33 %package devel
34 Summary:        Header files for Imath libraries
35 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek Imath
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       libstdc++-devel
39 Requires:       llvm-mlir
40 Requires:       zlib-devel
41
42 %description devel
43 Header files for Imath libraries.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe bibliotek Imath.
47
48 %prep
49 %setup -q
50
51 %build
52 install -d build
53 cd build
54 %cmake -G Ninja \
55         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56         ..
57 %ninja_build
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %ninja_install -C build install
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %ghost %{_libdir}/libImath-3_1.so.29
72 %attr(755,root,root) %{_libdir}/libImath-3_1.so.29.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %{_includedir}/Imath
77 %{_libdir}/cmake/Imath
78 %{_libdir}/libImath-3_1.so
79 %{_libdir}/libImath.so
80 %{_pkgconfigdir}/Imath.pc
This page took 0.114174 seconds and 3 git commands to generate.