Takashi Iwai
b4128a2f79
Needed by libmlt OBS-URL: https://build.opensuse.org/request/show/258413 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vid_stab?expand=0&rev=1
58 lines
1.3 KiB
RPMSpec
58 lines
1.3 KiB
RPMSpec
%define soname 0_9
|
|
|
|
Name: vid_stab
|
|
Version: 0.98b
|
|
Release: 1
|
|
License: GPL-2.0+
|
|
Summary: Video stabilizer
|
|
Url: http://public.hronopik.de/vid.stab/
|
|
Group: Development/Libraries/C and C++
|
|
Source0: https://github.com/georgmartius/vid.stab/archive/release-0.98b.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkg-config
|
|
|
|
%description
|
|
Video stabilization library.
|
|
|
|
%package -n libvidstab%{soname}
|
|
Summary: A library to deshake video
|
|
Group: System/Libraries
|
|
|
|
%description -n libvidstab%{soname}
|
|
A library to deshake video.
|
|
|
|
%package -n libvidstab-devel
|
|
Summary: Development files for libvidstab%{soname}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libvidstab%{soname} = %{version}
|
|
|
|
%description -n libvidstab-devel
|
|
Development files for libvidstab%{soname}.
|
|
|
|
%prep
|
|
%setup -q -n vid.stab-release-%{version}
|
|
|
|
%build
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n libvidstab%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libvidstab%{soname} -p /sbin/ldconfig
|
|
|
|
%files -n libvidstab%{soname}
|
|
%defattr(0644, root, root, 0755)
|
|
%{_libdir}/libvidstab.so.*
|
|
|
|
%files -n libvidstab-devel
|
|
%defattr(0644, root, root, 0755)
|
|
%{_libdir}/libvidstab.so
|
|
%{_includedir}/vid.stab/
|
|
%{_libdir}/pkgconfig/vidstab.pc
|
|
|
|
%changelog
|