1 # TODO: system tinyxml2 and libzen
2 Summary: Embed, validate and export BWF files metadata
3 Summary(pl.UTF-8): Osadzanie, sprawdzanie i eksport metadanych z plików BWF
7 License: Public Domain (bwfmetaedit), BSD (embedded libraries)
8 Group: Applications/Multimedia
9 Source0: https://mediaarea.net/download/source/bwfmetaedit/%{version}/%{name}_%{version}.tar.xz
10 # Source0-md5: 95f60d6488e9be608aa7e683a70afe90
11 URL: https://mediaarea.net/BWFMetaEdit
12 BuildRequires: Qt5Gui-devel >= 5
13 BuildRequires: Qt5Widgets-devel >= 5
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
18 BuildRequires: pkgconfig
19 BuildRequires: qt5-build >= 5
20 BuildRequires: rpmbuild(macros) >= 1.566
21 BuildRequires: sed >= 4.0
22 BuildRequires: tar >= 1:1.22
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 BWF MetaEdit is a tool that supports embedding, validating, and
28 exporting of metadata in Broadcast WAVE Format (BWF) files. It
29 supports the FADGI Broadcast WAVE Metadata Embedding Guidelines.
31 %description -l pl.UTF-8
32 BWF MetaEdit to narzędzie obsługujące osadzanie, sprawdzanie
33 poprawności i eksportowanie metadanych w plikach Broadcast WAVE (BWF).
34 Obsługuje wytyczne osadzania metadanych w Broadcast WAVE wg FADGI.
37 Summary: GUI to embed, validate and export BWF files metadata
38 Summary(pl.UTF-8): Graficzny interfejs użytkownika do osadzania, sprawdzania i eksportu metadanych z plików BWF
39 Group: X11/Applications/Multimedia
42 BWF MetaEdit is a tool that supports embedding, validating, and
43 exporting of metadata in Broadcast WAVE Format (BWF) files. It
44 supports the FADGI Broadcast WAVE Metadata Embedding Guidelines.
46 %description gui -l pl.UTF-8
47 BWF MetaEdit to narzędzie obsługujące osadzanie, sprawdzanie
48 poprawności i eksportowanie metadanych w plikach Broadcast WAVE (BWF).
49 Obsługuje wytyczne osadzania metadanych w Broadcast WAVE wg FADGI.
52 %setup -q -n bwfmetaedit
53 %undos *.html *.txt Release/*.txt
54 chmod 644 *.html *.txt Release/*.txt
66 cd ../../../Project/GNU/GUI
71 # Qt5Core with -reduce-relocations requires PIC code
73 CXXFLAGS="%{rpmcxxflags} -fPIC"
77 rm -rf $RPM_BUILD_ROOT
79 %{__make} -C Project/GNU/CLI install \
80 DESTDIR=$RPM_BUILD_ROOT
82 %{__make} -C Project/GNU/GUI install \
83 DESTDIR=$RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT{%{_datadir}/metainfo,%{_desktopdir},%{_iconsdir}/hicolor/128x128/apps}
86 cp -p Project/GNU/GUI/bwfmetaedit-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
87 cp -p Project/GNU/GUI/bwfmetaedit-gui.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/metainfo
88 cp -p Source/Resource/Image/FADGI/Logo128.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/bwfmetaedit.png
91 rm -rf $RPM_BUILD_ROOT
94 %defattr(644,root,root,755)
95 %doc License.html History_CLI.txt Release/ReadMe_CLI_Linux.txt
96 %attr(755,root,root) %{_bindir}/bwfmetaedit
99 %defattr(644,root,root,755)
100 %doc License.html History_GUI.txt Release/ReadMe_GUI_Linux.txt
101 %attr(755,root,root) %{_bindir}/bwfmetaedit-gui
102 %{_datadir}/metainfo/bwfmetaedit-gui.metainfo.xml
103 %{_desktopdir}/bwfmetaedit-gui.desktop
104 %{_iconsdir}/hicolor/128x128/apps/bwfmetaedit.png