From 1abcebec1c75e6d6bdf009c3839bca0e541576c6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:02:42 +0100 Subject: [PATCH] package created using the webbuild interface [release 22.06-1mamba;Mon Sep 12 2022] --- README.md | 2 + libmediainfo.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 libmediainfo.spec diff --git a/README.md b/README.md index 568b0de..983888c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmediainfo +Shared library for mediainfo. + diff --git a/libmediainfo.spec b/libmediainfo.spec new file mode 100644 index 0000000..d9f4958 --- /dev/null +++ b/libmediainfo.spec @@ -0,0 +1,100 @@ +Name: libmediainfo +Version: 22.06 +Release: 1mamba +Summary: Shared library for mediainfo +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://mediaarea.net +Source: https://mediaarea.net/download/source/libmediainfo/%{version}/libmediainfo_%{version}.tar.xz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbrotli-devel +BuildRequires: libcares-devel +BuildRequires: libcurl-devel +BuildRequires: libexpat-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libgraphviz-devel +BuildRequires: libgss-devel +BuildRequires: libidn-devel +BuildRequires: libidn2-devel +BuildRequires: libltdl-devel +BuildRequires: libmms-devel +BuildRequires: libnghttp2-devel +BuildRequires: libntlm-devel +BuildRequires: libopenldap-devel +BuildRequires: libopenssl-devel +BuildRequires: libpsl-devel +BuildRequires: librtmp-devel +BuildRequires: libsasl2-devel +BuildRequires: libssh2-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtermcap-devel +BuildRequires: libtinyxml2-devel +BuildRequires: libunistring-devel +BuildRequires: libz-devel +BuildRequires: libzen-devel +BuildRequires: libzstd-devel +## AUTOBUILDREQ-END + +%description +Shared library for mediainfo. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -c +cd MediaInfoLib/Project/GNU/Library +./autogen.sh + +%build +cd MediaInfoLib/Project/GNU/Library +%configure \ + --enable-shared \ + --disable-static \ + --with-libcurl \ + --with-libmms \ + --with-libtinyxml2 \ + --with-graphviz + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C MediaInfoLib/Project/GNU/Library + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libmediainfo.so.* +%doc MediaInfoLib/LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/MediaInfo +%{_includedir}/MediaInfo/* +%dir %{_includedir}/MediaInfoDLL +%{_includedir}/MediaInfoDLL/* +%{_libdir}/libmediainfo.so +%{_libdir}/pkgconfig/libmediainfo.pc + +%changelog +* Mon Sep 12 2022 Silvan Calarco 22.06-1mamba +- package created using the webbuild interface