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