101 lines
2.5 KiB
RPMSpec
101 lines
2.5 KiB
RPMSpec
Name: libmediainfo
|
|
Version: 22.06
|
|
Release: 1mamba
|
|
Summary: Shared library for mediainfo
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 22.06-1mamba
|
|
- package created using the webbuild interface
|