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