Projects
SLE15
bombono
bombono.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bombono.spec of Package bombono
# vim: set sw=4 ts=4 et: # # spec file for package bombono # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009-2010 oc2pus # Copyright (c) 2010 Pascal Bleser <pascal.bleser@opensuse.org> # # 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.opensuse.org/ # %bcond_without cpp Name: bombono Version: 1.2.4 Release: 0 Summary: DVD authoring program License: GPL-2.0 Group: Productivity/Multimedia/Other ExclusiveArch: x86_64 Url: https://sourceforge.net/projects/bombono Source: %{name}-dvd-%{version}.tar.xz Source99: bombono-rpmlintrc Patch0: bombono.scons.patch Patch1: bombono.throw.patch Patch2: bombono-dvd-1.2.2_optflags.patch Patch3: bombono.operator.patch Patch4: bombono.patch # Import patches from arch Patch10: autoptr2uniqueptr.patch Patch11: fix_c++11_literal_warnings.patch Patch12: fix_deprecated_boost_api.patch Patch13: fix_ffmpeg30.patch Patch14: fix_ffmpeg_codecid.patch Patch15: fix_ptr2bool_cast.patch BuildRequires: libboost_filesystem-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_system-devel BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: scons BuildRequires: shared-mime-info BuildRequires: update-desktop-files BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(enca) BuildRequires: pkgconfig(gdkmm-2.4) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libquicktime) BuildRequires: pkgconfig(libxml++-2.6) >= 2.40.1 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mjpegtools) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: fdupes Requires: dvd+rw-tools Requires: dvdauthor Requires: mjpegtools Requires: mpeg2demux = %{version} Requires: scons Requires: twolame Requires(post): shared-mime-info Requires(postun): shared-mime-info Provides: bombono-dvd = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bombono DVD is a DVD authoring program for Linux. It is made easy to use and has nice and clean GUI (Gtk). The main features of Bombono DVD are: * Excellent MPEG viewer: Timeline and Monitor * Real WYSIWYG Menu Editor with live thumbnails * Comfortable Drag-n-Drop support * You can author to folder, make ISO-image or burn directly to DVD * Reauthoring: you can import video from DVD discs. Bombono DVD is Open Source software and freely distributed under GPL license. %package -n mpeg2demux Summary: Demuxer for MPEG2 and VOB files Group: Productivity/Multimedia/Other %description -n mpeg2demux Demux video from src-file(.mpg, .vob). If src-file has .vob extension then ac3/dts/lpcm audios are to be pulled too. %lang_package %prep %autosetup -p1 -n %{name}-dvd-%{version} %build chmod 644 COPYING OPTFLAGS="%{optflags} -Wno-reorder" # Only for libxml++-2.6 >= 2.40.1 with c++11 %if 0%{?suse_version} <= 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) CPPFLAGS="-DBOOST_NO_CXX11_SCOPED_ENUMS" %endif export OPTFLAGS scons %{?_smp_mflags} \ BUILD_CFG=release \ BUILD_BRIEF=false \ BUILD_QUICK=false \ CC="gcc" \ CXX="g++" \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ %{?with_cpp:CPPFLAGS="$CPPFLAGS -std=c++11"} \ TEST=false \ TEST_BUILD=false \ USE_EXT_BOOST=true \ BOOST_INCLUDE="%{_includedir}" \ BOOST_LIBPATH="%{_libdir}" \ DVDREAD_INCLUDE="%{_includedir}" \ DVDREAD_LIBPATH="%{_libdir}" \ PREFIX=%{_prefix} \ DESTDIR=%{buildroot} %install OPTFLAGS="%{optflags} -Wno-reorder" %if 0%{?suse_version} <= 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) CPPFLAGS="-DBOOST_NO_CXX11_SCOPED_ENUMS" %endif export OPTFLAGS scons \ BUILD_CFG=release \ BUILD_BRIEF=false \ BUILD_QUICK=false \ CC="gcc" \ CXX="g++" \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ %{?with_cpp:CPPFLAGS="$CPPFLAGS -std=c++11"} \ TEST=false \ TEST_BUILD=false \ USE_EXT_BOOST=true \ BOOST_INCLUDE="%{_includedir}" \ BOOST_LIBPATH="%{_libdir}" \ DVDREAD_INCLUDE="%{_includedir}" \ DVDREAD_LIBPATH="%{_libdir}" \ PREFIX=%{_prefix} \ DESTDIR=%{buildroot} \ install %suse_update_desktop_file -i %{name}-dvd AudioVideo AudioVideoEditing chmod 755 %{buildroot}%{_datadir}/%{name}/resources/scons_authoring/menu_SConscript find "%{buildroot}%{_datadir}/%{name}/resources/icons/" -type f -executable -exec chmod 0644 {} \; %find_lang %{name}-dvd %fdupes -s %{buildroot}%{_datadir} %post %mime_database_post %icon_theme_cache_post %desktop_database_post %postun %mime_database_postun %icon_theme_cache_postun %desktop_database_postun %files %license COPYING %{_bindir}/%{name}-dvd %{_datadir}/%{name}/ %{_datadir}/applications/%{name}*.desktop %{_datadir}/pixmaps/*.png %{_datadir}/icons/*/*/apps/%{name}-dvd.* %{_datadir}/mime/packages/%{name}.xml %{_mandir}/man1/%{name}-dvd.1%{ext_man} %files -n mpeg2demux %license COPYING %{_bindir}/mpeg2demux %{_mandir}/man1/mpeg2demux.1%{ext_man} %files lang -f %{name}-dvd.lang %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
.