From 693f2212928a864860e16de1d206202deec38a35 Mon Sep 17 00:00:00 2001 From: Elan Ruusamäe Date: Wed, 17 Aug 2011 22:06:13 +0000 Subject: - -libs split, verbose files, track soname Changed files: mp4v2.spec -> 1.5 diff --git a/mp4v2.spec b/mp4v2.spec index 8cf92fc..d554502 100644 --- a/mp4v2.spec +++ b/mp4v2.spec @@ -1,15 +1,16 @@ # TODO -# - drop mp4v2 lib from mpeg4ip +# - drop mp4v2 lib/progs from mpeg4ip Summary: MP4v2 library provides API for creation and modification of MP4 files Name: mp4v2 Version: 1.9.1 -Release: 1 +Release: 2 License: MPL v1.1 -Group: Libraries +Group: Applications/Multimedia Source0: http://mp4v2.googlecode.com/files/%{name}-%{version}.tar.bz2 # Source0-md5: 986701929ef15b03155ac4fb16444797 URL: http://code.google.com/p/mp4v2/ BuildRequires: libstdc++-devel +Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -20,10 +21,19 @@ multimedia file format in a variety of platforms and applications. It is a very powerful and extensible format that can accomodate practically any type of media. +%package libs +Summary: Header files for MP4v2 +Group: Libraries +Conflicts: mp4v2 < 1.9.1-2 + +%description libs +The libmp4v2 library provides an abstraction layer for working with +files using the mp4 container format. + %package devel Summary: Header files for MP4v2 Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} %description devel Header files for MP4v2. @@ -52,8 +62,8 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files %defattr(644,root,root,755) @@ -67,9 +77,15 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/mp4chaps %attr(755,root,root) %{_bindir}/mp4info %attr(755,root,root) %{_bindir}/mp4file +%{_mandir}/man1/mp4art.1* +%{_mandir}/man1/mp4file.1* +%{_mandir}/man1/mp4subtitle.1* +%{_mandir}/man1/mp4track.1* + +%files libs +%defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libmp4v2.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.? -%{_mandir}/man1/* +%attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.1 %files devel %defattr(644,root,root,755) -- cgit v0.10.2