2024-01-06 05:05:41 +01:00
|
|
|
Name: libmpeg2
|
|
|
|
Version: 0.5.1
|
2024-01-06 05:05:42 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:05:41 +01:00
|
|
|
Summary: MPEG-2 and MPEG-1 decoding library and test program
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://libmpeg2.sourceforge.net/
|
|
|
|
Source: http://libmpeg2.sourceforge.net/files/libmpeg2-%{version}.tar.gz
|
2024-01-06 05:05:42 +01:00
|
|
|
Patch0: libmpeg2-0.5.1-arm-disable-asm.patch
|
2024-01-06 05:05:41 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXv-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A free library for decoding MPEG-2 and MPEG-1 video streams.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for mpeg2dec's libmpeg2
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: mpeg2dec-devel
|
|
|
|
Obsoletes: mpeg2dec-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A free library for decoding MPEG-2 and MPEG-1 video streams.
|
2024-01-06 05:05:42 +01:00
|
|
|
This package contains files needed to build applications that use mpeg2dec's libmpeg2.
|
2024-01-06 05:05:41 +01:00
|
|
|
|
|
|
|
%package -n mpeg2dec
|
|
|
|
Summary: A tool for decoding MPEG-2 and MPEG-1 video streams.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mpeg2dec
|
|
|
|
A tool for decoding MPEG-2 and MPEG-1 video streams.
|
|
|
|
|
2024-01-06 05:05:42 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:05:41 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:05:42 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," .auto/config.sub
|
|
|
|
%ifarch arm
|
|
|
|
%patch0 -p1
|
|
|
|
./bootstrap
|
|
|
|
%endif
|
2024-01-06 05:05:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-shared
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2024-01-06 05:05:42 +01:00
|
|
|
%{_libdir}/libmpeg2.so.*
|
|
|
|
%{_libdir}/libmpeg2convert.so.*
|
2024-01-06 05:05:41 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_includedir}/mpeg2dec/
|
|
|
|
%{_includedir}/mpeg2dec/*.h
|
2024-01-06 05:05:42 +01:00
|
|
|
%{_libdir}/libmpeg2.a
|
|
|
|
%{_libdir}/libmpeg2.la
|
|
|
|
%{_libdir}/libmpeg2.so
|
|
|
|
%{_libdir}/libmpeg2convert.a
|
|
|
|
%{_libdir}/libmpeg2convert.la
|
|
|
|
%{_libdir}/libmpeg2convert.so
|
2024-01-06 05:05:41 +01:00
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%doc doc/*.txt doc/*.c
|
|
|
|
%doc NEWS README TODO
|
|
|
|
|
|
|
|
%files -n mpeg2dec
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:05:42 +01:00
|
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 05:05:41 +01:00
|
|
|
* Sun Nov 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- update to 0.5.1
|
|
|
|
|
|
|
|
* Sun Nov 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-2mamba
|
|
|
|
- removed requirement for autoconf
|
|
|
|
|
|
|
|
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
|
|
|
- update to 0.4.1
|
|
|
|
|
|
|
|
* Wed Jun 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.0-3qilnx
|
|
|
|
- own %{_includedir}/mpeg2dec
|
|
|
|
- fixed package group
|
|
|
|
- use rpm macros for building/installing
|
|
|
|
|
|
|
|
* Fri Jun 10 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.4.0-2qilnx
|
|
|
|
- rebuild and moved from devel-contrib repository to devel repository
|
|
|
|
|
|
|
|
* Fri Jun 10 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.4.0-1qilnx
|
|
|
|
- first build
|