mediainfo/mediainfo.spec

87 lines
2.2 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 22.06-1mamba
- package created using the webbuild interface