## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global gittag rel_2_13_2 Name: asdcplib Version: 2.13.2 Release: %autorelease Summary: AS-DCP file access libraries License: BSD-3-Clause URL: http://www.cinecert.com/asdcplib/ Source0: https://github.com/cinecert/%{name}/archive/%{gittag}/%{name}-%{version}.tar.gz Source1: %{name}.pc ExcludeArch: %{ix86} %{arm} BuildRequires: cmake BuildRequires: gcc-c++ # https://fedoraproject.org/wiki/Licensing:FAQ#What.27s_the_deal_with_the_OpenSSL_license.3F BuildRequires: openssl-devel BuildRequires: xerces-c-devel %description Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track File” format. It was originally developed with support from DCI. Development is currently supported by CineCert and other d-cinema manufacturers. It supports reading and writing MXF files containing sound (PCM), picture (JPEG 2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are both supported using OpenSSL for cryptographic support. %package tools Summary: AS-DCP file access libraries tools %description tools Open source implementation of SMPTE and the MXF Interop “Sound & Picture Track File” format. It was originally developed with support from DCI. Development is currently supported by CineCert and other d-cinema manufacturers. It supports reading and writing MXF files containing sound (PCM), picture (JPEG 2000 or MPEG-2) and timed-text (XML) essence. plain text and cipher text are both supported using OpenSSL for cryptographic support. This package contains tools and testing programs for %{name}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 -n %{name}-%{gittag} sed -i -e 's/DESTINATION lib/DESTINATION %{_lib}/g' src/CMakeLists.txt # rpmlint fixes find . -name "*.h" -exec chmod 644 {} \; find . -name "*.cpp" -exec chmod 644 {} \; chmod 644 README.md %build # TODO: Please submit an issue to upstream (rhbz#2380464) export CMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake -DCMAKE_SKIP_RPATH=True %cmake_build %install %cmake_install install -p -D -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/%{name}.pc sed -i \ -e 's|PREFIX|%{_prefix}|g' \ -e 's|LIBDIR|%{_libdir}|g' \ -e 's|INCLUDEDIR|%{_includedir}|g' \ -e 's|VERSION|%{version}|g' \ %{buildroot}%{_libdir}/pkgconfig/%{name}.pc find %{buildroot} -name '*.la' -delete rm -fr %{buildroot}%{_prefix}/targets %files %license COPYING %doc README.md %{_libdir}/libas02.so.2 %{_libdir}/libas02.so.2.* %{_libdir}/libasdcp.so.2 %{_libdir}/libasdcp.so.2.* %{_libdir}/libkumu.so.2 %{_libdir}/libkumu.so.2.* %files devel %{_includedir}/* %{_libdir}/libas02.so %{_libdir}/libasdcp.so %{_libdir}/libkumu.so %{_libdir}/pkgconfig/%{name}.pc %files tools %{_bindir}/as-02-info %{_bindir}/as-02-unwrap %{_bindir}/as-02-wrap %{_bindir}/as-02-wrap-iab %{_bindir}/asdcp-info %{_bindir}/asdcp-test %{_bindir}/asdcp-unwrap %{_bindir}/asdcp-util %{_bindir}/asdcp-wrap %{_bindir}/blackwave %{_bindir}/j2c-test %{_bindir}/klvwalk %{_bindir}/kmfilegen %{_bindir}/kmrandgen %{_bindir}/kmuuidgen %{_bindir}/wavesplit %changelog ## START: Generated by rpmautospec * Wed Mar 04 2026 Simone Caronni - 2.13.2-1 - Update to 2.13.2, update license * Fri Jan 16 2026 Fedora Release Engineering - 2.13.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 2.13.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Nov 10 2025 Cristian Le - 2.13.0-8 - Allow to build with CMake 4.0 (rhbz#2380464) * Wed Jul 23 2025 Fedora Release Engineering - 2.13.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu May 15 2025 Simone Caronni - 2.13.0-6 - Fix build on Fedora 43+. ## END: Generated by rpmautospec