%define __strip %{_mingw32_strip} %define __objdump %{_mingw32_objdump} %define _use_internal_dependency_generator 0 %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} Summary: Library for working with files using the mp4 container format Name: mingw32-libmp4v2 Version: 1.5.0.1 Release: 6%{?dist} 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 # replace the bogus u_* int types Patch0: libmp4v2-mingw32-nonstdint.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: mingw32-filesystem >= 23 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils %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. %prep %setup -q -n libmp4v2-%{version} %patch0 -p1 %build %{_mingw32_configure} \ --disable-static \ --disable-dependency-tracking %{__make} -k %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} %{__rm} -rf %{buildroot}%{_mandir}/manm/ %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 %exclude %{_libdir}/*.la %{_libdir}/*.so %{_mandir}/man?/* %changelog * Thu May 28 2009 Zoltan Seress - 1.5.0.1-6 - Build for Windows - Source0 modified: added nonstdint.h - added mingw32-nonstdint.patch * Tue Feb 19 2008 Fedora Release Engineering - 1.5.0.1-6 - Autorebuild for GCC 4.3 * Wed Aug 22 2007 Matthias Saou 1.5.0.1-5 - Rebuild for new BuildID feature. * Sun Aug 5 2007 Matthias Saou 1.5.0.1-4 - Update License field. * Fri Dec 15 2006 Matthias Saou 1.5.0.1-3 - Spec file cleanup (habits, mostly) preparing to submit for Extras inclusion. * Fri Oct 06 2006 Thorsten Leemhuis 1.5.0.1-2 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Tue Jul 18 2006 Noa Resare 1.5.0.1-1 - new upstream release * Sat May 13 2006 Noa Resare 1.4.1-3 - disabled static lib - use DESTDIR - disable-dependency-tracking for faster builds - removed a manpage template file apt.mpt.gz * Mon May 08 2006 Noa Resare 1.4.1-2 - specfile cleanups * Fri May 05 2006 Noa Resare 1.4.1-1.lvn5 - initial release