diff --git a/libmp4v2.spec b/libmp4v2.spec new file mode 100644 index 0000000000000000000000000000000000000000..dd55a8bdfacef08ddf49f0b393c97a844a3a2ce9 --- /dev/null +++ b/libmp4v2.spec @@ -0,0 +1,65 @@ +Summary: Library for working with files using the mp4 container format +Name: libmp4v2 +Version: 2.1.3 +Release: 1 +License: MPLv1.1 +URL: https://mp4v2.org/ +Source0: https://github.com/enzo1982/mp4v2/releases/download/v%{version}/mp4v2-%{version}.tar.bz2 + +BuildRequires: make autoconf libtool +BuildRequires: gcc-c++ +BuildRequires: python3 help2man + +%{?_with_tests: +BuildRequires: %{name}-devel +BuildRequires: tcl expect dejagnu +} + +%description +The libmp4v2 library provides an abstraction layer for working with files +using the mp4 container format. This library is developed by mpeg4ip project +and is an exact copy of the library distributed in the mpeg4ip package. + +%package devel +Summary: Development files for the mp4v2 library +Requires: %{name}%{_isa} = %{version}-%{release} + +%description devel +Development files needed to develop and compile programs +using the libmp4v2 library. + +%prep +%autosetup -p1 -n mp4v2-%{version} + +%build +autoreconf --force --install --verbose +%configure --disable-static +%make_build + +%install +%make_install +find %{buildroot} -name '*.la' -delete + +%ldconfig_scriptlets + +%{?_with_tests: +%check +make check +} + +%files +%doc README doc/*txt +%license COPYING +%{_bindir}/* +%{_libdir}/libmp4v2.so.2* +%{_mandir}/man1/mp4*.1* + +%files devel +%{_includedir}/mp4v2/ +%{_libdir}/pkgconfig/mp4v2.pc +%{_libdir}/libmp4v2.so + + +%changelog +* Mon Aug 19 2024 binshuo - 2.1.3-1 +- init package diff --git a/mp4v2-2.1.3.tar.bz2 b/mp4v2-2.1.3.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..ed40c64ed2f665fce8e8ebb6f5466e4b272e000c Binary files /dev/null and b/mp4v2-2.1.3.tar.bz2 differ