libxvidcore/libxvidcore.spec

105 lines
3.0 KiB
RPMSpec

Name: libxvidcore
Version: 1.3.7
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: https://downloads.xvid.com/downloads/xvidcore-%{version}.tar.gz
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
# 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 LICENSE
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%doc CodingStyle examples/{README,cactus.pgm.bz2,*.c}
%doc ChangeLog README TODO
%changelog
* Sun Feb 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.7-1mamba
- update to 1.3.7
* Sun Mar 18 2018 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic version update by autodist
* Fri Jul 03 2015 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Tue Jun 10 2014 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* 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