mediainfo/mediainfo.spec

117 lines
3.3 KiB
RPMSpec

Name: mediainfo
Version: 24.01
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: libz-devel
BuildRequires: libzen-devel
BuildRequires: wxwidgets-devel
BuildRequires: wxwidgets-gtk3-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
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 24.01-1mamba
- automatic version update by autodist
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 23.11-1mamba
- automatic version update by autodist
* Wed Oct 04 2023 Automatic Build System <autodist@mambasoft.it> 23.10-1mamba
- automatic version update by autodist
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 23.09-1mamba
- automatic version update by autodist
* Thu Jul 13 2023 Automatic Build System <autodist@mambasoft.it> 23.07-1mamba
- automatic version update by autodist
* Thu Jun 29 2023 Automatic Build System <autodist@mambasoft.it> 23.06-1mamba
- automatic version update by autodist
* Thu Apr 27 2023 Automatic Build System <autodist@mambasoft.it> 23.04-1mamba
- automatic version update by autodist
* Thu Mar 30 2023 Automatic Build System <autodist@mambasoft.it> 23.03-1mamba
- automatic version update by autodist
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 22.12-1mamba
- automatic version update by autodist
* Thu Oct 06 2022 Automatic Build System <autodist@mambasoft.it> 22.09-1mamba
- automatic version update by autodist
* Mon Sep 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.06-1mamba
- package created using the webbuild interface