update to 0.5.1 [release 0.5.1-1mamba;Sun Nov 06 2011]

This commit is contained in:
Silvan Calarco 2024-01-06 05:05:41 +01:00
parent e852df0777
commit 6cd31dd58a
2 changed files with 108 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libmpeg2
A free library for decoding MPEG-2 and MPEG-1 video streams.

106
libmpeg2.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <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