Compare commits
25 commits
epel9-next
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e94da53212 | ||
|
|
e5292d4279 | ||
|
|
2862b8265f | ||
|
|
0c0206b262 | ||
|
|
3aa1f9ac73 | ||
|
|
f80fb70cec | ||
|
|
0cde66594c | ||
|
|
fe6f878231 | ||
|
|
37c07e8b01 | ||
|
|
207dd6d8ce | ||
|
|
679ee306d5 | ||
|
|
9bc9d19f60 | ||
|
|
9517fcbb90 | ||
|
|
395dec607e | ||
|
|
800bef7b01 | ||
|
|
1100f03991 | ||
|
|
32931d4051 | ||
|
|
1ac9113439 | ||
|
|
b5d71d4e79 | ||
|
|
0cd7fbd87a | ||
|
|
517fa73341 | ||
|
|
c24b60a2c6 | ||
|
|
4e138e269b | ||
|
|
ac93942b92 | ||
|
|
53b14f3d66 |
5 changed files with 98 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.tar.gz
|
||||
17
AMF-tarball.sh
Executable file
17
AMF-tarball.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Usage: $0 <version>" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$1
|
||||
NAME=AMF
|
||||
|
||||
wget -q -c https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/v$VERSION/$NAME-$VERSION.tar.gz
|
||||
|
||||
tar -xzf $NAME-$VERSION.tar.gz
|
||||
rm -f $NAME-$VERSION.tar.gz
|
||||
rm -fr $NAME-$VERSION/Thirdparty
|
||||
|
||||
tar -czf $NAME-cleaned-$VERSION.tar.gz --remove-files $NAME-$VERSION
|
||||
76
AMF.spec
Normal file
76
AMF.spec
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
Name: AMF
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
%description
|
||||
A light-weight, portable multimedia framework that abstracts away most of the
|
||||
platform and API-specific details. %{name} is supported on the closed source AMD
|
||||
Pro driver and OpenMax on the open source AMD Mesa driver.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
|
||||
%description devel
|
||||
A light-weight, portable multimedia framework that abstracts away most of the
|
||||
platform and API-specific details. %{name} is supported on the closed source AMD
|
||||
Pro driver and OpenMax on the open source AMD Mesa driver.
|
||||
|
||||
The %{name}-devel package contains libraries and header files for developing
|
||||
applications that use %{name}.
|
||||
|
||||
%package samples
|
||||
Summary: Sample files for %{name}
|
||||
|
||||
%description samples
|
||||
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
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_includedir}/%{name}
|
||||
cp -fr amf/public/include/* %{buildroot}%{_includedir}/%{name}/
|
||||
|
||||
mkdir -p %{buildroot}%{_usrsrc}/%{name}
|
||||
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
|
||||
%autochangelog
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (AMF-cleaned-1.5.0.tar.gz) = 910edc6ac03d42436785fe9e137da27671bd85eb6782c09a559f107cb163bfee662974dd70e6a55eb5abfa44f5bf823990b759a9b2093ba2a9677655edcc2786
|
||||
Loading…
Add table
Add a link
Reference in a new issue