commit 99cf81c58a2a96a01026b752a04ef169aefffc53 Author: putao66 <1336374132@qq.com> Date: Tue Nov 26 10:58:45 2019 +0800 Package init diff --git a/61-gnome-bluetooth-rfkill.rules b/61-gnome-bluetooth-rfkill.rules new file mode 100644 index 0000000..d7d9650 --- /dev/null +++ b/61-gnome-bluetooth-rfkill.rules @@ -0,0 +1,7 @@ +# Get access to /dev/rfkill for users +# See https://bugzilla.redhat.com/show_bug.cgi?id=514798 +# +# Simplified by Kay Sievers +# https://bugzilla.redhat.com/show_bug.cgi?id=733326 + +KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess" diff --git a/gnome-bluetooth-3.28.2.tar.xz b/gnome-bluetooth-3.28.2.tar.xz new file mode 100644 index 0000000..8801521 Binary files /dev/null and b/gnome-bluetooth-3.28.2.tar.xz differ diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec new file mode 100644 index 0000000..a410350 --- /dev/null +++ b/gnome-bluetooth.spec @@ -0,0 +1,78 @@ +Name: gnome-bluetooth +Epoch: 1 +Version: 3.28.2 +Release: 3 +Summary: Bluetooth graphical utilities +License: GPLv2+ and LGPLv2+ +URL: https://wiki.gnome.org/Projects/GnomeBluetooth +Source0: https://download.gnome.org/sources/gnome-bluetooth/3.28/gnome-bluetooth-%{version}.tar.xz +Source1: 61-gnome-bluetooth-rfkill.rules +BuildRequires: gettext gobject-introspection-devel gtk3-devel gtk-doc meson pkgconfig(libcanberra-gtk3) pkgconfig(libnotify) systemd-devel +Requires: bluez >= 5.0 pulseaudio-module-bluetooth +Provides: dbus-bluez-pin-helper gnome-bluetooth-libs = %{epoch}:%{version}-%{release} +Obsoletes: gnome-bluetooth-libs < %{epoch}:%{version}-%{release} + +%description +An application that let you manage Bluetooth in the GNOME destkop. +This package also contains libraries needed for applications that +want to display a Bluetooth device selection widget. + +%package libs-devel +Summary: Development files for gnome-bluetooth-devel +License: LGPLv2+ +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description libs-devel +This package contains header files that are needed for writing applications +that require a Bluetooth device selection widget. + +%package help +Summary: Help documents for gnome-bluetooth + +%description help +The gnome-bluetooth-help package conatins manual pages for gnome-bluetooth. + +%prep +%autosetup -p1 + +%build +%meson -Dgtk_doc=true +%meson_build + +%install +%meson_install + +install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules + +%find_lang gnome-bluetooth2 + +%files -f gnome-bluetooth2.lang +%doc README NEWS COPYING COPYING.LIB +%{_bindir}/bluetooth-sendto +%{_datadir}/applications/*.desktop +%{_datadir}/gnome-bluetooth/ +%{_libdir}/libgnome-bluetooth.so.* +%{_libdir}/girepository-1.0/GnomeBluetooth-1.0.typelib +%{_datadir}/icons/hicolor/*/apps/* +%{_datadir}/icons/hicolor/*/status/* +/usr/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules + +%files libs-devel +%{_includedir}/gnome-bluetooth/ +%{_libdir}/libgnome-bluetooth.so +%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc +%{_datadir}/gir-1.0/GnomeBluetooth-1.0.gir +%{_datadir}/gtk-doc + +%files help +%{_mandir}/man1/* + +%changelog +* Sat Nov 23 2019 openEuler Buildteam - 3.28.2-3 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:add the release number + +* Thu Nov 21 2019 liujing - 3.28.2-2 +- Package init