diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index 8733be5..6e0c43e 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -1,7 +1,7 @@ Summary: GNOME Bluetooth Subsystem Name: gnome-bluetooth Version: 0.5.1 -Release: 6 +Release: 7 License: GPL Group: System Environment/Libraries URL: http://usefulinc.com/software/gnome-bluetooth @@ -16,6 +16,7 @@ BuildRequires: GConf2-devel >= 0:2.0 librsvg2-devel BuildRequires: libbtctl-devel >= 0:0.4.1-2 BuildRequires: gob2 openobex-devel >= 0:1.0.1 perl BuildRequires: pygtk2-devel +Requires: %{name}-libs = 0:%{version}-%{release} ExcludeArch: s390 s390x %description @@ -25,6 +26,23 @@ and a simple GUI to explore which devices are available gnome-obex-server. This will receive files sent via Bluetooth to your PC, and save them in your home directory. +%package libs +Summary: Libraries for applications, which use gnome-bluetooth +Group: Development/Libraries +Requires: %{name} = 0:%{version}-%{release} + +%description libs +This package contains the libraries for applications, which use gnome-bluetooth. + +%package devel +Summary: Files for the development of applications, which use gnome-bluetooth +Group: Development/Libraries +Requires: %{name}-libs = 0:%{version}-%{release} + +%description devel +This package contains the files for the development of applications, +which will use gnome-bluetooth. + %prep rm -rf $RPM_BUILD_ROOT @@ -67,16 +85,26 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/gnome-obex-send %{_datadir}/applications/gnome-obex-server.desktop %{_datadir}/gnome-bluetooth -%{_prefix}/include/gnome-bluetooth +%{_datadir}/applications/gnome-bluetooth-manager.desktop + +%files libs +%{_libdir}/libgnomebt.so.* %{_libdir}/bonobo/libgnome-bluetooth-component.so %{_libdir}/bonobo/servers/GNOME_Bluetooth_Component.server -%{_libdir}/libgnomebt.so.* -%{_libdir}/pkgconfig/gnome-bluetooth.pc %dir %{_libdir}/python*.*/site-packages/gnomebt %{_libdir}/python*.*/site-packages/gnomebt/* -%{_datadir}/applications/gnome-bluetooth-manager.desktop + + +%files devel +%{_libdir}/pkgconfig/gnome-bluetooth.pc +%{_libdir}/libgnomebt.so +%{_prefix}/include/gnome-bluetooth + %changelog +* Tue Dec 07 2004 Harald Hoyer - 0.5.1-7 +- split package into app, libs and devel + * Mon Oct 25 2004 Harald Hoyer - 0.5.1-6 - fixed again gnome-bluetooth-manager script for 64bit (bug 134864)