]> git.pld-linux.org Git - packages/mp4v2.git/blobdiff - mp4v2.spec
- fix -Wformat-security errors
[packages/mp4v2.git] / mp4v2.spec
index a3f3b1a15c04700392bf4fe1be180e88955bde13..cba06303e8ffe9e6084c21825a7b94b57f59671a 100644 (file)
@@ -1,27 +1,40 @@
-Summary:       MP4v2 library provides api for creation and modification of MP4 files
+# TODO
+# - 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:       0.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
+Patch0:                format-security.patch
 URL:           http://code.google.com/p/mp4v2/
 BuildRequires: libstdc++-devel
+Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The MP4v2 library provides an API to create and modify mp4 files as
+The MP4v2 library provides an API to create and modify MP4 files as
 defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is
 derived from Apple's QuickTime file format that has been used as a
 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.
@@ -36,6 +49,7 @@ This package contains static version of MP4v2.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -50,8 +64,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)
@@ -65,9 +79,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)
This page took 0.028853 seconds and 4 git commands to generate.