Split -devel, run ldconfig, fix *.so modes, improve description.

epel8
Ville Skyttä 20 years ago
parent 1c66f50cb7
commit f5689c0f50

@ -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ä <ville.skytta at iki.fi> - 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 <katzj@redhat.com> - 0.7.7-1
- update to 0.7.7 (fixes x86_64 build)
- include shared libs

Loading…
Cancel
Save