!1 init package
From: @tanyulong2021 Reviewed-by: @dou33 Signed-off-by: @dou33,@dou33
This commit is contained in:
commit
3c771314fc
BIN
ukui-bluetooth-1.0.0.tar.gz
Normal file
BIN
ukui-bluetooth-1.0.0.tar.gz
Normal file
Binary file not shown.
75
ukui-bluetooth.spec
Normal file
75
ukui-bluetooth.spec
Normal file
@ -0,0 +1,75 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: ukui-bluetooth
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: Advanced ukui bluetooth
|
||||
License: GPLv2+
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: kf5-bluez-qt-devel
|
||||
BuildRequires: kf5-kwindowsystem-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libXcursor-devel
|
||||
|
||||
|
||||
Requires: kf5-bluez-qt
|
||||
Requires: kf5-bluez-qt-common
|
||||
Requires: libnotify
|
||||
Requires: bluez >= 5.0
|
||||
Requires: bluez-obexd
|
||||
Requires: pulseaudio-module-bluetooth
|
||||
|
||||
|
||||
|
||||
|
||||
%description
|
||||
Simple bluetooth tool for ukui desktop environment
|
||||
.The package contains executable file.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
mkdir build && cd build
|
||||
qmake-qt5 ..
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
cd %{_builddir}/%{name}-%{version}/build
|
||||
make INSTALL_ROOT=%{buildroot} install
|
||||
mkdir -p %{buildroot}/usr/share/ukui-bluetooth/translations/
|
||||
cp -r %{_builddir}/%{name}-%{version}/translations/*.qm %{buildroot}/usr/share/ukui-bluetooth/translations/
|
||||
|
||||
|
||||
mkdir -p %{buildroot}/etc/xdg/autostart/
|
||||
cp -r %{_builddir}/%{name}-%{version}/data/ukui-bluetooth.desktop* %{buildroot}/etc/xdg/autostart/
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%{_sysconfdir}/dbus-1/system.d/com.bluetooth.systemdbus.conf
|
||||
%{_sysconfdir}/dbus-1/system.d/org.bluez.Agent1.conf
|
||||
%{_sysconfdir}/xdg/autostart/ukui-bluetooth.desktop
|
||||
%{_bindir}/bluetoothService
|
||||
%{_bindir}/ukui-bluetooth
|
||||
%{_datadir}/dbus-1/system-services/com.bluetooth.systemdbus.service
|
||||
%{_datadir}/glib-2.0/schemas/org.ukui.bluetooth.gschema.xml
|
||||
%{_datadir}/polkit-1/actions/com.bluetooth.systemdbus.policy
|
||||
%{_datadir}/ukui-bluetooth/translations/ukui-bluetooth_zh_CN.qm
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 06 2021 tanyulong <tanyulong@kylinos.cn> - 1.0.0-1
|
||||
- init packages
|
||||
Loading…
x
Reference in New Issue
Block a user