Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 67814ef35c08a462e37b19921c170ef4 > files > 2

libebml-0.7.8-3mdv2010.0.src.rpm

%define name    libebml
%define version 0.7.8
%define major 0
%define libname %mklibname ebml %{major}
%define develname %mklibname ebml -d
%define rel 3
#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:        Extensible Binary Meta Language Library
Name:           %name
Version:        %version
Release: %mkrel %rel
License:        LGPLv2+
Group:		System/Libraries
URL:            http://www.matroska.org/
Source0:        http://dl.matroska.org/downloads/libebml/%name-%version.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This library is used for I/O operations in the Extensible Binary Meta
Language (EBML), which is a kind of binary version of XML.

%package -n %{libname}
Summary:        Extensible Binary Meta Language shared Library
Group: System/Libraries

%description -n %{libname}
This library is used for I/O operations in the Extensible Binary Meta
Language (EBML), which is a kind of binary version of XML.

%package -n %{develname}
Group: Development/C++
Summary: Extensible Binary Meta Language Library headers and static library
Provides: libebml-devel = %version
Requires: %{libname} = %version
Obsoletes: %{libname}-devel

%description -n %{develname}
This library is used for I/O operations in the Extensible Binary Meta
Language (EBML), which is a kind of binary version of XML.

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

%prep
%setup -q

%build
cd make/linux
%make


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

%clean
rm -rf %buildroot

%if %mdkversion < 200900
%post -n %libname -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libname -p /sbin/ldconfig
%endif

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

%files -n %{develname}
%defattr(-,root,root)
%doc LICENSE*
#%doc src/api/index.html
%{_includedir}/ebml
%{_libdir}/libebml.a
%{_libdir}/libebml.so




%changelog
* Tue Aug 26 2008 Emmanuel Andry <eandry@mandriva.org> 0.7.8-3mdv2009.0
+ Revision: 276359
- apply devel policy
- fix license
- check major

* Fri Jul 11 2008 Oden Eriksson <oeriksson@mandriva.com> 0.7.8-2mdv2009.0
+ Revision: 233729
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Wed Mar 05 2008 Götz Waschk <waschk@mandriva.org> 0.7.8-1mdv2008.1
+ Revision: 180077
- new version

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.7.7-1mdv2008.1
+ Revision: 140921
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 0.7.7-1mdv2007.0
+ Revision: 108690
- Import libebml

* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 0.7.7-1mdv2007.1
- rebuild

* Mon Apr 03 2006 Götz Waschk <waschk@mandriva.org> 0.7.7-1mdk
- New release 0.7.7

* Wed Oct 19 2005 Götz Waschk <waschk@mandriva.org> 0.7.6-1mdk
- New release 0.7.6

* Thu Jun 09 2005 Götz Waschk <waschk@mandriva.org> 0.7.5-2mdk
- mkrel

* Tue May 24 2005 Götz Waschk <waschk@mandriva.org> 0.7.5-1mdk
- New release 0.7.5

* Tue Apr 19 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7.4-1mdk
- libify
- New release 0.7.4

* Mon Feb 07 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.7.3-1mdk
- 0.7.3

* Tue Nov 09 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-1mdk
- New release 0.7.2

* Mon Jul 26 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.1-1mdk
- fix source URL
- New release 0.7.1

* Tue Jun 08 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.0-2mdk
- rebuild for new g++

* Sat Apr 24 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.0-1mdk
- new version

* Sat Apr 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6.5-1mdk
- new version

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