mozilla-xulrunner192/mozilla-xulrunner192.spec
changeset 21 5b8b22d50d90
parent 20 148671c3abcb
child 23 c62859a2fd22
equal deleted inserted replaced
20:148671c3abcb 21:5b8b22d50d90
   106 %endif
   106 %endif
   107 %if %has_system_nss
   107 %if %has_system_nss
   108 BuildRequires:  mozilla-nss-devel >= 3.12.3
   108 BuildRequires:  mozilla-nss-devel >= 3.12.3
   109 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
   109 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
   110 %endif
   110 %endif
   111 Recommends:     %{name}-gnomevfs
   111 Recommends:     %{name}-gnome
   112 
   112 
   113 %description
   113 %description
   114 XULRunner is a single installable package that can be used to bootstrap
   114 XULRunner is a single installable package that can be used to bootstrap
   115 multiple XUL+XPCOM applications that are as rich as Firefox and
   115 multiple XUL+XPCOM applications that are as rich as Firefox and
   116 Thunderbird.
   116 Thunderbird.
   163 Thunderbird.
   163 Thunderbird.
   164 
   164 
   165 This package contains rarely used languages.
   165 This package contains rarely used languages.
   166 
   166 
   167 
   167 
   168 %package gnomevfs
   168 %package gnome
   169 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   169 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   170 Summary:        XULRunner components depending on gnome-vfs
   170 Summary:        XULRunner components depending on gnome-vfs
   171 Group:          Productivity/Other
   171 Group:          Productivity/Other
   172 PreReq:         %{name} = %{version}-%{release}
   172 PreReq:         %{name} = %{version}-%{release}
   173 
   173 
   174 %description gnomevfs
   174 %description gnome
   175 This subpackage contains the Necko Gnome-VFS and Gnome components which
   175 This subpackage contains the Necko Gnome-VFS and Gnome components which
   176 rely on the gnome-vfs subsystem to be installed. They are recommended
   176 rely on the gnome-vfs subsystem to be installed. They are recommended
   177 for full desktop integration but not mandatory for small disk footprint
   177 for full desktop integration but not mandatory for small disk footprint
   178 KDE installations for example.
   178 KDE installations for example.
   179 
   179 
   403 
   403 
   404 %triggerpostun -- myspell-dictionary
   404 %triggerpostun -- myspell-dictionary
   405 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1
   405 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1
   406 exit 0
   406 exit 0
   407 
   407 
   408 %post gnomevfs
   408 %post gnome
   409 touch %{_libdir}/xulrunner-%{version_internal}/.autoreg
   409 touch %{_libdir}/xulrunner-%{version_internal}/.autoreg
   410 exit 0
   410 exit 0
   411 
   411 
   412 %files
   412 %files
   413 %defattr(-,root,root)
   413 %defattr(-,root,root)
   473 %{_libdir}/xulrunner-devel-%{version_internal}/
   473 %{_libdir}/xulrunner-devel-%{version_internal}/
   474 # FIXME symlink dynamic libs below sdk/lib
   474 # FIXME symlink dynamic libs below sdk/lib
   475 %attr(644,root,root) %{_libdir}/pkgconfig/*
   475 %attr(644,root,root) %{_libdir}/pkgconfig/*
   476 %{_includedir}/xulrunner-%{version_internal}/
   476 %{_includedir}/xulrunner-%{version_internal}/
   477 
   477 
   478 %files gnomevfs
   478 %files gnome
   479 %defattr(-,root,root)
   479 %defattr(-,root,root)
   480 %{_libdir}/xulrunner-%{version_internal}/components/libmozgnome.so
   480 %{_libdir}/xulrunner-%{version_internal}/components/libmozgnome.so
   481 %{_libdir}/xulrunner-%{version_internal}/components/libnkgnomevfs.so
   481 %{_libdir}/xulrunner-%{version_internal}/components/libnkgnomevfs.so
   482 
   482 
   483 %if %localize
   483 %if %localize