3 %bcond_without apidocs # do not build and package API docs
5 Summary: Bellagio OpenMAX Integration Layer implementation
6 Summary(pl.UTF-8): Implementacja Bellagio standardu OpenMAX Integration Layer
7 Name: libomxil-bellagio
12 Source0: http://downloads.sourceforge.net/omxil/%{name}-%{version}.tar.gz
13 # Source0-md5: a1de827fdb75c02c84e55f740ca27cb8
14 Patch0: %{name}-link.patch
15 Patch1: %{name}-extern.patch
16 URL: http://omxil.sourceforge.net/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake
19 %{?with_apidocs:BuildRequires: doxygen}
20 BuildRequires: libtool
21 BuildRequires: sed >= 4.0
22 Provides: OpenMAX-IL = 1.1.2
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 # module references RM_{Deinit,Init} symbols from resource manager
26 %define skip_post_check_so .*%{_libdir}/omxloaders/libomxdynamicloader\.so.*
29 This is an Open Source implementation of the OpenMAX Integration Layer
30 (IL) API version 1.1.2, specified by the Khronos group (see
31 <http://www.khronos.org/openmax/>).
33 %description -l pl.UTF-8
34 Ten pakiet jest mającą otwarte źródła implementacją standardu OpenMAX
35 Integration Layer (IL) w wersji 1.1.2, opisanego przez Khronos Group
36 (<http://www.khronos.org/openmax/>).
39 Summary: Header files for Bellagio OpenMAX IL library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Bellagio OpenMAX IL
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Provides: OpenMAX-IL-devel = 1.1.2
46 Header files for Bellagio OpenMAX IL library.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki Bellagio OpenMAX IL.
52 Summary: Static Bellagio OpenMAX IL library
53 Summary(pl.UTF-8): Statyczna biblioteka Bellagio OpenMAX IL
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
56 Provides: OpenMAX-IL-static = 1.1.2
59 Static Bellagio OpenMAX IL library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka Bellagio OpenMAX IL.
65 Summary: Bellagio OpenMAX IL API documentation
66 Summary(pl.UTF-8): Dokumentacja API biblioteki Bellagio OpenMAX IL
71 API and internal documentation for Bellagio OpenMAX IL library.
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API biblioteki Bellagio OpenMAX IL.
81 # unhandled case enum value warnings when using gcc 4.6
82 sed -i -e 's/-Werror//' configure.ac
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT \
101 %{__rm} -r $RPM_BUILD_ROOT/unwanted
103 # libomxil-bellagio.la kept - no Libs.private in .pc (-ldl -lpthread needed)
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/{bellagio,omxloaders}/libomx*.{la,a}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog NEWS README
117 %attr(755,root,root) %{_bindir}/omxregister-bellagio
118 %attr(755,root,root) %{_libdir}/libomxil-bellagio.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libomxil-bellagio.so.0
120 %dir %{_libdir}/bellagio
121 %attr(755,root,root) %{_libdir}/bellagio/libomxaudio_effects.so*
122 %attr(755,root,root) %{_libdir}/bellagio/libomxclocksrc.so*
123 %attr(755,root,root) %{_libdir}/bellagio/libomxvideosched.so*
124 %dir %{_libdir}/omxloaders
125 %attr(755,root,root) %{_libdir}/omxloaders/libomxdynamicloader.so*
126 %{_mandir}/man1/omxregister-bellagio.1*
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/libomxil-bellagio.so
131 %{_libdir}/libomxil-bellagio.la
132 %{_includedir}/bellagio
133 %{_includedir}/OMX_Audio.h
134 %{_includedir}/OMX_Component.h
135 %{_includedir}/OMX_ContentPipe.h
136 %{_includedir}/OMX_Core.h
137 %{_includedir}/OMX_IVCommon.h
138 %{_includedir}/OMX_Image.h
139 %{_includedir}/OMX_Index.h
140 %{_includedir}/OMX_Other.h
141 %{_includedir}/OMX_Types.h
142 %{_includedir}/OMX_Video.h
143 %{_pkgconfigdir}/libomxil-bellagio.pc
146 %defattr(644,root,root,755)
147 %{_libdir}/libomxil-bellagio.a
151 %defattr(644,root,root,755)
152 %doc doc/libomxil-bellagio/html/*