From be3c171d0f45c39c726a645401e47c036b2a63b5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:02:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 22.06-1mamba;Mon Sep 12 2022] --- README.md | 2 ++ mediainfo.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 mediainfo.spec diff --git a/README.md b/README.md index 9757e0e..161ce37 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # mediainfo +Mediainfo supplies technical and tag information about a video or audio file. + diff --git a/mediainfo.spec b/mediainfo.spec new file mode 100644 index 0000000..099030d --- /dev/null +++ b/mediainfo.spec @@ -0,0 +1,86 @@ +Name: mediainfo +Version: 22.06 +Release: 1mamba +Summary: Supplies technical and tag information about a video or audio file +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://mediaarea.net/ +Source: https://old.mediaarea.net/download/source/mediainfo/%{version}/mediainfo_%{version}.tar.xz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libmediainfo-devel +BuildRequires: libstdc++6-devel +BuildRequires: libwx_baseu30-devel +BuildRequires: libwx_gtk3u30-devel +BuildRequires: libz-devel +BuildRequires: libzen-devel +## AUTOBUILDREQ-END + +%description +Mediainfo supplies technical and tag information about a video or audio file. + +%package gui +Group: Graphical Desktop/Applications/Multimedia +Summary: GUI for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description gui +Mediainfo supplies technical and tag information about a video or audio file. +This package provides the GUI. + +%debug_package + +%prep +%setup -q -c +#-D -T +#:<< _EOF +cd MediaInfo/Project/GNU/CLI +./autogen.sh + +cd ../GUI +./autogen.sh + +%build +#:<< _EOF +cd MediaInfo/Project/GNU/CLI +%configure + +%make + +cd ../GUI +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C MediaInfo/Project/GNU/CLI +%makeinstall -C MediaInfo/Project/GNU/GUI + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mediainfo +%doc MediaInfo/LICENSE + +%files gui +%defattr(-,root,root) +%{_bindir}/mediainfo-gui +%{_datadir}/applications/mediainfo-gui.desktop +%{_datadir}/apps/konqueror/servicemenus/mediainfo-gui.desktop +%{_datadir}/kde4/services/ServiceMenus/mediainfo-gui.desktop +%{_datadir}/kservices5/ServiceMenus/mediainfo-gui.desktop +%{_datadir}/metainfo/mediainfo-gui.metainfo.xml +%{_datadir}/icons/hicolor/*/apps/mediainfo.png +%{_datadir}/icons/hicolor/scalable/apps/mediainfo.svg +%{_datadir}/pixmaps/mediainfo.xpm + +%changelog +* Mon Sep 12 2022 Silvan Calarco 22.06-1mamba +- package created using the webbuild interface