Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL6
:
ffmpeg-0.11.x
>
libebml
> libebml.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libebml.spec of Package libebml
Summary: Extensible Binary Meta Language library Name: libebml Version: 1.0.0 Release: 1%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.matroska.org/ Source: http://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) %description Extensible Binary Meta Language access library A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML. %package devel Summary: Development files for the Extensible Binary Meta Language library Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Extensible Binary Meta Language access library A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML. This package contains the files required to rebuild applications which will use the Extensible Binary Meta Language library. %prep %setup -q sed -i 's/\r//' ChangeLog LICENSE.LGPL iconv -f ISO-8859-1 -t UTF-8 ChangeLog > ChangeLog.tmp touch -r ChangeLog ChangeLog.tmp mv ChangeLog.tmp ChangeLog %build CXXFLAGS="$RPM_OPT_FLAGS" make -C make/linux %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make -C make/linux \ prefix=$RPM_BUILD_ROOT%{_prefix} \ libdir=$RPM_BUILD_ROOT%{_libdir} \ INSTALL="install -p" \ install rm $RPM_BUILD_ROOT%{_libdir}/%{name}.a # Needed for proper stripping of the library (still in 0.7.6) chmod +x $RPM_BUILD_ROOT%{_libdir}/%{name}.so.* %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,0755) %doc ChangeLog LICENSE.LGPL %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root,0755) %{_includedir}/ebml/ %{_libdir}/%{name}.so %changelog