From 6cd31dd58a585b3b9d7f5d3919d57938021c2013 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:05:41 +0100 Subject: [PATCH] update to 0.5.1 [release 0.5.1-1mamba;Sun Nov 06 2011] --- README.md | 2 + libmpeg2.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 libmpeg2.spec diff --git a/README.md b/README.md index ddc8a59..dbb0886 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmpeg2 +A free library for decoding MPEG-2 and MPEG-1 video streams. + diff --git a/libmpeg2.spec b/libmpeg2.spec new file mode 100644 index 0000000..a77e0af --- /dev/null +++ b/libmpeg2.spec @@ -0,0 +1,106 @@ +Name: libmpeg2 +Version: 0.5.1 +Release: 1mamba +Summary: MPEG-2 and MPEG-1 decoding library and test program +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libmpeg2.sourceforge.net/ +Source: http://libmpeg2.sourceforge.net/files/libmpeg2-%{version}.tar.gz +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. + +This package contains files needed to build applications that use mpeg2dec's +libmpeg2. + +%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. + +%prep +%setup -q + +%build +#./bootstrap +%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) +%{_libdir}/*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-, root, root) +%dir %{_includedir}/mpeg2dec/ +%{_includedir}/mpeg2dec/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/* +%doc doc/*.txt doc/*.c +%doc NEWS README TODO + +%files -n mpeg2dec +%defattr(-, root, root) +%{_bindir}/* +%{_mandir}/man1/* + +%changelog +* Sun Nov 06 2011 Silvan Calarco 0.5.1-1mamba +- update to 0.5.1 + +* Sun Nov 06 2011 Silvan Calarco 0.4.1-2mamba +- removed requirement for autoconf + +* Sun Jun 01 2008 Silvan Calarco 0.4.1-1mamba +- update to 0.4.1 + +* Wed Jun 29 2005 Davide Madrisan 0.4.0-3qilnx +- own %{_includedir}/mpeg2dec +- fixed package group +- use rpm macros for building/installing + +* Fri Jun 10 2005 Alessandro Ramazzina 0.4.0-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Fri Jun 10 2005 Matteo Bernasconi 0.4.0-1qilnx +- first build