diff --git a/README.md b/README.md index 61d2558..6ab07d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # mp4v2 +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 accommodate practically any type of media. +MP4v2 was originally bundled with mpeg4ip library, but has been moved into its own maintained library due to a combination of the cessation of support of mpeg4ip and the usefulness of this library on its own. + diff --git a/mp4v2.spec b/mp4v2.spec new file mode 100644 index 0000000..d3dc719 --- /dev/null +++ b/mp4v2.spec @@ -0,0 +1,90 @@ +Name: mp4v2 +Version: 2.0.0 +Release: 1mamba +Summary: A library to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://code.google.com/p/mp4v2/ +Source: http://mp4v2.googlecode.com/files/mp4v2-%{version}.tar.bz2 +License: MPL 1.1 +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 mp4v2' to get the list of build requirements. +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +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 accommodate practically any type of media. +MP4v2 was originally bundled with mpeg4ip library, but has been moved into its own maintained library due to a combination of the cessation of support of mpeg4ip and the usefulness of this library on its own. + +%package -n lib%{name} +Group: System/Libraries +Summary: A library to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems + +%description -n lib%{name} +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 accommodate practically any type of media. +MP4v2 was originally bundled with mpeg4ip library, but has been moved into its own maintained library due to a combination of the cessation of support of mpeg4ip and the usefulness of this library on its own. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/mp4art +%{_bindir}/mp4chaps +%{_bindir}/mp4extract +%{_bindir}/mp4file +%{_bindir}/mp4info +%{_bindir}/mp4subtitle +%{_bindir}/mp4tags +%{_bindir}/mp4track +%{_bindir}/mp4trackdump +%{_mandir}/man1/mp4art.1* +%{_mandir}/man1/mp4file.1* +%{_mandir}/man1/mp4subtitle.1* +%{_mandir}/man1/mp4track.1* +%doc COPYING + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libmp4v2.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/mp4v2 +%{_includedir}/mp4v2/*.h +%{_libdir}/libmp4v2.a +%{_libdir}/libmp4v2.la +%{_libdir}/libmp4v2.so +%doc README + +%changelog +* Sat Mar 15 2014 Silvan Calarco 2.0.0-1mamba +- package created using the webbuild interface