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 9
View file
mp4v2.spec
Added
@@ -0,0 +1,104 @@ +# +# spec file for package mp4v2 +# +# 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#/%{name}-%{version}.tar.gz +License: MPLv1.1 +Group: Productivity/Multimedia/Other +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +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 lib%{name}%{sover} +Summary: A C/C++ library to create, modify and read MP4 files +Group: Productivity/Multimedia/Other +Provides: %{name} = %{version} + +%description -n lib%{name}%{sover} +This is the new MP4v2 project, a fork of the abandoned +MP4v2 library project now archived at Google Code. + +%package -n lib%{name}-devel +Summary: Development Environment for libmp4v2 +Group: Development/Libraries/C and C++ +Requires: libmp4v2%{sover} = %{version} + +%description -n lib%{name}-devel +This package contains the include-files +and static libraries for libmp4v2. + +%prep +%autosetup + +%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 lib%{name}%{sover} -p /sbin/ldconfig +%postun -n lib%{name}%{sover} -p /sbin/ldconfig + +%files +%license COPYING +%doc README +%{_bindir}/mp4art +%{_bindir}/mp4chaps +%{_bindir}/mp4extract +%{_bindir}/mp4file +%{_bindir}/mp4info +%{_bindir}/mp4subtitle +%{_bindir}/mp4tags +%{_bindir}/mp4track +%{_bindir}/mp4trackdump +%{_mandir}/man1/mp4art.1%{?ext_man} +%{_mandir}/man1/mp4chaps.1%{?ext_man} +%{_mandir}/man1/mp4file.1%{?ext_man} +%{_mandir}/man1/mp4subtitle.1%{?ext_man} +%{_mandir}/man1/mp4tags.1%{?ext_man} +%{_mandir}/man1/mp4track.1%{?ext_man} + +%files -n lib%{name}%{sover} +%{_libdir}/libmp4v2.so.%{sover} +%{_libdir}/libmp4v2.so.%{sover}.* + +%files -n lib%{name}-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
.