diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-05-03 09:46:27 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-05-03 09:46:27 +0000 | 
| commit | 33e86dfe44e5264f7ee7c9754e4677d2aed8bffc (patch) | |
| tree | cb15f4314772e8a62bd6b917c8663a8802edcf95 | |
| parent | 235008335ec428be67d9ecfb4cc2a33cd6f520be (diff) | |
automatic import of libmediainfoopeneuler24.03_LTS_SP1
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | libmediainfo.spec | 150 | ||||
| -rw-r--r-- | sources | 1 | 
3 files changed, 152 insertions, 0 deletions
@@ -0,0 +1 @@ +/v25.04.tar.gz diff --git a/libmediainfo.spec b/libmediainfo.spec new file mode 100644 index 0000000..8351a88 --- /dev/null +++ b/libmediainfo.spec @@ -0,0 +1,150 @@ +%global libzen_version  0.4.41 + +Name:           libmediainfo +Version:        25.04 +Release:        1 +Summary:        Library for supplies technical and tag information about a video or audio file +Summary(ru):    Библиотека для предоставления полной информации о видео или аудио файле + +License:        BSD-2-Clause +URL:            https://mediaarea.net/en/MediaInfo +Source0:        https://github.com/MediaArea/MediaInfoLib/archive/v%{version}.tar.gz + +BuildRequires:  cmake +BuildRequires:  gcc-c++ +BuildRequires:  pkgconfig(libzen) >= %{libzen_version} +BuildRequires:  pkgconfig(zlib) +BuildRequires:  doxygen +BuildRequires:  pkgconfig(libcurl) +BuildRequires:  pkgconfig(tinyxml2) + +Requires:       tinyxml2 + +Provides:       bundled(md5-plumb) + +%description +This package contains the shared library for MediaInfo. +MediaInfo supplies technical and tag information about a video or +audio file. + +What information can I get from MediaInfo? +* General: title, author, director, album, track number, date, duration... +* Video: codec, aspect, fps, bitrate... +* Audio: codec, sample rate, channels, language, bitrate... +* Text: language of subtitle +* Chapters: number of chapters, list of chapters + +DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1, +MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime, +RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3, +VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2 + +What format (container) does MediaInfo support? +* Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, +  MPEG-2, MPEG-4, DVD (VOB) (Codecs: DivX, XviD, MSMPEG4, ASP, +  H.264, AVC...) +* Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF +* Subtitles: SRT, SSA, ASS, SAMI + + +%description -l ru +Данный пакет содержит разделяемую библиотеку для MediaInfo. +MediaInfo предоставляет полную информацию о видео или аудио файле. + +Какая информация может быть получена MediaInfo? +* Общее: title, author, director, album, track number, date, duration... +* Видео: codec, aspect, fps, bitrate... +* Аудио: codec, sample rate, channels, language, bitrate... +* Текст: язык субтитров +* Части: число частей, список частей + +DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1, +MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime, +RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3, +VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2 + +Какой формат (контейнер) поддерживает MediaInfo? +* Видео: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, +  MPEG-2, MPEG-4, DVD (VOB) (Codecs: DivX, XviD, MSMPEG4, ASP, +  H.264, AVC...) +* Аудио: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF +* Субтитры: SRT, SSA, ASS, SAMI + + +%package        devel +Summary:        Include files and mandatory libraries for development +Summary(ru):    Пакет с файлами для разработки %{name} +Requires:       %{name}%{?_isa} = %{version}-%{release} +Requires:       libzen-devel%{?_isa} >= %{libzen_version} + +%description    devel +Include files and mandatory libraries for development. + +%description    devel -l ru +Файлы для разработки %{name}. + +%prep +%setup -qn MediaInfoLib-%{version} + +cp           Release/ReadMe_DLL_Linux.txt ReadMe.txt +mv           History_DLL.txt History.txt +sed -i 's/.$//' *.txt Source/Example/* + +find . -type f -exec chmod 644 {} ';' + +rm -rf Project/MSCS20* +rm -rf Source/ThirdParty/tinyxml2 + +%build +pushd Source/Doc/ +    doxygen -u Doxyfile +    doxygen Doxyfile +popd +cp Source/Doc/*.html ./ + +%cmake -S Project/CMake +%cmake_build + +%install +%cmake_install + +install -m 644 -p Source/MediaInfoDLL/MediaInfoDLL.cs %{buildroot}%{_includedir}/MediaInfoDLL +install -m 644 -p Source/MediaInfoDLL/MediaInfoDLL.JNA.java %{buildroot}%{_includedir}/MediaInfoDLL +install -m 644 -p Source/MediaInfoDLL/MediaInfoDLL.JNative.java %{buildroot}%{_includedir}/MediaInfoDLL +install -m 644 -p Source/MediaInfoDLL/MediaInfoDLL.py %{buildroot}%{_includedir}/MediaInfoDLL +install -m 644 -p Source/MediaInfoDLL/MediaInfoDLL3.py %{buildroot}%{_includedir}/MediaInfoDLL + +%files +%doc History.txt ReadMe.txt +%license License.html +%{_libdir}/%{name}.so.* + +%files    devel +%doc Changes.txt Documentation.html Doc Source/Example +%{_includedir}/MediaInfo +%{_includedir}/MediaInfoDLL +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/cmake/mediainfolib/ + +%changelog +* Sat May 03 2025 Funda Wang <fundawang@yeah.net> - 25.04-1 +- update to version 25.04 + +* Thu Nov 21 2024 Funda Wang <fundawang@yeah.net> - 24.01-2 +- adopt to new cmake macro + +* Wed Mar 13 2024 liweigang <liweiganga@uniontech.com> - 24.01 +- update to version 24.01 + +* Wed Dec 20 2023 zhangke <zhangkea@uniontech.com> - 23.11-1 +- update to version 23.11 + +* Sat Oct 07 2023 liweigang <weigangli99@yeah.net> - 23.10-1 +- update to version 23.10 + +* Wed Nov 23 2022 liweiganga <liweiganga@uniontech.com> - 20.03-2 +- add requires tinyxml2 + +* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 20.03-1 +- Initial release for OpenEuler @@ -0,0 +1 @@ +3c4d7fa47fe95e2f7ef232f876ec3291  v25.04.tar.gz  | 
