1 |
%define name opera |
%define name opera |
2 |
%define version 12.00 |
%define version 12.00 |
3 |
%define rel 1 |
%define rel 1 |
4 |
|
%define subrel 1 |
5 |
%define snap 0 |
%define snap 0 |
6 |
%define buildnb 1467 |
%define buildnb 1467 |
7 |
|
|
8 |
%define tarball_base %{name}-%{version}-%{buildnb} |
%define tarball_base %{name}-%{version}-%{buildnb} |
9 |
|
|
|
%define arch_exclude_files_from_autoreq ^$ |
|
10 |
%ifarch x86_64 |
%ifarch x86_64 |
11 |
# Exclude 32-bit requires on x86_64; plugins will pull them. |
%define pluginwrapper_32on64 %{_libdir}/%{name}/pluginwrapper/operapluginwrapper-ia32-linux |
12 |
%define arch_exclude_files_from_autoreq ^%{_libdir}/%{name}/operapluginwrapper-ia32-linux$ |
%else |
13 |
|
%define pluginwrapper_32on64 %nil |
14 |
%endif |
%endif |
15 |
|
|
16 |
|
# Exclude 32-bit requires on x86_64; 32-bit plugins will pull them themselves. |
17 |
|
%define arch_exclude_files_from_autoreq ^%{pluginwrapper_32on64}$ |
18 |
|
|
19 |
# Exclude requires on GTK/KDE toolkits, they are optional and used |
# Exclude requires on GTK/KDE toolkits, they are optional and used |
20 |
# automatically when present. |
# automatically when present. |
21 |
%define common_exclude_files_from_autoreq ^%{_libdir}/%{name}/libopera.\\+\\.so$ |
%define common_exclude_files_from_autoreq ^%{_libdir}/%{name}/libopera.\\+\\.so$ |
83 |
%defattr(-,root,root) |
%defattr(-,root,root) |
84 |
%doc rpmdocs/* |
%doc rpmdocs/* |
85 |
%_bindir/opera |
%_bindir/opera |
86 |
%_libdir/opera |
|
87 |
|
%dir %_libdir/opera |
88 |
|
%_libdir/opera/gstreamer |
89 |
|
%_libdir/opera/libopera*.so |
90 |
|
%_libdir/opera/opera |
91 |
|
%_libdir/opera/plugins |
92 |
|
%dir %_libdir/opera/pluginwrapper |
93 |
|
%_libdir/opera/pluginwrapper/operapluginwrapper |
94 |
|
%_libdir/opera/pluginwrapper/operapluginwrapper-native |
95 |
|
%ifarch x86_64 |
96 |
|
%{pluginwrapper_32on64} |
97 |
|
%endif |
98 |
|
|
99 |
%_iconsdir/hicolor/*/apps/%{name}-*.* |
%_iconsdir/hicolor/*/apps/%{name}-*.* |
100 |
%_iconsdir/hicolor/*/mimetypes/%{name}-*.* |
%_iconsdir/hicolor/*/mimetypes/%{name}-*.* |