libcrystalhd/libcrystalhd.spec

85 lines
2.6 KiB
RPMSpec

Name: libcrystalhd
Version: 3.10.0.20210130git
Release: 1mamba
Summary: Broadcom Crystal HD device interface library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.broadcom.com/support/crystal_hd/
Source: https://github.com/agx/libcrystalhd.git/master/libcrystalhd-%{version}.tar.bz2
#Source: git://linuxtv.org/jarod/crystalhd.git/master/crystalhd-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
BuildRequires: autoconf
BuildRequires: automake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The libcrystalhd library provides userspace access to Broadcom Crystal HD video decoder devices. The device supports hardware decoding of MPEG-2, h.264 and VC1 video codecs, up to 1080p at 40fps for the first-generation bcm970012 hardware, and up to 1080p at 60fps for the second-generation bcm970015 hardware.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Broadcom Crystal HD device interface library.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall LIBDIR=%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcrystalhd.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libcrystalhd
%{_includedir}/libcrystalhd/*.h
%{_libdir}/libcrystalhd.so
%{_libdir}/libcrystalhd.la
%{_libdir}/pkgconfig/libcrystalhd.pc
%changelog
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.0.20210130-1mamba
- update to 3.10.0.20210130git
* Wed Jul 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.0.20130731git-1mamba
- update to 3.10.0.20130731git
* Mon Oct 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.9.20100703-2mamba
- fixed built with gcc 4.7
* Fri Mar 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.9.20100703-1mamba
- update to 3.6.9.20100307
- added patch from http://expresskeys.ruivo.org/cgi-bin/gitweb.cgi?p=crystalhd.git to fix build with ffmpeg 0.8.10
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.1-2mamba
- rebuilt in devel
* Mon Mar 07 2011 gil <puntogil@libero.it> 3.5.1-1mamba
- package created by autospec