|
|
ac96c5a |
%global gittag rel_2_10_32
|
|
|
ac96c5a |
|
|
|
ac96c5a |
Name: asdcplib
|
|
|
ac96c5a |
Version: 2.10.32
|
|
|
ac96c5a |
Release: 3%{?dist}
|
|
|
ac96c5a |
Summary: AS-DCP file access libraries
|
|
|
ac96c5a |
License: BSD
|
|
|
ac96c5a |
URL: http://www.cinecert.com/asdcplib/
|
|
|
ac96c5a |
|
|
|
ac96c5a |
Source0: https://github.com/cinecert/%{name}/archive/%{gittag}/%{name}-%{version}.tar.gz
|
|
|
ac96c5a |
Source1: %{name}.pc
|
|
|
ac96c5a |
|
|
|
ac96c5a |
BuildRequires: cmake
|
|
|
ac96c5a |
BuildRequires: gcc-c++
|
|
|
ac96c5a |
# https://fedoraproject.org/wiki/Licensing:FAQ#What.27s_the_deal_with_the_OpenSSL_license.3F
|
|
|
ac96c5a |
BuildRequires: openssl-devel
|
|
|
ac96c5a |
BuildRequires: xerces-c-devel
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%description
|
|
|
ac96c5a |
Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track
|
|
|
ac96c5a |
File” format. It was originally developed with support from DCI. Development
|
|
|
ac96c5a |
is currently supported by CineCert and other d-cinema manufacturers.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
It supports reading and writing MXF files containing sound (PCM), picture (JPEG
|
|
|
ac96c5a |
2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are
|
|
|
ac96c5a |
both supported using OpenSSL for cryptographic support.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%package tools
|
|
|
ac96c5a |
Summary: AS-DCP file access libraries tools
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%description tools
|
|
|
ac96c5a |
Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track
|
|
|
ac96c5a |
File” format. It was originally developed with support from DCI. Development
|
|
|
ac96c5a |
is currently supported by CineCert and other d-cinema manufacturers.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
It supports reading and writing MXF files containing sound (PCM), picture (JPEG
|
|
|
ac96c5a |
2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are
|
|
|
ac96c5a |
both supported using OpenSSL for cryptographic support.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
This package contains tools and testing programs for %{name}.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%package devel
|
|
|
ac96c5a |
Summary: Development files for %{name}
|
|
|
ac96c5a |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%description devel
|
|
|
ac96c5a |
The %{name}-devel package contains libraries and header files for
|
|
|
ac96c5a |
developing applications that use %{name}.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%prep
|
|
|
ac96c5a |
%autosetup -n %{name}-%{gittag}
|
|
|
ac96c5a |
sed -i -e 's/DESTINATION lib/DESTINATION %{_lib}/g' src/CMakeLists.txt
|
|
|
ac96c5a |
|
|
|
ac96c5a |
# rpmlint fixes
|
|
|
ac96c5a |
find . -name "*.h" -exec chmod 644 {} \;
|
|
|
ac96c5a |
find . -name "*.cpp" -exec chmod 644 {} \;
|
|
|
ac96c5a |
chmod 644 README.md
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%build
|
|
|
ac96c5a |
mkdir build
|
|
|
ac96c5a |
cd build
|
|
|
ac96c5a |
%cmake \
|
|
|
ac96c5a |
-DCMAKE_SKIP_RPATH=True \
|
|
|
ac96c5a |
..
|
|
|
ac96c5a |
%make_build
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%install
|
|
|
ac96c5a |
cd build
|
|
|
ac96c5a |
%make_install
|
|
|
ac96c5a |
|
|
|
ac96c5a |
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|
|
ac96c5a |
sed -i \
|
|
|
ac96c5a |
-e 's|PREFIX|%{_prefix}|g' \
|
|
|
ac96c5a |
-e 's|LIBDIR|%{_libdir}|g' \
|
|
|
ac96c5a |
-e 's|INCLUDEDIR|%{_includedir}|g' \
|
|
|
ac96c5a |
-e 's|VERSION|%{version}|g' \
|
|
|
ac96c5a |
%{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|
|
ac96c5a |
|
|
|
ac96c5a |
find %{buildroot} -name '*.la' -delete
|
|
|
ac96c5a |
rm -fr %{buildroot}%{_prefix}/targets
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%ldconfig_scriptlets
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%files
|
|
|
ac96c5a |
%license COPYING
|
|
|
ac96c5a |
%doc README.md
|
|
|
ac96c5a |
%{_libdir}/libas02.so.2
|
|
|
ac96c5a |
%{_libdir}/libas02.so.2.10.32
|
|
|
ac96c5a |
%{_libdir}/libasdcp.so.2
|
|
|
ac96c5a |
%{_libdir}/libasdcp.so.2.10.32
|
|
|
ac96c5a |
%{_libdir}/libkumu.so.2
|
|
|
ac96c5a |
%{_libdir}/libkumu.so.2.10.32
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%files devel
|
|
|
ac96c5a |
%{_includedir}/*
|
|
|
ac96c5a |
%{_libdir}/libas02.so
|
|
|
ac96c5a |
%{_libdir}/libasdcp.so
|
|
|
ac96c5a |
%{_libdir}/libkumu.so
|
|
|
ac96c5a |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%files tools
|
|
|
ac96c5a |
%{_bindir}/as-02-info
|
|
|
ac96c5a |
%{_bindir}/as-02-unwrap
|
|
|
ac96c5a |
%{_bindir}/as-02-wrap
|
|
|
ac96c5a |
%{_bindir}/asdcp-info
|
|
|
ac96c5a |
%{_bindir}/asdcp-test
|
|
|
ac96c5a |
%{_bindir}/asdcp-unwrap
|
|
|
ac96c5a |
%{_bindir}/asdcp-util
|
|
|
ac96c5a |
%{_bindir}/asdcp-wrap
|
|
|
ac96c5a |
%{_bindir}/blackwave
|
|
|
ac96c5a |
%{_bindir}/j2c-test
|
|
|
ac96c5a |
%{_bindir}/klvwalk
|
|
|
ac96c5a |
%{_bindir}/kmfilegen
|
|
|
ac96c5a |
%{_bindir}/kmrandgen
|
|
|
ac96c5a |
%{_bindir}/kmuuidgen
|
|
|
ac96c5a |
%{_bindir}/wavesplit
|
|
|
ac96c5a |
|
|
|
ac96c5a |
%changelog
|
|
|
ac96c5a |
* Sat Jun 08 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-3
|
|
|
ac96c5a |
- Review fixes.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Sat May 25 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-2
|
|
|
ac96c5a |
- Fix RPATH on binaries.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Tue Feb 26 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-1
|
|
|
ac96c5a |
- Update to 2.10.32.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Fri Oct 19 2018 Simone Caronni <negativo17@gmail.com> - 2.10.31-1
|
|
|
ac96c5a |
- Update to 2.10.31.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Mon Oct 01 2018 Simone Caronni <negativo17@gmail.com> - 2.9.30-1
|
|
|
ac96c5a |
- Update to 2.9.30.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Mon Feb 27 2017 Simone Caronni <negativo17@gmail.com> - 2.7.19-3
|
|
|
ac96c5a |
- Adjust build requirements.
|
|
|
ac96c5a |
- Adjust Source URL.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Wed Dec 21 2016 Simone Caronni <negativo17@gmail.com> - 2.7.19-2
|
|
|
ac96c5a |
- Add pkg-config file, as required by VLC.
|
|
|
ac96c5a |
|
|
|
ac96c5a |
* Wed Dec 21 2016 Simone Caronni <negativo17@gmail.com> - 2.7.19-1
|
|
|
ac96c5a |
- First build.
|