]> git.pld-linux.org Git - packages/libmpeg3.git/blob - libmpeg3.spec
- BR, -devel R: a52dec-libs-devel
[packages/libmpeg3.git] / libmpeg3.spec
1 Summary:        LibMPEG3 decodes the many many derivatives of MPEG standards
2 Summary(pl):    LibMPEG3 dekoduje wiele alternatywnych standardów MPEG
3 Name:           libmpeg3
4 Version:        1.5.0
5 Release:        2
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
9 URL:            http://heroinewarriors.com/libmpeg3.php3
10 Patch0:         %{name}-acam.patch
11 Patch1:         %{name}-pthread.patch
12 BuildRequires:  a52-libs-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  nasm
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 LibMPEG3 decodes the many many derivatives of MPEG standards into
21 uncompressed data suitable for editing and playback.
22
23 libmpeg3 currently decodes:
24  - MPEG-1 Layer II Audio
25  - MPEG-1 Layer III Audio
26  - MPEG-2 Layer III Audio
27  - MPEG-1 program streams
28  - MPEG-2 program streams
29  - MPEG-2 transport streams
30  - AC3 Audio
31  - MPEG-2 Video
32  - MPEG-1 Video
33  - IFO files
34  - VOB files
35
36 %description -l pl
37 LibMPEG3 dekoduje wiele odmian standardu MPEG w nieskompresowany
38 strumieñ, który ³atwo jest odtwarzaæ lub edytowaæ. Aktualnie potrafi
39 dekodowaæ: d¼wiêk MPEG-1 Layer II i III oraz MPEG-2 Layer 3,
40 strumienie MPEG-1 i MPEG-2, d¼wiêk AC3, obraz MPEG-1 i MPEG-2, pliki
41 IFO oraz VOB.
42
43 %package devel
44 Summary:        Header files for developing programs using libmpeg3
45 Summary(pl):    Pliki nag³ówkowe do rozwijania programów u¿ywaj±cych libmpeg3
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}
48 Requires:       a52-libs-devel
49
50 %description devel
51 This package is all you need to develop programs that handle the
52 various video and audio file formats supported by libmpeg3.
53
54 %description devel -l pl
55 Ten pakiet to wszystko czego potrzebujesz by rozwijaæ programy
56 obs³uguj±ce ró¿ne formaty plików wideo oraz audio wspierane przez
57 libmpeg3.
58
59 %package static
60 Summary:        Static libmpeg3 library
61 Summary(pl):    Statyczna biblioteka libmpeg3
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 Static libmpeg3 library.
67
68 %description static -l pl
69 Statyczna biblioteka libmpeg3.
70
71 %package progs
72 Summary:        libmpeg3 utility programs
73 Summary(pl):    programy u¿ytkowe
74 Group:          Applications/Graphics
75 Requires:       %{name} = %{version}
76
77 %description progs
78 This package includes various utility programs for manipulating MPEG
79 files for use by libmpeg3 programs.
80
81 %description progs -l pl
82 Ten pakiet zawiera ró¿ne programy narzêdziowe do manipulowania plikami
83 MPEG.
84
85 %prep
86 %setup -q
87 %patch0 -p1
88 %patch1 -p1
89
90 %build
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoheader}
94 %{__autoconf}
95 %{__automake}
96 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
97 %configure \
98 %ifarch i586 i686 athlon
99         --enable-mmx
100 %endif
101
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %files
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libmpeg3.so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc docs/index.html
123 %attr(755,root,root) %{_libdir}/libmpeg3.so
124 %{_libdir}/libmpeg3.la
125 %{_includedir}/libmpeg3
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libmpeg3.a
130
131 %files progs
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/*
This page took 0.057752 seconds and 3 git commands to generate.