libdv/libdv.spec

118 lines
3.3 KiB
RPMSpec

Name: libdv
Version: 1.0.0
Release: 5mamba
Summary: A software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libdv.sourceforge.net/
Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz
Patch1: %{name}-1.0.0-pic.patch
Patch2: %{name}-1.0.0-gtk2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libpopt-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Quasar DV Codec (libdv) is a software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards.
DV is the encoding format used by consumer-grade digital camcorders.
%package devel
Summary: Devel files for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The Quasar DV Codec (libdv) is a software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards.
DV is the encoding format used by consumer-grade digital camcorders.
This package contains static libraries and header files needed for development.
%package -n dv
Summary: Basic tools to manipulate Digital Video streams
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n dv
Some basic programs to display and encode Digital Video streams.
%debug_package
%prep
%setup -q
%patch1 -p1
#%patch2 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./bootstrap
%build
#sh bootstrap
%configure \
--disable-gtk \
--with-pic
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdv.so.*
%doc AUTHORS COPYING COPYRIGHT
%files devel
%defattr(-,root,root)
%{_libdir}/libdv.a
%{_libdir}/libdv.la
%{_libdir}/libdv.so
%{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/%{name}.pc
%doc ChangeLog README NEWS TODO
%files -n dv
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%doc README.encoder README.dvconnect
%changelog
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-5mamba
- rebuilt with debug package, disable gtk2 frontend
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 1.0.0-4mamba
- automatic rebuild by autodist
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 1.0.0-3mamba
- automatic rebuild by autodist
* Sun May 17 2009 Automatic Build System <autodist@mambasoft.it> 1.0.0-2mamba
- automatic rebuild by autodist
* Sun May 13 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.0.0-1mamba
- update to 1.0.0
- binary files moved to the new package dv
* Thu Jun 08 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.104-1qilnx
- update to version 0.104 by autospec
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.103-2qilnx
- some specfile fixes
* Wed Sep 15 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.103-1qilnx
- new version build
* Fri Mar 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.101-1qilnx
- first build