[2392] | 1 | Summary: MPEG-4 Simple and Advanced Simple Profile codec |
---|
| 2 | Name: xvidcore |
---|
[4176] | 3 | Version: 1.3.2 |
---|
[2392] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source: http://downloads.xvid.org/downloads/%{name}-%{version}.tar.bz2 |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://www.xvid.org/ |
---|
[620] | 9 | |
---|
[2392] | 10 | BuildRequires: nasm >= 2.0 |
---|
[620] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | %description |
---|
[2392] | 15 | The Xvid video codec implements MPEG-4 Simple Profile and Advanced Simple |
---|
| 16 | Profile standards. It permits compressing and decompressing digital video |
---|
| 17 | in order to reduce the required bandwidth of video data for transmission |
---|
| 18 | over computer networks or efficient storage on CDs or DVDs. Due to its |
---|
| 19 | unrivalled quality Xvid has gained great popularity and is used in many |
---|
| 20 | other GPLed applications, like e.g. Transcode, MEncoder, MPlayer, Xine and |
---|
| 21 | many more. |
---|
[620] | 22 | |
---|
[2392] | 23 | %package devel |
---|
| 24 | Summary: Development files for the Xvid video codec |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
[620] | 27 | |
---|
[2392] | 28 | %description devel |
---|
[620] | 29 | This package contains header files, static library and API |
---|
[2392] | 30 | documentation for the Xvid video codec. |
---|
[620] | 31 | |
---|
[2392] | 32 | |
---|
[620] | 33 | %prep |
---|
| 34 | %setup -q -n %{name} |
---|
[2392] | 35 | chmod -x examples/*.pl |
---|
| 36 | f=AUTHORS ; iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f && touch -r $f $f.utf8 && mv $f.utf8 $f |
---|
| 37 | # Yes, we want to see the build output. |
---|
| 38 | %{__perl} -pi -e 's/^\t@(?!echo\b)/\t/' build/generic/Makefile |
---|
[620] | 39 | |
---|
[2392] | 40 | |
---|
[620] | 41 | %build |
---|
| 42 | cd build/generic |
---|
[2392] | 43 | export CFLAGS="$RPM_OPT_FLAGS -ffast-math" |
---|
| 44 | %configure |
---|
| 45 | %__make %{?_smp_mflags} |
---|
| 46 | cd - |
---|
[620] | 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
[2392] | 50 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 51 | %__make -C build/generic install DESTDIR=$RPM_BUILD_ROOT |
---|
| 52 | %__rm $RPM_BUILD_ROOT%{_libdir}/libxvidcore.a |
---|
[620] | 53 | cd $RPM_BUILD_ROOT%{_libdir} |
---|
| 54 | chmod 755 libxvidcore.so* |
---|
| 55 | /sbin/ldconfig -n . |
---|
[4176] | 56 | %__ln_s libxvidcore.so.? libxvidcore.so |
---|
[2392] | 57 | cd - |
---|
[620] | 58 | |
---|
[2392] | 59 | |
---|
| 60 | %clean |
---|
| 61 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | |
---|
[620] | 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %files |
---|
| 70 | %defattr(-,root,root,-) |
---|
[2392] | 71 | %doc LICENSE README AUTHORS ChangeLog |
---|
[620] | 72 | %{_libdir}/libxvidcore.so.* |
---|
| 73 | |
---|
| 74 | %files devel |
---|
| 75 | %defattr(-,root,root,-) |
---|
[2392] | 76 | %doc CodingStyle TODO examples/ |
---|
[620] | 77 | %{_includedir}/xvid.h |
---|
| 78 | %{_libdir}/libxvidcore.so |
---|
| 79 | |
---|
| 80 | %changelog |
---|
[4176] | 81 | * Sat Jun 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.2-1 |
---|
| 82 | - new upstream release |
---|
| 83 | - dropped upstreamed noexec stack patch |
---|
| 84 | |
---|
[2392] | 85 | * Sat Dec 25 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1 |
---|
| 86 | - new upstream release |
---|
| 87 | - applied a rebase noexec-stack patch from RPM Fusion development |
---|
| 88 | |
---|
[620] | 89 | * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.1-4 |
---|
| 90 | - change release to sync with self-build-xvidcore |
---|
| 91 | |
---|
| 92 | * Fri Jun 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.1-3 |
---|
| 93 | - change release to sync with self-build-xvidcore |
---|
| 94 | |
---|
| 95 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.1-2 |
---|
| 96 | - change release to sync with self-build-xvidcore |
---|
| 97 | |
---|
| 98 | * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.1-1 |
---|
| 99 | - new upstream release |
---|
| 100 | - dropped xvidcore-1.1.3_bitstream.patch |
---|
| 101 | |
---|
| 102 | * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.3-3 |
---|
| 103 | - spec in utf8 |
---|
| 104 | |
---|
| 105 | * Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.1.3-2 |
---|
| 106 | - release +1 to sync with self-build-xvidcore |
---|
| 107 | |
---|
| 108 | * Fri Apr 11 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.3-1vl4 |
---|
| 109 | - build with new versioning policy |
---|
| 110 | - apply xvidcore-1.1.3_bitstream.patch |
---|
| 111 | |
---|
| 112 | * Tue Feb 19 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.3-0vl1 |
---|
| 113 | - initial build for Vine Linux 4.2 |
---|
| 114 | |
---|
| 115 | ### end of file |
---|