From 71a1a3f411370a33390186e680b733115fb7e931 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Sun, 8 Oct 2017 22:24:26 +0200 Subject: [PATCH 01/11] Initial import (#1497539). --- .gitignore | 1 + README.md | 3 --- sources | 1 + vid.stab.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 sources create mode 100644 vid.stab.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c1f6cb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vid.stab-afc8ea9.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index c77dc26..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# vid.stab - -The vid.stab package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..357ad51 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (vid.stab-afc8ea9.tar.gz) = 4c80de3d58e4e548b292bd25bc2c1df2181454a0f919c6d0cecc184461e8d1ecc2f2cefc9f5963cb742724099a1f560ccb659f7daf064e60d9f706687f948807 diff --git a/vid.stab.spec b/vid.stab.spec new file mode 100644 index 0000000..1580e29 --- /dev/null +++ b/vid.stab.spec @@ -0,0 +1,70 @@ +# https://github.com/georgmartius/vid.stab/commit/afc8ea9fb0632e0cdf781725a770edb1de788fed +%global commit afc8ea9fb0632e0cdf781725a770edb1de788fed +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20170830 + +Name: vid.stab +Version: 1.1 +Release: 2.%{commitdate}git%{shortcommit}%{?dist} +Summary: Video stabilize library for fmpeg, mlt or transcode +License: GPLv3 +URL: http://public.hronopik.de/vid.stab +Source0: https://github.com/georgmartius/vid.stab/archive/%{commit}/%{name}-%{shortcommit}.tar.gz + +BuildRequires: cmake +BuildRequires: orc-devel +Requires: glibc + +%description +Vidstab is a video stabilization library which can be plugged-in with Ffmpeg +and Transcode. + +%package devel +Summary: Development files for vid.stab +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the development files (library and header files). + +%prep +%setup -q -n %{name}-%{commit} +# remove SSE2 flags +sed -i 's|-DUSE_SSE2 -msse2||' tests/CMakeLists.txt +# use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons. +sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c + +%build +%cmake . +%make_build + +# build the tests program +pushd tests +%cmake . +%make_build +popd + +%install +%make_install + +%check +LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : + +%post -n %{name} -p /sbin/ldconfig +%postun -n %{name} -p /sbin/ldconfig + +%files +%doc README.md +%license LICENSE +%{_libdir}/libvidstab.so.* + +%files devel +%{_includedir}/vid.stab/ +%{_libdir}/libvidstab.so +%{_libdir}/pkgconfig/vidstab.pc + +%changelog +* Sun Oct 01 2017 Martin Gansser - 1.1-2.20170830gitafc8ea9 +- use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons + +* Sat Sep 30 2017 Martin Gansser - 1.1-1.20170830gitafc8ea9 +- Initial build rpm From e4e16ca6b72d3be830acc687a9d995434effcabf Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Sun, 8 Oct 2017 22:26:54 +0200 Subject: [PATCH 02/11] Initial import (#1497539). --- vid.stab.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vid.stab.spec b/vid.stab.spec index 1580e29..a44c361 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,9 +5,9 @@ Name: vid.stab Version: 1.1 -Release: 2.%{commitdate}git%{shortcommit}%{?dist} +Release: 3.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode -License: GPLv3 +License: GPLv2+ URL: http://public.hronopik.de/vid.stab Source0: https://github.com/georgmartius/vid.stab/archive/%{commit}/%{name}-%{shortcommit}.tar.gz @@ -30,6 +30,8 @@ This package contains the development files (library and header files). %setup -q -n %{name}-%{commit} # remove SSE2 flags sed -i 's|-DUSE_SSE2 -msse2||' tests/CMakeLists.txt +# fxi warning _FORTIFY_SOURCE requires compiling with optimization (-O) +sed -i 's|-Wall -O0|-Wall -O|' tests/CMakeLists.txt # use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons. sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c @@ -63,6 +65,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Wed Oct 04 2017 Martin Gansser - 1.1-3.20170830gitafc8ea9 +- change license tag to GPLv2 +- fix warning _FORTIFY_SOURCE requires compiling with optimization (-O) + * Sun Oct 01 2017 Martin Gansser - 1.1-2.20170830gitafc8ea9 - use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons From b06296a4ee0744ad37cc3b67ceb7d1af36dd733f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:28:47 +0000 Subject: [PATCH 03/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vid.stab.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index a44c361..235fa0a 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1 -Release: 3.%{commitdate}git%{shortcommit}%{?dist} +Release: 4.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -65,6 +65,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.1-4.20170830gitafc8ea9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Oct 04 2017 Martin Gansser - 1.1-3.20170830gitafc8ea9 - change license tag to GPLv2 - fix warning _FORTIFY_SOURCE requires compiling with optimization (-O) From 92b1f674b24aaa8b5f3dde40a6cabf15d3dc9dec Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:53 +0200 Subject: [PATCH 04/11] add BuildRequires: gcc-c++,gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- vid.stab.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vid.stab.spec b/vid.stab.spec index 235fa0a..f98fe8a 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -11,6 +11,8 @@ License: GPLv2+ URL: http://public.hronopik.de/vid.stab Source0: https://github.com/georgmartius/vid.stab/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: orc-devel Requires: glibc From 47effc7d7006bf49c7f2ce18d73eb1fa8f5c2553 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:31:22 +0000 Subject: [PATCH 05/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vid.stab.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index f98fe8a..0ab5a7d 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1 -Release: 4.%{commitdate}git%{shortcommit}%{?dist} +Release: 5.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -67,6 +67,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.1-5.20170830gitafc8ea9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.1-4.20170830gitafc8ea9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 9aa174a5150bfb2dc340e341b2d1d431ea66cc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sun, 30 Sep 2018 01:26:31 +0100 Subject: [PATCH 06/11] Fix version number and update the source code --- .gitignore | 1 + README.md | 3 +++ sources | 2 +- vid.stab.spec | 13 ++++++++----- 4 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 README.md diff --git a/.gitignore b/.gitignore index 5c1f6cb..fc8c0bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vid.stab-afc8ea9.tar.gz +/vid.stab-38ecbaf.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba0ac19 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# vid.stab package + +- Vidstab is a video stabilization library which can be plugged-in with Ffmpeg, MLT and Transcode. diff --git a/sources b/sources index 357ad51..8708dc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vid.stab-afc8ea9.tar.gz) = 4c80de3d58e4e548b292bd25bc2c1df2181454a0f919c6d0cecc184461e8d1ecc2f2cefc9f5963cb742724099a1f560ccb659f7daf064e60d9f706687f948807 +SHA512 (vid.stab-38ecbaf.tar.gz) = 108daf140905c3e4c2b20faf31f4fc7b4f3c1e597c448726e2ea1c022248b62b8b6e1304ca383762bf9f6f4c17197c712250877fc66e027bbf4d4373249f9e46 diff --git a/vid.stab.spec b/vid.stab.spec index 0ab5a7d..f1a4ce8 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -1,11 +1,11 @@ -# https://github.com/georgmartius/vid.stab/commit/afc8ea9fb0632e0cdf781725a770edb1de788fed -%global commit afc8ea9fb0632e0cdf781725a770edb1de788fed +# https://github.com/georgmartius/vid.stab/commit/38ecbaf8ece45edd907994660ecd50f0db817b98 +%global commit 38ecbaf8ece45edd907994660ecd50f0db817b98 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20170830 +%global commitdate 20180529 Name: vid.stab -Version: 1.1 -Release: 5.%{commitdate}git%{shortcommit}%{?dist} +Version: 1.1.0 +Release: 1.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -67,6 +67,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Sat Sep 29 2018 Sérgio Basto - 1.1.0-1.20180529git38ecbaf +- Fix version number and update the source code + * Sat Jul 14 2018 Fedora Release Engineering - 1.1-5.20170830gitafc8ea9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From b680b17866a95a41ea0c806a1dd109957fe63668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Mon, 1 Oct 2018 04:38:21 +0100 Subject: [PATCH 07/11] Obsoletes: vid.stab-libs --- vid.stab.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index f1a4ce8..ebde591 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1.0 -Release: 1.%{commitdate}git%{shortcommit}%{?dist} +Release: 9.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -16,6 +16,9 @@ BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: orc-devel Requires: glibc +#To be removed more or less in Fedora 32 +Provides: %{name}-libs = %{version}-%{release} +Obsoletes: %{name}-libs < %{version}-%{release} %description Vidstab is a video stabilization library which can be plugged-in with Ffmpeg @@ -67,6 +70,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Mon Oct 01 2018 Sérgio Basto - 1.1.0-9.20180529git38ecbaf +- Obsoletes: vid.stab-libs + * Sat Sep 29 2018 Sérgio Basto - 1.1.0-1.20180529git38ecbaf - Fix version number and update the source code From e72eb6c4d581543c312a80008a95baa28f32ac49 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:17 +0100 Subject: [PATCH 08/11] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- vid.stab.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vid.stab.spec b/vid.stab.spec index ebde591..2a509e0 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -56,8 +56,7 @@ popd %check LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : -%post -n %{name} -p /sbin/ldconfig -%postun -n %{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{name} %files %doc README.md From 44d3e2cc25912b01ab756031f7afc3453b0100fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:15:24 +0000 Subject: [PATCH 09/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vid.stab.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index 2a509e0..54e6013 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1.0 -Release: 9.%{commitdate}git%{shortcommit}%{?dist} +Release: 10.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -69,6 +69,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.1.0-10.20180529git38ecbaf +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Oct 01 2018 Sérgio Basto - 1.1.0-9.20180529git38ecbaf - Obsoletes: vid.stab-libs From e86fc4709897c7fe4b85434ab69867aa6dfe099e Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Thu, 18 Jul 2019 09:31:00 +0200 Subject: [PATCH 10/11] Update to 1.1.0-11.20190213gitaeabc8d --- .gitignore | 1 + sources | 2 +- vid.stab.spec | 11 +++++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fc8c0bb..2aa4f27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /vid.stab-afc8ea9.tar.gz /vid.stab-38ecbaf.tar.gz +/vid.stab-aeabc8d.tar.gz diff --git a/sources b/sources index 8708dc8..d483fe4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vid.stab-38ecbaf.tar.gz) = 108daf140905c3e4c2b20faf31f4fc7b4f3c1e597c448726e2ea1c022248b62b8b6e1304ca383762bf9f6f4c17197c712250877fc66e027bbf4d4373249f9e46 +SHA512 (vid.stab-aeabc8d.tar.gz) = 9b0b802eb5a0ec1253bfec392b868b6d7e92c59f112da58aa3ea3b09871b2373614bf4a55b510c9360b51af0d18eff2eeaf2a51c17547ebcf2b0b0b036665b81 diff --git a/vid.stab.spec b/vid.stab.spec index 54e6013..48e9677 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -1,11 +1,11 @@ -# https://github.com/georgmartius/vid.stab/commit/38ecbaf8ece45edd907994660ecd50f0db817b98 -%global commit 38ecbaf8ece45edd907994660ecd50f0db817b98 +# https://github.com/georgmartius/vid.stab/commit/aeabc8daa7904f9edf7441a11f293965a5ef53b8 +%global commit aeabc8daa7904f9edf7441a11f293965a5ef53b8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20180529 +%global commitdate 20190213 Name: vid.stab Version: 1.1.0 -Release: 10.%{commitdate}git%{shortcommit}%{?dist} +Release: 11.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -69,6 +69,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Sun Feb 03 2019 Martin Gansser - 1.1.0-11.20190213gitaeabc8d +- Update to 1.1.0-11.20190213gitaeabc8d + * Sun Feb 03 2019 Fedora Release Engineering - 1.1.0-10.20180529git38ecbaf - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From af490026513f9e487210a9718f40c1c1ce179907 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:57:29 +0000 Subject: [PATCH 11/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vid.stab.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vid.stab.spec b/vid.stab.spec index 48e9677..3daca59 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -5,7 +5,7 @@ Name: vid.stab Version: 1.1.0 -Release: 11.%{commitdate}git%{shortcommit}%{?dist} +Release: 12.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -69,6 +69,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 1.1.0-12.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Martin Gansser - 1.1.0-11.20190213gitaeabc8d - Update to 1.1.0-11.20190213gitaeabc8d