f608a4d
%global gittag rel_2_10_38
ec27201
ec27201
Name:           asdcplib
f608a4d
Version:        2.10.38
bfe2a1d
Release:        5%{?dist}
ec27201
Summary:        AS-DCP file access libraries
ec27201
License:        BSD
ec27201
URL:            http://www.cinecert.com/asdcplib/
ec27201
ec27201
Source0:        https://github.com/cinecert/%{name}/archive/%{gittag}/%{name}-%{version}.tar.gz
ec27201
Source1:        %{name}.pc
ec27201
9a0fd21
ExcludeArch:    %{ix86} %{arm}
120f232
ec27201
BuildRequires:  cmake
ec27201
BuildRequires:  gcc-c++
ec27201
# https://fedoraproject.org/wiki/Licensing:FAQ#What.27s_the_deal_with_the_OpenSSL_license.3F
ec27201
BuildRequires:  openssl-devel
ec27201
BuildRequires:  xerces-c-devel
ec27201
ec27201
%description
ec27201
Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track
ec27201
File” format. It was originally developed with support from DCI. Development
ec27201
is currently supported by CineCert and other d-cinema manufacturers.
ec27201
ec27201
It supports reading and writing MXF files containing sound (PCM), picture (JPEG
ec27201
2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are
ec27201
both supported using OpenSSL for cryptographic support.
ec27201
ec27201
%package        tools
ec27201
Summary:        AS-DCP file access libraries tools
ec27201
ec27201
%description    tools
ec27201
Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track
ec27201
File” format. It was originally developed with support from DCI. Development
ec27201
is currently supported by CineCert and other d-cinema manufacturers.
ec27201
ec27201
It supports reading and writing MXF files containing sound (PCM), picture (JPEG
ec27201
2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are
ec27201
both supported using OpenSSL for cryptographic support.
ec27201
ec27201
This package contains tools and testing programs for %{name}.
ec27201
ec27201
%package        devel
ec27201
Summary:        Development files for %{name}
7fa8d65
Requires:       %{name}%{?_isa} = %{version}-%{release}
ec27201
ec27201
%description    devel
ec27201
The %{name}-devel package contains libraries and header files for
ec27201
developing applications that use %{name}.
ec27201
ec27201
%prep
ec27201
%autosetup -n %{name}-%{gittag}
ec27201
sed -i -e 's/DESTINATION lib/DESTINATION %{_lib}/g' src/CMakeLists.txt
ec27201
ec27201
# rpmlint fixes
ec27201
find . -name "*.h" -exec chmod 644 {} \;
ec27201
find . -name "*.cpp" -exec chmod 644 {} \;
ec27201
chmod 644 README.md
ec27201
ec27201
%build
4c75187
%cmake -DCMAKE_SKIP_RPATH=True
4c75187
%cmake_build
ec27201
ec27201
%install
4c75187
%cmake_install
ec27201
ec27201
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
ec27201
sed -i \
ec27201
    -e 's|PREFIX|%{_prefix}|g' \
ec27201
    -e 's|LIBDIR|%{_libdir}|g' \
ec27201
    -e 's|INCLUDEDIR|%{_includedir}|g' \
ec27201
    -e 's|VERSION|%{version}|g' \
ec27201
    %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
ec27201
ec27201
find %{buildroot} -name '*.la' -delete
ec27201
rm -fr  %{buildroot}%{_prefix}/targets
ec27201
ec27201
%files
ec27201
%license COPYING
ec27201
%doc README.md
ec27201
%{_libdir}/libas02.so.2
49a9d3f
%{_libdir}/libas02.so.2.*
ec27201
%{_libdir}/libasdcp.so.2
49a9d3f
%{_libdir}/libasdcp.so.2.*
ec27201
%{_libdir}/libkumu.so.2
49a9d3f
%{_libdir}/libkumu.so.2.*
ec27201
ec27201
%files devel
ec27201
%{_includedir}/*
ec27201
%{_libdir}/libas02.so
ec27201
%{_libdir}/libasdcp.so
ec27201
%{_libdir}/libkumu.so
ec27201
%{_libdir}/pkgconfig/%{name}.pc
ec27201
ec27201
%files tools
ec27201
%{_bindir}/as-02-info
ec27201
%{_bindir}/as-02-unwrap
ec27201
%{_bindir}/as-02-wrap
ec27201
%{_bindir}/asdcp-info
ec27201
%{_bindir}/asdcp-test
ec27201
%{_bindir}/asdcp-unwrap
ec27201
%{_bindir}/asdcp-util
ec27201
%{_bindir}/asdcp-wrap
ec27201
%{_bindir}/blackwave
ec27201
%{_bindir}/j2c-test
ec27201
%{_bindir}/klvwalk
ec27201
%{_bindir}/kmfilegen
ec27201
%{_bindir}/kmrandgen
ec27201
%{_bindir}/kmuuidgen
ec27201
%{_bindir}/wavesplit
ec27201
ec27201
%changelog
bfe2a1d
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.38-5
bfe2a1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
bfe2a1d
256a6b9
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.10.38-4
256a6b9
- Rebuilt with OpenSSL 3.0.0
256a6b9
abf6e36
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.38-3
abf6e36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
abf6e36
11a8ede
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.38-2
11a8ede
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
11a8ede
f608a4d
* Mon Nov 30 2020 Simone Caronni <negativo17@gmail.com> - 2.10.38-1
f608a4d
- Update to 2.10.38.
f608a4d
- Fix build on RHEL/CentOS 7.
f608a4d
78663f7
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.35-3
78663f7
- Second attempt - Rebuilt for
78663f7
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
78663f7
bf73436
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.35-2
bf73436
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
bf73436
49a9d3f
* Thu Mar 26 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.10.35-1
49a9d3f
- Update to 2.10.35
49a9d3f
90e5b73
* Sat Feb 08 2020 Simone Caronni <negativo17@gmail.com> - 2.10.34-1
90e5b73
- Update to 2.10.34.
90e5b73
45b183e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.32-6
45b183e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
45b183e
579d877
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.32-5
579d877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
579d877
7fa8d65
* Tue Jun 11 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-4
7fa8d65
- Fix dependency issue after renaming asdcplib-libs.
7fa8d65
ec27201
* Sat Jun 08 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-3
ec27201
- Review fixes.
ec27201
ec27201
* Sat May 25 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-2
ec27201
- Fix RPATH on binaries.
ec27201
ec27201
* Tue Feb 26 2019 Simone Caronni <negativo17@gmail.com> - 2.10.32-1
ec27201
- Update to 2.10.32.
ec27201
ec27201
* Fri Oct 19 2018 Simone Caronni <negativo17@gmail.com> - 2.10.31-1
ec27201
- Update to 2.10.31.
ec27201
ec27201
* Mon Oct 01 2018 Simone Caronni <negativo17@gmail.com> - 2.9.30-1
ec27201
- Update to 2.9.30.
ec27201
ec27201
* Mon Feb 27 2017 Simone Caronni <negativo17@gmail.com> - 2.7.19-3
ec27201
- Adjust build requirements.
ec27201
- Adjust Source URL.
ec27201
ec27201
* Wed Dec 21 2016 Simone Caronni <negativo17@gmail.com> - 2.7.19-2
ec27201
- Add pkg-config file, as required by VLC.
ec27201
ec27201
* Wed Dec 21 2016 Simone Caronni <negativo17@gmail.com> - 2.7.19-1
ec27201
- First build.