Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:multimedia:libs
vobsub2srt
vobsub2srt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vobsub2srt.spec of Package vobsub2srt
# # spec file for package vobsub2srt # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # Name: vobsub2srt Version: 1.0pre7+r9_d4c34ca002d8 Release: 0 Summary: VobSub to SubRip subtitle converter License: GPL-3.0+ Group: Productivity/Multimedia/Other Url: https://github.com/ruediger/VobSub2SRT Source: %{name}-%{version}.tar.xz Patch0: %{name}-cxx11.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(tesseract) >= 3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description VobSub2SRT is a simple command line program to convert .idx / .sub subtitles into .srt text subtitles by using OCR. It is based on code from the MPlayer project - a really really great movie player. Some minor parts are copied from ffmpeg/avutil headers. Tesseract is used as OCR software. %package bash-completion Summary: Bash completion for %{name} Requires: %{name} = %{version} Supplements: packageand(%{name}:bash-completion) BuildArch: noarch %description bash-completion Bash command line completion support for %{name}. %prep %setup -q %patch0 -p1 # Fix doc/completion.sh to avoid RPM warnings. chmod a-x doc/completion.sh sed -i '1!b;/^#!/d' doc/completion.sh %build %cmake \ -DVOBSUB2SRT_VERSION="%{version}" \ -DINSTALL_DOC_DIR="%{_docdir}/%{name}" \ -DINSTALL_DATA_DIR_BASE="%{_datadir}" make %{?_smp_mflags} %install %cmake_install %files %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{ext_man} %{_docdir}/%{name} %doc COPYING doc/ %files bash-completion %defattr(-,root,root) %{_datadir}/bash-completion/completions/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor