ccextractor/package_creators/ccextractor.spec

37 lines
865 B
RPMSpec
Raw Normal View History

2017-04-15 17:19:13 +00:00
Name: ccextractor
Version: 0.85
Release: 1
Summary: A closed captions and teletext subtitles extractor for video streams.
Group: Applications/Internet
License: GPL
URL: http://ccextractor.org/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
CCExtractor is a software that extracts closed captions from videos of various formats, even live video streams. Available as a multi-platform desktop application.
%global debug_package %{nil}
%prep
%setup -q
%build
./configure --enable-ocr --prefix="$pkgdir/usr/local"
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
install ccextractor $RPM_BUILD_ROOT/usr/local/bin/ccextractor
%files
%defattr(-,root,root)
/usr/local/bin/ccextractor
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Apr 14 2017 Carlos Fernandez <carlos@ccextractor.org>
- Initial build