zvbi/zvbi.spec

127 lines
3.9 KiB
RPMSpec

Name: zvbi
Version: 0.2.38
Release: 1mamba
Summary: ZVBI provides routines to read from raw Vertical Blanking interval capture devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/zapping-vbi/zvbi
Source0: https://github.com/zapping-vbi/zvbi.git/v%{version}/zvbi-%{version}.tar.bz2
Patch0: zvbi-0.2.33-libpng-1.5.patch
Patch1: zvbi-0.2.33-glibc-2.17.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: pam
%description
The Zapping VBI (zvbi) library provides routines to read from raw Vertical Blanking Interval capture devices, to demodulate raw to sliced VBI data, and to interpret the data of several popular services. Basically, it offers all the functionality needed by a VBI application except for the UI.
ZVBI provides routines to read from raw Vertical Blanking interval capture devices.
%package -n libzvbi
Group: Development/Libraries
Summary: ZVBI provides routines to read from raw Vertical Blanking interval capture devices
%description -n libzvbi
ZVBI library provides routines to read from raw Vertical Blanking interval capture devices.
%package -n libzvbi-devel
Group: Development/Libraries
Summary: Static libraries and headers for lib%{name}
Requires: libzvbi = %{version}-%{release}
%description -n libzvbi-devel
ZVBI library provides routines to read from raw Vertical Blanking interval capture devices.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%{find_lang} %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/zvbi-atsc-cc
%{_bindir}/zvbi-chains
%{_bindir}/zvbi-ntsc-cc
%{_sbindir}/zvbid
%{_mandir}/man1/zvbi-atsc-cc.1.*
%{_mandir}/man1/zvbi-chains.1.*
%{_mandir}/man1/zvbid.1.*
%{_mandir}/man1/zvbi-ntsc-cc.1.*
%files -n libzvbi -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libzvbi.so.*
%{_libdir}/libzvbi-chains.so.*
%doc AUTHORS COPYING
%files -n libzvbi-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libzvbi.a
%{_libdir}/libzvbi.so
%{_libdir}/libzvbi-chains.a
%{_libdir}/libzvbi-chains.so
%{_libdir}/pkgconfig/*.pc
%doc BUGS ChangeLog INSTALL NEWS
%changelog
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 0.2.38-1mamba
- automatic version update by autodist
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.37-1mamba
- update to 0.2.37
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.35-2mamba
- rebuilt with debug package and aarch64 build fix
* Sun Jan 18 2015 Automatic Build System <autodist@mambasoft.it> 0.2.35-1mamba
- automatic version update by autodist
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.33-3mamba
- rebuild with patch against libpng 1.5 and glibc 2.17
* Fri May 08 2009 Automatic Build System <autodist@mambasoft.it> 0.2.33-2mamba
- automatic rebuild by autodist
* Tue Jan 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.33-1mamba
- automatic update by autodist
* Fri Jul 25 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.30-2mamba
- libzvbi: remove requirement for zvbi
- zvbi: remove static requirement for libzvbi
- removed devfs support
* Wed Jul 02 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.2.30-1mamba
- update to 0.2.30
* Wed May 18 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.2.15-1qilnx
- package created by autospec