bwfmetaedit/bwfmetaedit.spec

77 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: bwfmetaedit
Version: 21.07
Release: 1mamba
Summary: A tool that supports embedding, validating, and exporting of metadata in Broadcast WAVE Format (BWF) files
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://mediaarea.net/BWFMetaEdit
Source: https://mediaarea.net/download/source/bwfmetaedit/%{version}/bwfmetaedit_%{version}.tar.xz
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
BWF MetaEdit is a tool that supports embedding, validating, and exporting of metadata in Broadcast WAVE Format (BWF) files. It supports the FADGI Broadcast WAVE Metadata Embedding Guidelines.
%debug_package
%prep
%setup -q -n %{name}
cd Project/GNU/CLI
sh ./autogen
cd ../../QtCreator
./prepare BINDIR=%{_bindir}
%build
cd Project/GNU/CLI
%configure
%make
cd ../../QtCreator
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd Project/GNU/CLI
%makeinstall
cd ../../QtCreator
%makeinstall INSTALL_ROOT=%{buildroot}
cd ../..
install -D -m 644 Source/Resource/Image/Logo/Logo.png %{buildroot}%{_datadir}/pixmaps/bwfmetaedit.png
install -D -m 644 Source/Resource/Image/Logo/Logo128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/bwfmetaedit.png
install -D -m 644 Project/GNU/GUI/bwfmetaedit-gui.desktop %{buildroot}%{_datadir}/applications/bwfmetaedit-gui.desktop
install -D -m 644 Project/GNU/GUI/bwfmetaedit-gui.kde4.desktop %{buildroot}%{_datadir}/kservices5/ServiceMenus/bwfmetaedit-gui.desktop
install -D -m 644 Project/GNU/GUI/bwfmetaedit-gui.metainfo.xml %{buildroot}%{_datadir}/appdata/bwfmetaedit-gui.appdata.xml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/bwfmetaedit
%{_bindir}/bwfmetaedit-gui
%{_datadir}/appdata/bwfmetaedit-gui.appdata.xml
%{_datadir}/applications/bwfmetaedit-gui.desktop
%{_datadir}/icons/hicolor/128x128/apps/bwfmetaedit.png
%{_datadir}/kservices5/ServiceMenus/bwfmetaedit-gui.desktop
%{_datadir}/pixmaps/bwfmetaedit.png
%doc License.html
%changelog
* Sat Jul 10 2021 Automatic Build System <autodist@mambasoft.it> 21.07-1mamba
- automatic version update by autodist
* Wed Aug 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20.08-1mamba
- package created using the webbuild interface