# # NOTE: using symlinks will not have rpm file conflicts verification, # but that's okay since most of the plugins are cross browser, so you # won't be having any regular files in browser specific plugin dir. # Summary: Template for browser plugins Name: template-browser-plugin Version: 0.1 Release: 0.1 License: GPL Group: X11/Applications/Multimedia # TODO BuildRequires: rpmbuild(macros) >= 1.223 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # directory where you store the plugin %define _plugindir %{_libdir}/browser-plugins %description This spec is for demonstrating triggers used for linking package plugins to all browsers plugins dir capable for NSAPI plugins See also browser-plugins.spec %prep %setup -q -c -T %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_plugindir} cat >> $RPM_BUILD_ROOT%{_plugindir}/%{name}.so <> $RPM_BUILD_ROOT%{_plugindir}/%{name}.xpi <