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 Name: libmatroska
Version: 0.7.7 Version: 0.7.7
Release: 1 Release: 2
License: LGPL License: LGPL
Group: Development/Libraries Group: System Environment/Libraries
URL: http://matroska.org/ URL: http://matroska.org/
Source0: http://dl.matroska.org/downloads/libmatroska/libmatroska-%{version}.tar.bz2 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
BuildRequires: libebml-devel >= 0.7.5 BuildRequires: libebml-devel >= 0.7.5
Requires: libebml-devel >= 0.7.5
%description %description
An extensible open standard Audio/Video container format Matroska is Matroska is an extensible open standard Audio/Video container. It
aiming to become the standard of Multimedia Container Formats one aims to become THE standard of multimedia container formats. Matroska
day. It is based on EBML (Extensible Binary Meta Language), a kind of is usually found as .mkv files (matroska video) and .mka files
binary version of XML. This way the significant advantages in terms of (matroska audio).
future format extensibility
%package devel
Summary: Matroska development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libebml-devel >= 0.7.5
%description devel
%{summary}.
%prep %prep
@ -31,21 +37,36 @@ CXXFLAGS="$RPM_OPT_FLAGS" make -C make/linux %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make -C make/linux \ make -C make/linux \
prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir} install prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir} install
chmod +x $RPM_BUILD_ROOT%{_libdir}/libmatroska.so*
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog LICENSE.LGPL %doc ChangeLog LICENSE.LGPL
%{_includedir}/matroska %{_libdir}/libmatroska.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/matroska/
%{_libdir}/libmatroska.a %{_libdir}/libmatroska.a
%{_libdir}/libmatroska.so* %{_libdir}/libmatroska.so
%changelog %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 * Wed May 25 2005 Jeremy Katz <katzj@redhat.com> - 0.7.7-1
- update to 0.7.7 (fixes x86_64 build) - update to 0.7.7 (fixes x86_64 build)
- include shared libs - include shared libs

Loading…
Cancel
Save