summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2011-08-17 22:06:13 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit693f2212928a864860e16de1d206202deec38a35 (patch)
treef0641348372fa835691ed0af3780db5a59074f77
parent13d1948b17130a5c2012ae4a7aea4954198d3243 (diff)
downloadmp4v2-693f2212928a864860e16de1d206202deec38a35.zip
mp4v2-693f2212928a864860e16de1d206202deec38a35.tar.gz
- -libs split, verbose files, track sonameauto/th/mp4v2-1_9_1-2
Changed files: mp4v2.spec -> 1.5
-rw-r--r--mp4v2.spec32
1 files changed, 24 insertions, 8 deletions
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)