package created using the webbuild interface [release 16.2_bugfix5-1mamba;Tue Sep 13 2022]
This commit is contained in:
parent
d6002df205
commit
baf6e6f054
@ -1,2 +1,4 @@
|
|||||||
# ajantv2
|
# ajantv2
|
||||||
|
|
||||||
|
AJA NTV2 Open Source Static Libs and Headers.
|
||||||
|
|
||||||
|
88
ajantv2.spec
Normal file
88
ajantv2.spec
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
%define gitver %(echo %version | tr _ -)
|
||||||
|
Name: ajantv2
|
||||||
|
Version: 16.2_bugfix5
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: AJA NTV2 Open Source Static Libs and Headers
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/aja-video/ntv2
|
||||||
|
Source: https://github.com/aja-video/ntv2.git/v%{gitver}/ntv2-%{version}.tar.bz2
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
AJA NTV2 Open Source Static Libs and Headers.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
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}
|
||||||
|
## note: you can add this requirement if .pc files are provided by this package
|
||||||
|
#Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ntv2-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build \
|
||||||
|
-DAJA_BUILD_OPENSOURCE=ON \
|
||||||
|
-DAJA_BUILD_APPS=ON \
|
||||||
|
-DAJA_BUILD_SHARED=ON \
|
||||||
|
-DAJA_INSTALL_HEADERS=ON
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libajantv2_.so
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/ajadriver
|
||||||
|
%{_includedir}/ajadriver/*.h
|
||||||
|
%dir %{_includedir}/ajadriver/linux
|
||||||
|
%{_includedir}/ajadriver/linux/*.h
|
||||||
|
%dir %{_includedir}/ajalibraries
|
||||||
|
%{_includedir}/ajalibraries/*
|
||||||
|
%{_libdir}/libajantv2.a
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 16.2_bugfix5-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user