[521] | 1 | Summary: Fast Assembly MPEG Encoding library |
---|
| 2 | Name: libfame |
---|
| 3 | Version: 0.9.1 |
---|
| 4 | Release: 7vl1 |
---|
| 5 | License: LGPL |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | URL: http://fame.sourceforge.net/ |
---|
| 8 | |
---|
| 9 | Source: http://dl.sf.net/fame/libfame-%{version}.tar.gz |
---|
| 10 | Patch0: libfame-0.9.1-fstrict-aliasing.patch |
---|
| 11 | Patch1: http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch |
---|
| 12 | Patch2: libfame-0.9.1-underquoted.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: autoconf, automake, libtool |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | A library for fast (real-time) MPEG video encoding, written in C and assembly. |
---|
| 19 | It currently allows encoding of fast MPEG-1 video, as well as MPEG-4 (OpenDivX |
---|
| 20 | compatible) rectangular and arbitrary shaped video. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Development files and static libraries for libfame |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version} |
---|
| 27 | |
---|
| 28 | %description devel |
---|
| 29 | A library for fast (real-time) MPEG video encoding, written in C and assembly. |
---|
| 30 | It currently allows encoding of fast MPEG-1 video, as well as MPEG-4 (OpenDivX |
---|
| 31 | compatible) rectangular and arbitrary shaped video. |
---|
| 32 | |
---|
| 33 | This package contains the files necessary to build programs that use the |
---|
| 34 | libfame library. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | %patch0 -p1 -b .fstrict-aliasing |
---|
| 40 | %patch1 -p1 -b .mmxone |
---|
| 41 | %patch2 -p1 -b .m4 |
---|
| 42 | ./autogen.sh |
---|
| 43 | |
---|
| 44 | # Fix lib stuff for lib64 |
---|
| 45 | perl -pi.orig -e 's|/lib"|/%{_lib}"|g' configure.in |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | # use a special MMX & SSE flags if you can use |
---|
| 50 | %ifarch i686 athlon k7 |
---|
| 51 | %configure --enable-sse --enable-mmx |
---|
| 52 | %else |
---|
| 53 | %configure --disable-mmx |
---|
| 54 | %endif |
---|
| 55 | make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf %{buildroot} |
---|
| 59 | %makeinstall LIBTOOL=/usr/bin/libtool |
---|
| 60 | |
---|
| 61 | # Workaround for direct <libfame/fame.h> includes (include/libfame -> .) |
---|
| 62 | #%{__ln_s} . %{buildroot}%{_includedir}/%{name} |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | rm -rf %{buildroot} |
---|
| 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | %postun -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %files |
---|
| 73 | %defattr(-, root, root, 0755) |
---|
| 74 | %doc AUTHORS BUGS CHANGES COPYING README TODO |
---|
| 75 | %{_libdir}/*.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-, root, root, 0755) |
---|
| 79 | %{_bindir}/%{name}-config |
---|
| 80 | %{_libdir}/*.a |
---|
| 81 | %exclude %{_libdir}/*.la |
---|
| 82 | %{_libdir}/*.so |
---|
| 83 | %{_includedir}/* |
---|
| 84 | %{_datadir}/aclocal/%{name}.m4 |
---|
| 85 | %{_mandir}/man3/* |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %changelog |
---|
| 89 | * Mon Sep 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.1-7vl1 |
---|
| 90 | - build for VineLinux |
---|
| 91 | |
---|
| 92 | * Sun Jun 5 2005 Matthias Saou <http://freshrpms.net/> 0.9.1-7 - 3283/thias |
---|
| 93 | - Make the underquoted patch apply to the .in file too, so it actually works. |
---|
| 94 | - Put ldconfig calls back as programs to have rpm's deps pick them up. |
---|
| 95 | |
---|
| 96 | * Thu May 5 2005 Matthias Saou <http://freshrpms.net/> 0.9.1-6 |
---|
| 97 | - Run plain "./autogen.sh" instead of autoreconf to avoid libm problem on |
---|
| 98 | x86_64 (weird one!). |
---|
| 99 | - Actually really apply the last patch too... |
---|
| 100 | |
---|
| 101 | * Sun May 1 2005 Matthias Saou <http://freshrpms.net/> 0.9.1-5 |
---|
| 102 | - Patch the m4 file to fix underquoted warning. |
---|
| 103 | |
---|
| 104 | * Thu Nov 4 2004 Matthias Saou <http://freshrpms.net/> 0.9.1-4 |
---|
| 105 | - Add libfame-0.9.1-gcc34-1.patch to fix "undefined symbol: _mmx_one". |
---|
| 106 | |
---|
| 107 | * Mon Oct 25 2004 Matthias Saou <http://freshrpms.net/> 0.9.1-3 |
---|
| 108 | - Add libfame-0.9.1-fstrict-aliasing.patch to actually make the lib work, |
---|
| 109 | thanks to Nicholas Miell. |
---|
| 110 | |
---|
| 111 | * Tue Aug 31 2004 Matthias Saou <http://freshrpms.net/> 0.9.1-2 |
---|
| 112 | - Add specially compiled MMX & SSE lib on x86. |
---|
| 113 | |
---|
| 114 | * Tue Feb 24 2004 Matthias Saou <http://freshrpms.net/> 0.9.1-1 |
---|
| 115 | - Update to 0.9.1. |
---|
| 116 | - Updated the Source URL. |
---|
| 117 | |
---|
| 118 | * Fri Dec 5 2003 Matthias Saou <http://freshrpms.net/> 0.9.0-4 |
---|
| 119 | - Added /usr/include/libfame -> . symlink as a workaround for MPlayer. |
---|
| 120 | |
---|
| 121 | * Fri Nov 7 2003 Matthias Saou <http://freshrpms.net/> 0.9.0-3 |
---|
| 122 | - Rebuild for Fedora Core 1. |
---|
| 123 | |
---|
| 124 | * Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/> |
---|
| 125 | - Rebuilt for Red Hat Linux 9. |
---|
| 126 | - Exclude .la files. |
---|
| 127 | |
---|
| 128 | * Mon Oct 28 2002 Matthias Saou <http://freshrpms.net/> |
---|
| 129 | - Spec file cleanup. |
---|
| 130 | |
---|
| 131 | * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org> |
---|
| 132 | - release 2 |
---|
| 133 | |
---|
| 134 | * Mon Jun 03 2002 Thomas Vander Stichele <thomas@apestaart.org> |
---|
| 135 | - adapted from PLD spec file for GStreamer packaging |
---|
| 136 | |
---|