diff --git a/.gitignore b/.gitignore index 984a7ba..335ec95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -/AMF-1.4.23.tar.gz -/AMF-cleaned-1.4.23.tar.gz -/AMF-cleaned-1.4.24.tar.gz -/AMF-cleaned-1.4.26.tar.gz -/AMF-cleaned-1.4.29.tar.gz +*.tar.gz diff --git a/AMF.spec b/AMF.spec index 2d38e47..a39ca09 100644 --- a/AMF.spec +++ b/AMF.spec @@ -1,12 +1,14 @@ Name: AMF -Version: 1.4.29 -Release: 1%{?dist} +Epoch: 1 +Version: 1.5.0 +Release: %autorelease Summary: Advanced Media Framework (AMF) SDK License: MIT URL: https://gpuopen.com/advanced-media-framework/ BuildArch: noarch -# Cleaned up tarballi without Thirdparty folder: +# Releases include headers only and we miss documents and samples; so get a +# full tarball without Thirdparty folder. Source0: %{name}-cleaned-%{version}.tar.gz Source1: %{name}-tarball.sh @@ -33,6 +35,14 @@ Summary: Sample files for %{name} The %{name}-samples package contains sample programs and source for applications that use %{name}. +%package docs +Summary: PDF documentation for %{name} + +%description docs +The %{name}-docs package contains the development documentation in PDF format +that is available in the main %{name}-devel package in Markdown format. + + %prep %autosetup -p1 @@ -45,33 +55,22 @@ cp -fr amf/public/* %{buildroot}%{_usrsrc}/%{name}/ rm -fr %{buildroot}%{_usrsrc}/%{name}/include ln -sf ../../include/AMF %{buildroot}%{_usrsrc}/%{name}/include +# Split out PDF docs +mkdir pdf +mv amf/doc/*pdf pdf/ + %files devel %license LICENSE.txt %doc amf/doc/* %{_includedir}/%{name}/ %files samples +%license LICENSE.txt %{_usrsrc}/%{name} +%files docs +%license LICENSE.txt +%doc pdf/* + %changelog -* Sat Feb 04 2023 Simone Caronni - 1.4.29-1 -- Update to 1.4.29. - -* Wed Jan 18 2023 Fedora Release Engineering - 1.4.26-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sun Oct 09 2022 Simone Caronni - 1.4.26-1 -- Update to 1.4.26. - -* Wed Jul 20 2022 Fedora Release Engineering - 1.4.24-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Apr 07 2022 Simone Caronni - 1.4.24-1 -- Update to 1.4.24. - -* Sun Feb 13 2022 Simone Caronni - 1.4.23-2 -- Remove Thirdparty folder from sources and provide script to recreate tarball. -- Remove duplicated docs in samples subpackage. - -* Thu Feb 10 2022 Simone Caronni - 1.4.23-1 -- First build. +%autochangelog diff --git a/README.md b/README.md index 0bc2f44..8e495e5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # AMF -The AMF package +The AMF package. + +The source tarball is stripped of the `ThirdParty` folder which contains code distributed with a different licensing. diff --git a/sources b/sources index 85446c0..31db73f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (AMF-cleaned-1.4.29.tar.gz) = 8c3cac3e47f0e2b98a339f3a4238bf0adf94a6c5b99473702c08f5606351ee6527e4be55329361a58fd15c21da07d05eee8dce2884738f572cdc5ab410bcfc92 +SHA512 (AMF-cleaned-1.5.0.tar.gz) = 910edc6ac03d42436785fe9e137da27671bd85eb6782c09a559f107cb163bfee662974dd70e6a55eb5abfa44f5bf823990b759a9b2093ba2a9677655edcc2786