Broke the client package into gtk2 and mozilla.

git-svn-id: http://yate.null.ro/svn/yate/trunk@962 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-07-07 01:33:57 +00:00
parent 480a49fdd5
commit ba6ffdd96f
1 changed files with 43 additions and 29 deletions

View File

@ -170,6 +170,49 @@ that support database access will be able to use MySQL.
%config /etc/yate/mysqldb.conf
%package gtk2
Summary: Gtk2 client package for Yate
Group: Applications/Communication
Provides: yate-client
%description gtk2
The yate-gtk2 package includes the files needed to use Yate as a VoIP client
with a Gtk2 graphical interface.
%files gtk2
%defattr(-, root, root)
/usr/bin/yate-gtk2
/usr/lib/menu/yate-gtk2.menu
/usr/share/applications/yate-gtk2.desktop
%dir /usr/lib/yate/modules/skin
/usr/lib/yate/modules/skin/*
%dir /usr/lib/yate/modules/help
/usr/lib/yate/modules/help/*
%config /etc/yate/yate-gtk2.conf
%config /etc/yate/providers.conf
%post gtk2
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
%postun gtk2
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
%package mozilla
Summary: Mozilla embedding in Yate
Group: Applications/Communication
Requires: yate-gtk2 = %{version}
Provides: yate-browser
%description mozilla
This package adds a Mozilla widget that can be embedded in a Yate client window.
%files mozilla
%defattr(-, root, root)
%dir /usr/lib/yate/modules/gtk2
/usr/lib/yate/modules/gtk2/*
%package scripts
Summary: External scripting package for Yate
Group: Applications/Communication
@ -183,35 +226,6 @@ The yate-scripts package includes libraries for using external scripts with Yate
/usr/lib/yate/scripts/*.*
%package client
Summary: Client package for Yate
Group: Applications/Communication
%description client
The yate-client package includes the files needed to use Yate as a VoIP client
with a Gtk2 graphical interface.
%files client
%defattr(-, root, root)
/usr/bin/yate-gtk2
/usr/lib/menu/yate-gtk2.menu
/usr/share/applications/yate-gtk2.desktop
%dir /usr/lib/yate/modules/skin
/usr/lib/yate/modules/skin/*
%dir /usr/lib/yate/modules/help
/usr/lib/yate/modules/help/*
%dir /usr/lib/yate/modules/gtk2
/usr/lib/yate/modules/gtk2/*
%config /etc/yate/yate-gtk2.conf
%config /etc/yate/providers.conf
%post client
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
%postun client
test -x /usr/bin/update-menus && /usr/bin/update-menus || /bin/true
%package devel
Summary: Development package for Yate
Group: Development/Libraries