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