[521] | 1 | Summary: Theora video compression codec |
---|
| 2 | Summary(ja): Theora 映像圧縮コーデック |
---|
| 3 | Name: libtheora |
---|
| 4 | Version: 1.1.1 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: BSD |
---|
| 7 | URL: http://www.theora.org/ |
---|
| 8 | Source: http://www.theora.org/files/libtheora-%{version}.tar.bz2 |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: libogg-devel >= 1.1 |
---|
| 12 | BuildRequires: libvorbis-devel >= 1.0.1 |
---|
| 13 | BuildRequires: SDL-devel |
---|
| 14 | # Seems like a devel package forgot to include this one (ogg? vorbis? SDL?) |
---|
| 15 | #BuildRequires: alsa-lib-devel |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free, |
---|
| 19 | general-purpose compressed video format. |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Headers for developing programs that will use libtheora |
---|
| 24 | Summary(ja): libtheora の開発用ファイル |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version} |
---|
| 27 | Requires: libogg-devel >= 1.1 |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | This package contains the headers that programmers will need to develop |
---|
| 31 | applications which will use %{name}. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q -n %{name}-%{version} |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %configure --disable-static |
---|
| 39 | make %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf %{buildroot} installed-docs |
---|
| 44 | %makeinstall |
---|
| 45 | mv %{buildroot}%{_datadir}/doc/libtheora* installed-docs |
---|
| 46 | # Fix the location of the include file |
---|
| 47 | #mkdir -p %{buildroot}%{_includedir}/theora |
---|
| 48 | #mv %{buildroot}%{_includedir}/theora.h %{buildroot}%{_includedir}/theora/ |
---|
| 49 | |
---|
| 50 | # remove unpackage files |
---|
| 51 | rm -f $RPM_BUILD_ROOT%{_libdir}/libtheora*.la |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-, root, root, 0755) |
---|
| 58 | %doc README COPYING |
---|
| 59 | %{_libdir}/libtheora*.so.* |
---|
| 60 | |
---|
| 61 | %files devel |
---|
| 62 | %defattr(-, root, root, 0755) |
---|
| 63 | %doc installed-docs/* |
---|
| 64 | %{_includedir}/theora |
---|
| 65 | #{_libdir}/libtheora*.a |
---|
| 66 | %{_libdir}/libtheora*.so |
---|
| 67 | %{_libdir}/pkgconfig/*.pc |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %changelog |
---|
| 71 | * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1 |
---|
| 72 | - new upstream relase |
---|
| 73 | |
---|
| 74 | * Thu Nov 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
| 77 | * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.beta2.1vl5 |
---|
| 78 | - new upstream relase |
---|
| 79 | |
---|
| 80 | * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha7vl1 |
---|
| 81 | - new upstream relase |
---|
| 82 | |
---|
| 83 | * Sat Sep 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha5vl1 |
---|
| 84 | - new upstream relase |
---|
| 85 | |
---|
| 86 | * Thu Mar 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha4vl1 |
---|
| 87 | - new upstream relase |
---|
| 88 | - added Japanese summary |
---|
| 89 | |
---|
| 90 | * Sun Sep 5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha3vl1 |
---|
| 91 | - Build for Vine |
---|
| 92 | |
---|
| 93 | * Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 1.0-0.alpha3.1 |
---|
| 94 | - Initial RPM release, only devel as there is only a static lib for now. |
---|
| 95 | |
---|