Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > 286500647272cf3e70c8d7dd2a71676f > files > 2

libmatroska-0.7.7-2mdk.src.rpm

%define name    libmatroska
%define version 0.7.7
%define ebmlver 0.7.2
%define libname %mklibname matroska 0
%define rel 2
#fixed2
%{?!mkrel:%define mkrel(c:) %{-c: 0.%{-c*}.}%{!?_with_unstable:%(perl -e '$_="%{1}";m/(.\*\\D\+)?(\\d+)$/;$rel=${2}-1;re;print "$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo $[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}}

Summary:        Matroska Audio/Video file format library
Name:           %name
Version:        %version
Release: %mkrel %rel
License:        GPL/QPL
Group:		System/Libraries
URL:            http://www.matroska.org/
Source0:        http://dl.matroska.org/downloads/libmatroska/%name-%version.tar.bz2
BuildRoot:      %_tmppath/%name-buildroot
BuildRequires:  libebml-devel >= %ebmlver

%description
In short, matroska is a new Audio/Video file format. It is an advanced
and full featured format.

Advanced because it is based on EBML, a kind of XML equivalent, that
allow infinite extensibility of the format. And full featured because
it includes precise seeking, any audio/video/subtitle codec support
including VCM/ACM/DirectShow compatibility, timecode based format,
complex frame dependencies, chaptering, internationalisation, error
protection, tagging, file attachement, control track (to be defined),
menu (to be defined), etc. All these features are not yet implemented
but already defined in the format.

%package -n %libname
Summary:        Matroska Audio/Video file format shared library
Group: System/Libraries

%description -n %libname
In short, matroska is a new Audio/Video file format. It is an advanced
and full featured format.

Advanced because it is based on EBML, a kind of XML equivalent, that
allow infinite extensibility of the format. And full featured because
it includes precise seeking, any audio/video/subtitle codec support
including VCM/ACM/DirectShow compatibility, timecode based format,
complex frame dependencies, chaptering, internationalisation, error
protection, tagging, file attachement, control track (to be defined),
menu (to be defined), etc. All these features are not yet implemented
but already defined in the format.

%package -n %libname-devel
Group: Development/C++
Summary: Matroska Audio/Video file format headers and static library
Requires: %libname = %version
Provides: libmatroska-devel = %version-%release
Obsoletes: libmatroska-devel

%description -n %libname-devel
In short, matroska is a new Audio/Video file format. It is an advanced
and full featured format.

Advanced because it is based on EBML, a kind of XML equivalent, that
allow infinite extensibility of the format. And full featured because
it includes precise seeking, any audio/video/subtitle codec support
including VCM/ACM/DirectShow compatibility, timecode based format,
complex frame dependencies, chaptering, internationalisation, error
protection, tagging, file attachement, control track (to be defined),
menu (to be defined), etc. All these features are not yet implemented
but already defined in the format.

This package contains the C++ headers and the static library needed
for development with Matroska.

%prep
%setup -q
chmod 644 LICENSE*

%build
cd make/linux
%make


%install
rm -rf %buildroot
cd make/linux
%makeinstall_std prefix=%buildroot/%_prefix libdir=%buildroot/%_libdir

%clean
rm -rf %buildroot

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%files -n %libname
%defattr(-,root,root)
%_libdir/lib*.so.*

%files -n %libname-devel
%defattr(-,root,root)
%doc LICENSE*
%{_includedir}/matroska
%{_libdir}/lib*.a
%{_libdir}/lib*.so

%changelog
* Wed Jun  8 2005 Götz Waschk <waschk@mandriva.org> 0.7.7-2mdk
- mkrel

* Mon May 23 2005 Götz Waschk <waschk@mandriva.org> 0.7.7-1mdk
- New release 0.7.7

* Mon Apr 18 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7.6-1mdk
- libify
- New release 0.7.6

* Mon Feb  7 2005 Goetz Waschk <waschk@linux-mandrake.com> 0.7.5-1mdk
- New release 0.7.5

* Tue Nov  9 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.4-1mdk
- requires new libebml
- new version

* Mon Aug 23 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.7.3-1mdk
- New release 0.7.3

* Sun Jul 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-2mdk
- drop patch
- fix source URL
- new version

* Mon Jun  7 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.0-2mdk
- disable tests for now
- rebuild for new g++

* Fri Apr 23 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.0-1mdk
- requires new ebml
- new version

* Fri Apr  2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6.3-2mdk
- new ebml

* Thu Jan 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6.3-1mdk
- require new libebml
- new version

* Fri Jan  2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6.2-1mdk
- requires new libebml
- new version

* Wed Nov  5 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-1mdk
- new version

* Wed Sep 17 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.5.0-2mdk
- lib64 fixes

* Wed Aug 13 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5.0-1mdk
- fix doc list
- fix build
- drop patches
- new version

* Mon Jun 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.4-4mdk
- patch1: fix build with the new ebml package

* Sun Jun 29 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.4-3mdk
- move headers to the right dir

* Thu Jun 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.4-2mdk
- small patch to make it compile without installed libmatroska-devel 

* Thu Jun 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.4-1mdk
- new version

* Thu May 22 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.3-1mdk
- new version

* Mon May 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.2-1mdk
- requires latest ebml
- new version

* Mon May  5 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4.0-1mdk
- initial package