]> git.pld-linux.org Git - packages/gpac.git/blame - gpac.spec
- make -j1
[packages/gpac.git] / gpac.spec
CommitLineData
4979ec52 1# TODO: soname for libm4systems(?)
d4565eb8 2# - use system mozilla includes
35738b12
ER
3# - ./configure[692]: wx-config: not found
4# - ./configure[693]: wx-config: not found
5# - CC, CFLAGS
6# - Xiph Theora: no
4979ec52 7#
cee2dd04 8# Conditional build:
5f694ea5 9%bcond_with amr
5f694ea5 10%bcond_without faad
cee2dd04
JB
11%bcond_without ffmpeg
12%bcond_without freetype
5f694ea5 13%bcond_without jpeg
cee2dd04 14%bcond_without js
5f694ea5 15%bcond_without mad
cee2dd04 16%bcond_without png
5f694ea5 17%bcond_without xvid
6dcdf31e 18%bcond_with wx
cee2dd04 19#
b2995149 20Summary: GPAC - an implementation of the MPEG-4 Systems standard (ISO/IEC 14496-1)
21Summary(pl): GPAC - implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1)
5f694ea5 22Name: gpac
84d02762 23Version: 0.4.0
5aa376a8 24Release: 3
84d02762 25License: LGPL
5f694ea5 26Group: Applications
cee2dd04 27Source0: http://dl.sourceforge.net/gpac/%{name}-%{version}.tar.gz
84d02762 28# Source0-md5: a8b4b3206cabda946850240f1e7aea93
5f694ea5 29Source1: http://www.3gpp.org/ftp/Specs/archive/26_series/26.073/26073-530.zip
30# Source1-md5: 705f6993fbf890e92eb7a331e7c716d1
e25a2665 31Patch0: %{name}-install.patch
6dcdf31e 32Patch1: %{name}-wxWidgets.patch
267232dd 33Patch2: %{name}-amd64.patch
5eb82e91 34Patch3: %{name}-libdir.patch
5f694ea5 35URL: http://gpac.sourceforge.net/
f0a57dca 36BuildRequires: SDL-devel
cee2dd04
JB
37%{?with_faad:BuildRequires: faad2-devel}
38%{?with_ffmpeg:BuildRequires: ffmpeg-devel}
39%{?with_freetype:BuildRequires: freetype-devel}
40%{?with_js:BuildRequires: js-devel}
41%{?with_jpeg:BuildRequires: libjpeg-devel}
42%{?with_mad:BuildRequires: libmad-devel}
43%{?with_png:BuildRequires: libpng-devel}
6dcdf31e 44BuildRequires: libxml2-devel
f0a57dca
ER
45BuildRequires: rpmbuild(macros) >= 1.236
46%{?with_wx:BuildRequires: wxGTK2-devel >= 2.5.4}
cee2dd04 47%{?with_xvid:BuildRequires: xvid-devel}
5f694ea5 48Requires: SDL
cee2dd04
JB
49%{?with_faad:Requires: faad2}
50%{?with_ffmpeg:Requires: ffmpeg}
51%{?with_freetype:Requires: freetype}
52%{?with_js:Requires: js}
e25a2665 53%{?with_jpeg:Requires: libjpeg}
cee2dd04 54%{?with_mad:Requires: libmad}
f0a57dca 55%{?with_png:Requires: libpng}
cee2dd04 56%{?with_xvid:Requires: xvid}
5f694ea5 57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
e25a2665 59%define _noautoreq libm4systems.so
84d02762 60%define _plugindir %{_libdir}/browser-plugins
e25a2665 61
5f694ea5 62%description
b2995149 63GPAC is an implementation of the MPEG-4 Systems standard (ISO/IEC
6414496-1) developed from scratch in ANSI C.
5f694ea5 65
b2995149 66The main development goal is to provide a clean (a.k.a. readable by as
67many people as possible), small and flexible alternative to the MPEG-4
68Systems reference software (known as IM1 and distributed in ISO/IEC
6914496-5). The MPEG-4 Reference software is indeed a very large piece
70of software, designed to verify the standard rather than provide a
71small, production-stable software. GPAC is written in ANSI C for
72portability reasons (embedded platforms and DSPs) with a simple goal:
73keep the memory footprint as low as possible. The project will at term
74provide player(s), systems encoders and publishing tools for content
75distribution.
5f694ea5 76
cee2dd04
JB
77%description -l pl
78GPAC to implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1)
79stworzona od zera w ANSI C.
80
81