vidstab/vidstab.spec

70 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: vidstab
Version: 1.1.1
Release: 1mamba
Summary: Video stabilization library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://public.hronopik.de/vid.stab/
Source: https://github.com/georgmartius/vid.stab.git/v%{version}/vid.stab-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Vidstab is a video stabilization library which can be plugged-in with Ffmpeg and Transcode.
%package -n lib%{name}
Group: System/Libraries
Summary: Video stabilization library
%description -n lib%{name}
Vidstab is a video stabilization library which can be plugged-in with Ffmpeg and Transcode.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q -n vid.stab-%{version}
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvidstab.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/vid.stab
%{_includedir}/vid.stab/*
%{_libdir}/libvidstab.so
%{_libdir}/pkgconfig/vidstab.pc
%doc README.md
%changelog
* Thu Jan 16 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- package created using the webbuild interface