Projects
home:enzokiel:Testing
libmp4v2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
libmp4v2.spec
Added
@@ -0,0 +1,86 @@ +# +# spec file for package libmp4v2 +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sover 2 +Name: libmp4v2 +Summary: A C/C++ library to create, modify and read MP4 files +Version: 2.1.3 +Release: 0 +URL: https://mp4v2.org/ +Source0: https://github.com/enzo1982/mp4v2/archive/refs/tags/v%{version}.tar.gz#/mp4v2-%{version}.tar.gz +License: MPLv1.1 +Group: Productivity/Multimedia/Other +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +##BuildRequires: pkgconfig +##BuildRequires: pkgconfig(openssl) + +%description +This is the new MP4v2 project, a fork of the abandoned +MP4v2 library project now archived at Google Code. + +%package -n libmp4v2%{sover} +Summary: A C/C++ library to create, modify and read MP4 files +Group: Productivity/Multimedia/Other +Provides: %{name} = %{version} + +%description -n libmp4v2%{sover} +This is the new MP4v2 project, a fork of the abandoned +MP4v2 library project now archived at Google Code. + +%package devel +Summary: Development Environment for libmp4v2 +Group: Development/Libraries/C and C++ +Requires: libmp4v2%{sover} = %{version} + +%description devel +This package contains the include-files +and static libraries for libmp4v2. + +%prep +%autosetup -n mp4v2-%{version} + +%build +autoreconf -fiv +%configure \ + --disable-silent-rules \ + --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +# We install the files on our own, using %%doc +##rm -rf %{buildroot}%{_datadir}/doc/libmp4v2/ + +%post -n libmp4v2%{sover} -p /sbin/ldconfig +%postun -n libmp4v2%{sover} -p /sbin/ldconfig + +%files -n libmp4v2%{sover} +%license COPYING +%doc README +%{_libdir}/libmp4v2.so.%{sover} +%{_libdir}/libmp4v2.so.%{sover}.* + +%files devel +%{_includedir}/mp4v2 +%{_libdir}/libmp4v2.so +%{_libdir}/pkgconfig/mp4v2.pc + +%changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.