summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-20 15:03:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-20 15:03:25 +0000
commit00734bc826e04e49a88340c94d1457eed5d4ba8c (patch)
tree5ee5d8dd37708285efb4595f841d558ccd0b92a0
parent7cc7f908870dd9fb02a1cbd9c69ceed9815f1a4b (diff)
automatic import of mp4v2openeuler24.03_LTSopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--libmp4v2.spec55
-rw-r--r--sources1
3 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bcd17b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mp4v2-2.1.3.tar.bz2
diff --git a/libmp4v2.spec b/libmp4v2.spec
new file mode 100644
index 0000000..00aeee1
--- /dev/null
+++ b/libmp4v2.spec
@@ -0,0 +1,55 @@
+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
+BuildRequires: gcc-c++
+# BuildRequires: python3 help2man
+
+%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
+%configure --disable-static
+%make_build
+
+%install
+%make_install
+find %{buildroot} -name '*.la' -delete
+
+%ldconfig_scriptlets
+
+%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 <binshuo.oerv@isrc.iscas.ac.cn> - 2.1.3-1
+- init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..d91eb7c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a54031f6071bd397ffcc7ec817cfbcdd mp4v2-2.1.3.tar.bz2