automatic version update by autodist [release 1.3.2-1mamba;Sat Dec 01 2012]

This commit is contained in:
Automatic Build System 2024-01-06 06:14:45 +01:00
parent 8798004313
commit 917d77f457
3 changed files with 114 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# libxvidcore # libxvidcore
Free reimplementation of the OpenDivX video codec.
You can play OpenDivX and DivX4 videos with it, as well as encode compatible files.

96
libxvidcore.spec Normal file
View File

@ -0,0 +1,96 @@
Name: libxvidcore
Version: 1.3.2
Release: 1mamba
Summary: Free reimplementation of the OpenDivX video codec
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.xvid.org/
Source: http://downloads.xvid.org/downloads/xvidcore-%{version}.tar.bz2
Patch0: xvidcore-1.1.3-configure_fix_nasm.patch
License: GPL
BuildRequires: nasm
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Free reimplementation of the OpenDivX video codec.
You can play OpenDivX and DivX4 videos with it, as well as encode compatible files.
%package devel
Summary: Static library, headers and documentation of the XviD video codec
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}
%description devel
Free reimplementation of the OpenDivX video codec.
You can play OpenDivX and DivX4 videos with it, as well as encode compatible files.
This package contains the static library, header files and API documentation needed to build applications that will use the XviD video codec.
%prep
%setup -q -n xvidcore
#%patch0 -p1
%build
pushd build/generic
%configure
%make
popd
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall \
-C build/generic
# make a .so symlink to the so.x.x file
pushd %{buildroot}%{_libdir}
%{__ln_s} %{name}.so* %{name}.so
popd
# fixup strange shared library permissions
chmod 755 %{buildroot}%{_libdir}/*.so*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%doc AUTHORS ChangeLog LICENSE README TODO
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%doc CodingStyle examples/{README,cactus.pgm.bz2,*.c}
%changelog
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Mon Dec 01 2008 gil <puntogil@libero.it> 1.2.0-1mamba
- update to 1.2.0
- removed patch
* Thu May 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-1mamba
- update to 1.1.3
- changed package maintainer
* Mon Jun 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.1.0-1qilnx
- update to version 1.1.0 by autospec
* Sun Oct 03 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.1-2qilnx
- specfile modified to match QiLinux standards
- library name modified (was xvidcore)
* Tue Sep 14 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.0.1-1qilnx
- first build

View File

@ -0,0 +1,15 @@
diff -Nru xvidcore-1.1.3.orig/build/generic/configure xvidcore-1.1.3/build/generic/configure
--- xvidcore-1.1.3.orig/build/generic/configure 2007-06-28 17:27:27.000000000 +0200
+++ xvidcore-1.1.3/build/generic/configure 2008-05-22 12:50:32.000000000 +0200
@@ -4016,9 +4016,9 @@
if test "$ac_nasm" = "yes" ; then
echo "$as_me:$LINENO: checking for nasm patch version" >&5
echo $ECHO_N "checking for nasm patch version... $ECHO_C" >&6
- nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
+ nasm_patch=`($nasm_prog -r || $nasm_prog -v) | cut -d '.' -f 3 | cut -d ' ' -f 1`
if test -z $nasm_patch ; then
- nasm_patch=-1
+ nasm_patch=45
fi
echo "$as_me:$LINENO: result: $nasm_patch" >&5
echo "${ECHO_T}$nasm_patch" >&6