bwfmetaedit/bwfmetaedit.spec

100 lines
3.3 KiB
RPMSpec

Name: bwfmetaedit
Version: 24.10
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: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Network
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5Widgets
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtdeclarative-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
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 24.10-1mamba
- automatic version update by autodist
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 24.05-1mamba
- automatic version update by autodist
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 24.01-1mamba
- automatic version update by autodist
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 23.04-1mamba
- automatic version update by autodist
* Tue Jan 31 2023 Automatic Build System <autodist@mambasoft.it> 23.01-1mamba
- automatic version update by autodist
* Wed Dec 07 2022 Automatic Build System <autodist@mambasoft.it> 22.11-1mamba
- automatic version update by autodist
* 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