Projects
Multimedia
bento4
bento4.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bento4.spec of Package bento4 (Revision 2)
Currently displaying revision
2
,
Show latest
# # spec file for package bento4 # # Copyright (c) 2017 Packman Team <packman@links2linux.de> # # 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 http://bugs.links2linux.org/ # %define _over 1.5.0-615 %define _libver 1_5_0r615 Name: bento4 Version: 1.5.0r615 Release: 0 Summary: C++ toolkit for all your MP4 and MPEG DASH media format needs License: GPL-2.0 Group: Productivity/Multimedia/Video/Editors and Convertors Url: http://www.bento4.com/ Source0: https://github.com/axiomatic-systems/Bento4/archive/v%{_over}.tar.gz#/%{name}-%{version}.tar.gz Source99: bento4-rpmlintrc Patch0: bento4-shared_library.patch Patch1: bento4-otherarchs.patch BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. %package devel Summary: Headers and documentation to develop with libap4 Group: Development/Libraries/C and C++ Requires: libap4-%{_libver} = %{version} %description devel This package contains all necessary include files and documentation needed to compile applications that use libap4. %package -n libap4-%{_libver} Summary: C++ toolkit for all your MP4 and MPEG DASH media format needs Group: Productivity/Multimedia/Video/Players %description -n libap4-%{_libver} Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. %prep %setup -q -n Bento4-%{_over} %patch0 -p1 %patch1 -p1 sed -e 's/__VERSION__/%{version}/g' -i CMakeLists.txt sed -e '6s/.*/AP4_BUILD_CONFIG = Release/' -i Build/Makefiles/Bootstrap.mak %build %cmake make %{?_smp_mflags} %install %cmake_install %post -n libap4-%{_libver} -p /sbin/ldconfig %postun -n libap4-%{_libver} -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md Documents/LICENSE.txt %{_bindir}/bento4-aac2mp4 %{_bindir}/bento4-mp42aac %{_bindir}/bento4-mp42hls %{_bindir}/bento4-mp42ts %{_bindir}/bento4-mp4compact %{_bindir}/bento4-mp4dcfpackager %{_bindir}/bento4-mp4decrypt %{_bindir}/bento4-mp4dump %{_bindir}/bento4-mp4edit %{_bindir}/bento4-mp4encrypt %{_bindir}/bento4-mp4extract %{_bindir}/bento4-mp4fragment %{_bindir}/bento4-mp4info %{_bindir}/bento4-mp4mux %{_bindir}/bento4-mp4split %{_bindir}/bento4-mp4tag %files devel %defattr(-,root,root) %doc README.md Documents/LICENSE.txt Documents/SDK/Bento4_SDK_documentation.pdf %{_includedir}/ap4 %files -n libap4-%{_libver} %defattr(-,root,root) %doc README.md Documents/LICENSE.txt %{_libdir}/libap4-%{version}.so %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
.