Compare commits

...

5 Commits
epel8 ... epel9

Author SHA1 Message Date
Sérgio M. Basto 2041f23bde EPEL 9 package sync with rawhide
3 years ago
Martin Gansser 23d2c259ac Update to 1.1.0-14.20201110gitf9166e9
3 years ago
Martin Gansser 3b2e01b6e7 Build EPEL9 package
3 years ago
Martin Gansser 16d4b4c591 Build EPEL9 package
3 years ago
Martin Gansser 1c70e0991e Build EPEL9 package
3 years ago

4
.gitignore vendored

@ -0,0 +1,4 @@
/vid.stab-afc8ea9.tar.gz
/vid.stab-38ecbaf.tar.gz
/vid.stab-aeabc8d.tar.gz
/vid.stab-f9166e9.tar.gz

@ -1,3 +1,3 @@
# vid.stab
# vid.stab package
The vid.stab package
- Vidstab is a video stabilization library which can be plugged-in with Ffmpeg, MLT and Transcode.

@ -0,0 +1 @@
SHA512 (vid.stab-f9166e9.tar.gz) = 6c4e81b79b37cac0d4c8abfb30b4436b54c7070283e9569d36f92dba2b901e7f8d836b08abc30acf6eb32c7711b8108555a170ab78f3da50fc418730fb8d0663

@ -0,0 +1,122 @@
%undefine __cmake_in_source_build
# https://github.com/georgmartius/vid.stab/commit/f9166e9b082242b622b5b456ef80cbdbd4042826
%global commit f9166e9b082242b622b5b456ef80cbdbd4042826
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20201110
Name: vid.stab
Version: 1.1.0
Release: 18.%{commitdate}git%{shortcommit}%{?dist}
Summary: Video stabilize library for fmpeg, mlt or transcode
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
#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
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
# 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
%build
%cmake
%cmake_build
# build the tests program
pushd tests
%cmake
%cmake_build
popd
%install
%cmake_install
%check
LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || :
%ldconfig_scriptlets -n %{name}
%files
%doc README.md
%license LICENSE
%{_libdir}/libvidstab.so.*
%files devel
%{_includedir}/vid.stab/
%{_libdir}/libvidstab.so
%{_libdir}/pkgconfig/vidstab.pc
%changelog
* Tue Dec 14 2021 Martin Gansser <martinkg@fedoraproject.org> - 1.1.0-18.20201110gitf9166e9
- Update to 1.1.0-18.20201110gitf9166e9
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-17.20190213gitaeabc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16.20190213gitaeabc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15.20190213gitaeabc8d
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Fix cmake build
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14.20190213gitaeabc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13.20190213gitaeabc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12.20190213gitaeabc8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.1.0-11.20190213gitaeabc8d
- Update to 1.1.0-11.20190213gitaeabc8d
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10.20180529git38ecbaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Oct 01 2018 Sérgio Basto <sergio@serjux.com> - 1.1.0-9.20180529git38ecbaf
- Obsoletes: vid.stab-libs
* Sat Sep 29 2018 Sérgio Basto <sergio@serjux.com> - 1.1.0-1.20180529git38ecbaf
- Fix version number and update the source code
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5.20170830gitafc8ea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4.20170830gitafc8ea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Oct 04 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.1-3.20170830gitafc8ea9
- change license tag to GPLv2
- fix warning _FORTIFY_SOURCE requires compiling with optimization (-O)
* Sun Oct 01 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.1-2.20170830gitafc8ea9
- use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons
* Sat Sep 30 2017 Martin Gansser <martinkg@fedoraproject.org> - 1.1-1.20170830gitafc8ea9
- Initial build rpm
Loading…
Cancel
Save