]> git.pld-linux.org Git - SPECS.git/blob - Imath.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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.0.5
5 Release:        2
6 License:        BSD
7 Group:          Libraries
8 Source0:        https://github.com/AcademySoftwareFoundation/imath/archive/v%{version}/imath-%{version}.tar.gz
9 # Source0-md5:  d2d5415f177f6bec9c2f3c3180741179
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:       zlib-devel
40
41 %description devel
42 Header files for Imath libraries.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe bibliotek Imath.
46
47 %prep
48 %setup -q
49
50 %build
51 install -d build
52 cd build
53 %cmake -G Ninja \
54         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
55         ..
56 %ninja_build
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 %ninja_install -C build install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %ghost %{_libdir}/libImath-3_0.so.28
71 %attr(755,root,root) %{_libdir}/libImath-3_0.so.28.*.*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %{_includedir}/Imath
76 %{_libdir}/cmake/Imath
77 %{_libdir}/libImath-3_0.so
78 %{_libdir}/libImath.so
79 %{_pkgconfigdir}/Imath.pc
This page took 0.899403 seconds and 3 git commands to generate.