]>
Commit | Line | Data |
---|---|---|
1cdf84ac JB |
1 | Summary: Implementation of ACES Image Container File |
2 | Summary(pl.UTF-8): Implementacja pliku kontenera obrazów ACES | |
3 | Name: aces_container | |
6d1875cc | 4 | Version: 1.0.2 |
1cdf84ac JB |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Libraries | |
6d1875cc | 8 | #Source0Download: https://github.com/ampas/aces_container/releases |
1cdf84ac | 9 | Source0: https://github.com/ampas/aces_container/archive/v%{version}/%{name}-%{version}.tar.gz |
6d1875cc | 10 | # Source0-md5: b82364639768d650dd45e6085b429fb6 |
1cdf84ac JB |
11 | Patch0: %{name}-libdir.patch |
12 | URL: https://github.com/ampas/aces_container | |
13 | BuildRequires: cmake >= 2.6 | |
14 | BuildRequires: libstdc++-devel | |
15 | BuildRequires: pkgconfig | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | This package contains a reference implementation for an ACES container | |
20 | file writer intended to be used with the Academy Color Encoding System | |
21 | (ACES). The resulting file is compliant with the ACES container | |
22 | specification (SMPTE S2065-4). | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Ten pakiet zawiera wzorcową implementację biblioteki zapisującej pliki | |
26 | kontenerów ACES. Jest przeznaczona do wykorzystania wraz z systemem | |
27 | ACES (Academy Color Encoding System). Wynikowe pliki są zgodne ze | |
28 | specyfikacją kontenerów ACES (SMPTE S2065-4). | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for AcesContainer library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AcesContainer | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: libstdc++-devel | |
36 | ||
37 | %description devel | |
38 | Header files for AcesContainer library. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe biblioteki AcesContainer. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | %patch0 -p1 | |
46 | ||
47 | %build | |
48 | %cmake . \ | |
49 | -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/AcesContainer \ | |
50 | -DINSTALL_LIB_DIR=%{_libdir} | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post -p /sbin/ldconfig | |
63 | %postun -p /sbin/ldconfig | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc LICENSE README.md | |
68 | %attr(755,root,root) %{_libdir}/libAcesContainer.so | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %{_includedir}/aces | |
73 | %{_pkgconfigdir}/AcesContainer.pc | |
74 | %{_libdir}/cmake/AcesContainer |