diff options
author | B. Stack <bgstack15@gmail.com> | 2022-03-24 19:54:39 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-03-24 19:54:39 +0000 |
commit | 7d08cd01481e6e22b6afbe6c2cfa6a8ac4089b61 (patch) | |
tree | 53534e095d8d4e2db2170bc7785025fb4411e6b4 /ccextractor/ccextractor.spec | |
parent | Merge branch 'makemkv-bump' into 'master' (diff) | |
parent | update ccextractor from negativo17 (diff) | |
download | stackrpms-7d08cd01481e6e22b6afbe6c2cfa6a8ac4089b61.tar.gz stackrpms-7d08cd01481e6e22b6afbe6c2cfa6a8ac4089b61.tar.bz2 stackrpms-7d08cd01481e6e22b6afbe6c2cfa6a8ac4089b61.zip |
Merge branch 'ccextractor-bump' into 'master'
update ccextractor from negativo17
See merge request bgstack15/stackrpms!288
Diffstat (limited to 'ccextractor/ccextractor.spec')
-rw-r--r-- | ccextractor/ccextractor.spec | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/ccextractor/ccextractor.spec b/ccextractor/ccextractor.spec index 03d8598..0fbb748 100644 --- a/ccextractor/ccextractor.spec +++ b/ccextractor/ccextractor.spec @@ -1,11 +1,22 @@ +%define _legacy_common_support 1 + +%global commit0 67e15aaf80a576f6f9b79442eaa355d544f0d5c2 +%global date 20210527 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global tag %{version} + Name: ccextractor -Version: 0.88 +Version: 0.93 Release: 1%{?dist} Summary: A closed captions and teletext subtitles extractor for video streams. License: GPL URL: http://ccextractor.org/ -Source0: https://github.com/CCExtractor/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +%if 0%{?tag:1} +Source0: https://github.com/CCExtractor/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +%else +Source0: https://github.com/CCExtractor/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +%endif Patch0: %{name}-system-libraries-and-cflags.patch @@ -14,6 +25,7 @@ BuildRequires: automake BuildRequires: gcc BuildRequires: freetype-devel BuildRequires: libpng-devel +BuildRequires: openssl-devel BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(lept) @@ -22,12 +34,12 @@ BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(tesseract) +BuildRequires: protobuf-c-devel BuildRequires: utf8proc-devel BuildRequires: zlib-devel # Unbundle! Provides: bundled(gpac) -Provides: bundled(protobuf-c) Provides: bundled(zvbi) %description @@ -35,8 +47,14 @@ CCExtractor is a tool used to produce subtitles for TV recordings from almost anywhere in the world. We intend to keep up with all sources and formats. %prep +%if 0%{?tag:1} %autosetup -p1 +%else +%autosetup -p1 -n %{name}-%{commit0} +%endif + rm -fr src/{freetype,libpng,utf8proc,zlib} +rm -fr OpenBSD mac windows %build cd linux @@ -60,6 +78,24 @@ cd linux %{_bindir}/%{name} %changelog +* Fri Sep 24 2021 Simone Caronni <negativo17@gmail.com> - 0.93-1 +- Update to 0.93. + +* Wed Jul 21 2021 Simone Caronni <negativo17@gmail.com> - 0.90-1 +- Update to 0.90. + +* Sun Jun 20 2021 Simone Caronni <negativo17@gmail.com> - 0.89-4 +- Update to final 0.89. + +* Thu May 27 2021 Simone Caronni <negativo17@gmail.com> - 0.89-3.20210527git67e15aa +- Update to latest snapshot. + +* Fri Mar 26 2021 Simone Caronni <negativo17@gmail.com> - 0.89-2.20210325git19da837 +- Update to latest snapshot. + +* Thu Jul 16 2020 Simone Caronni <negativo17@gmail.com> - 0.89-1.20200508git33eccce +- Update to latest snapshot. + * Sun Jun 16 2019 Simone Caronni <negativo17@gmail.com> - 0.88-1 - Update to 0.88. |