From f5689c0f5081e55b8d54e1967e37c7e964cc4768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 5 Jun 2005 08:37:04 +0000 Subject: [PATCH] Split -devel, run ldconfig, fix *.so modes, improve description. --- libmatroska.spec | 45 +++++++++++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/libmatroska.spec b/libmatroska.spec index 2152cb3..9361721 100644 --- a/libmatroska.spec +++ b/libmatroska.spec @@ -1,22 +1,28 @@ -Summary: Open Audio/Video container format +Summary: Open audio/video container format library Name: libmatroska Version: 0.7.7 -Release: 1 +Release: 2 License: LGPL -Group: Development/Libraries +Group: System Environment/Libraries URL: http://matroska.org/ Source0: http://dl.matroska.org/downloads/libmatroska/libmatroska-%{version}.tar.bz2 -Provides: %{name}-devel = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) BuildRequires: libebml-devel >= 0.7.5 -Requires: libebml-devel >= 0.7.5 %description -An extensible open standard Audio/Video container format Matroska is -aiming to become the standard of Multimedia Container Formats one -day. It is based on EBML (Extensible Binary Meta Language), a kind of -binary version of XML. This way the significant advantages in terms of -future format extensibility +Matroska is an extensible open standard Audio/Video container. It +aims to become THE standard of multimedia container formats. Matroska +is usually found as .mkv files (matroska video) and .mka files +(matroska audio). + +%package devel +Summary: Matroska development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libebml-devel >= 0.7.5 + +%description devel +%{summary}. %prep @@ -31,21 +37,36 @@ CXXFLAGS="$RPM_OPT_FLAGS" make -C make/linux %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make -C make/linux \ prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir} install +chmod +x $RPM_BUILD_ROOT%{_libdir}/libmatroska.so* %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + %files %defattr(-,root,root,-) %doc ChangeLog LICENSE.LGPL -%{_includedir}/matroska +%{_libdir}/libmatroska.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/matroska/ %{_libdir}/libmatroska.a -%{_libdir}/libmatroska.so* +%{_libdir}/libmatroska.so %changelog +* Sun Jun 5 2005 Ville Skyttä - 0.7.7-2 +- Split development files into a devel subpackage. +- Run ldconfig at post (un)install time. +- Fix shared library file modes. +- Improve description. + * Wed May 25 2005 Jeremy Katz - 0.7.7-1 - update to 0.7.7 (fixes x86_64 build) - include shared libs