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