Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main-src > by-pkgid > 66a97b70279a2318fd98cbe6397f6cb0 > files > 2

libmp4v2-1.5.0.1-1ark.src.rpm

Summary: Library for working with files using the mp4 container format
Name: libmp4v2
Version: 1.5.0.1
Release: 1ark
License: MPLv1.1
Group: System Environment/Libraries
URL: http://resare.com/libmp4v2/
Source0: http://resare.com/libmp4v2/dist/libmp4v2-%{version}.tar.bz2
# Only here to be in the source package, "just in case, and FYI"
Source1: http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
The libmp4v2 library provides an abstraction layer for working with files
using the mp4 container format. This library is developed by mpeg4ip project
and is an exact copy of the library distributed in the mpeg4ip package.


%package devel
Summary: Development files for the mp4v2 library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Development files and documentation needed to develop and compile programs
using the libmp4v2 library.


%package static
Summary: Files needed to link statically to the mp4v2 library
Group: Development/Libraries
Requires: %name-devel = %version-%release

%description static
Files needed to link statically to the mp4v2 library


%prep
%setup -q

%build
%configure
make %?_smp_mflags


%install
rm -rf %buildroot
make %?_smp_mflags install DESTDIR=%buildroot
rm -rf %buildroot%_mandir/manm
rm -rf %buildroot%_libdir/*.la

%clean
rm -rf %buildroot

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,0755)
%doc COPYING
%_bindir/*
%_libdir/*.so*

%files devel
%defattr(-,root,root,0755)
%doc README TODO INTERNALS API_CHANGES
%_includedir/*.h
%_mandir/man?/*

%files static
%_libdir/*.a


%changelog
* Fri Feb 27 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.5.0.1-1ark
- Initial separate package