]> git.pld-linux.org Git - packages/bwfmetaedit.git/blame - bwfmetaedit.spec
- clearer License
[packages/bwfmetaedit.git] / bwfmetaedit.spec
CommitLineData
54f545cf
JB
1# TODO: system tinyxml2 and libzen
2Summary: Embed, validate and export BWF files metadata
3Summary(pl.UTF-8): Osadzanie, sprawdzanie i eksport metadanych z plików BWF
4Name: bwfmetaedit
5Version: 1.3.6
6Release: 1
396032a0 7License: Public Domain (bwfmetaedit), BSD (embedded libraries)
54f545cf
JB
8Group: Applications/Multimedia
9Source0: https://mediaarea.net/download/source/bwfmetaedit/%{version}/%{name}_%{version}.tar.xz
10# Source0-md5: 95f60d6488e9be608aa7e683a70afe90
11URL: https://mediaarea.net/BWFMetaEdit
12BuildRequires: Qt5Gui-devel >= 5
13BuildRequires: Qt5Widgets-devel >= 5
14BuildRequires: autoconf >= 2.50
15BuildRequires: automake
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:1.5
18BuildRequires: pkgconfig
19BuildRequires: qt5-build >= 5
20BuildRequires: rpmbuild(macros) >= 1.566
21BuildRequires: sed >= 4.0
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27BWF MetaEdit is a tool that supports embedding, validating, and
28exporting of metadata in Broadcast WAVE Format (BWF) files. It
29supports the FADGI Broadcast WAVE Metadata Embedding Guidelines.
30
31%description -l pl.UTF-8
32BWF MetaEdit to narzędzie obsługujące osadzanie, sprawdzanie
33poprawności i eksportowanie metadanych w plikach Broadcast WAVE (BWF).
34Obsługuje wytyczne osadzania metadanych w Broadcast WAVE wg FADGI.
35
36%package gui
37Summary: GUI to embed, validate and export BWF files metadata
38Summary(pl.UTF-8): Graficzny interfejs użytkownika do osadzania, sprawdzania i eksportu metadanych z plików BWF
39Group: X11/Applications/Multimedia
40
41%description gui
42BWF MetaEdit is a tool that supports embedding, validating, and
43exporting of metadata in Broadcast WAVE Format (BWF) files. It
44supports the FADGI Broadcast WAVE Metadata Embedding Guidelines.
45
46%description gui -l pl.UTF-8
47BWF MetaEdit to narzędzie obsługujące osadzanie, sprawdzanie
48poprawności i eksportowanie metadanych w plikach Broadcast WAVE (BWF).
49Obsługuje wytyczne osadzania metadanych w Broadcast WAVE wg FADGI.
50
51%prep
52%setup -q -n bwfmetaedit
53%undos *.html *.txt Release/*.txt
54chmod 644 *.html *.txt Release/*.txt
55
56%build
57# build CLI
58cd Project/GNU/CLI
59%{__libtoolize}
60%{__aclocal}
61%{__autoconf}
62%{__automake}
63%configure
64%{__make}
65# now build GUI
66cd ../../../Project/GNU/GUI
67%{__libtoolize}
68%{__aclocal}
69%{__autoconf}
70%{__automake}
71# Qt5Core with -reduce-relocations requires PIC code
72%configure \
73 CXXFLAGS="%{rpmcxxflags} -fPIC"
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} -C Project/GNU/CLI install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82%{__make} -C Project/GNU/GUI install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85install -d $RPM_BUILD_ROOT{%{_datadir}/metainfo,%{_desktopdir},%{_iconsdir}/hicolor/128x128/apps}
86cp -p Project/GNU/GUI/bwfmetaedit-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
87cp -p Project/GNU/GUI/bwfmetaedit-gui.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/metainfo
88cp -p Source/Resource/Image/FADGI/Logo128.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/bwfmetaedit.png
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%files
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
97
98%files gui
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
This page took 0.683552 seconds and 4 git commands to generate.