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