zvbi/zvbi.spec

119 lines
3.6 KiB
RPMSpec

Name: zvbi
Version: 0.2.33
Release: 3mamba
Summary: ZVBI provides routines to read from raw Vertical Blanking interval capture devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://freshmeat.net/projects/libzvbi
Source0: http://switch.dl.sourceforge.net/sourceforge/zapping/zvbi-%{version}.tar.bz2
Patch0: zvbi-0.2.33-libpng-1.5.patch
Patch1: zvbi-0.2.33-glibc-2.17.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-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 need for development.
%prep
%setup -q -n zvbi-%{version}
%patch0 -p1
%patch1 -p1
%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.la
%{_libdir}/libzvbi.so
%{_libdir}/libzvbi-chains.a
%{_libdir}/libzvbi-chains.la
%{_libdir}/libzvbi-chains.so
%{_libdir}/pkgconfig/*.pc
%doc BUGS ChangeLog INSTALL NEWS README TODO
%changelog
* 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