430ac4b
Name:           aces_container
430ac4b
Version:        1.0
20882c6
Release:        6%{?dist}
430ac4b
Summary:        ACES Container Reference
430ac4b
430ac4b
License:        AMPAS BSD
430ac4b
URL:            https://github.com/ampas/aces_container
430ac4b
Source0:        https://github.com/ampas/aces_container/archive/v%{version}.tar.gz
430ac4b
Patch0:         Aces_container-fixup.patch
430ac4b
430ac4b
BuildRequires:  cmake
430ac4b
430ac4b
%description
430ac4b
This folder contains a reference implementation for an ACES container
430ac4b
file writer intended to be used with the Academy Color Encoding
430ac4b
System (ACES). The resulting file is compliant with the ACES container
430ac4b
specification (SMPTE S2065-4). However, there are a few things that are
430ac4b
not demonstrated by this reference implementation.
430ac4b
430ac4b
    Stereo channels
430ac4b
    EndOfFileFiller
430ac4b
    Arbitrary attributes and naming validations
430ac4b
    half type attributes
430ac4b
    keycode value validations
430ac4b
430ac4b
%package        devel
430ac4b
Summary:        Development files for %{name}
430ac4b
Requires:       %{name}%{?_isa} = %{version}-%{release}
651befa
Requires:       cmake
430ac4b
430ac4b
%description    devel
430ac4b
The %{name}-devel package contains libraries and header files for
430ac4b
developing applications that use %{name}.
430ac4b
430ac4b
430ac4b
430ac4b
%prep
430ac4b
%setup -q
430ac4b
%patch0 -p1 -b .fixup
430ac4b
430ac4b
430ac4b
%build
430ac4b
mkdir build ; cd build
430ac4b
%{cmake} \
430ac4b
 ..
430ac4b
430ac4b
make %{?_smp_mflags}
430ac4b
430ac4b
430ac4b
%install
430ac4b
cd build
430ac4b
%make_install
430ac4b
430ac4b
430ac4b
# remote noinstall style cmake file
430ac4b
rm %{buildroot}/%{_libdir}/CMake/AcesContainer/AcesContainerTargets-noconfig.cmake
430ac4b
430ac4b
%post -p /sbin/ldconfig
430ac4b
430ac4b
%postun -p /sbin/ldconfig
430ac4b
430ac4b
430ac4b
430ac4b
%files
430ac4b
%doc README.md LICENSE
430ac4b
%{_libdir}/libAcesContainer.so.*
430ac4b
430ac4b
%files devel
430ac4b
%dir %{_includedir}/aces/
430ac4b
%{_includedir}/aces/*.h
430ac4b
%dir %{_libdir}/CMake/AcesContainer
430ac4b
%{_libdir}/CMake/AcesContainer/*.cmake
430ac4b
%{_libdir}/libAcesContainer.so
430ac4b
%{_libdir}/pkgconfig/AcesContainer.pc
430ac4b
430ac4b
430ac4b
%changelog
20882c6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
20882c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
20882c6
bc7bd89
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
bc7bd89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bc7bd89
6488419
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0-4
6488419
- Rebuilt for GCC 5 C++11 ABI change
6488419
938e663
* Tue Dec 02 2014 Nicolas Chauvet <kwizart@gmail.com> - 1.0-3
938e663
- Fixup includedir for cmake
938e663
651befa
* Mon Aug 25 2014 Nicolas Chauvet <kwizart@gmail.com> - 1.0-2
651befa
- Add Requires cmake for -devel
651befa
430ac4b
* Sun Apr 13 2014 Nicolas Chauvet <kwizart@gmail.com> - 1.0-1
430ac4b
- Initial spec file
430ac4b