This commit is contained in:
parent
c348ca0247
commit
26862bfb34
2
bluedevil5-rpmlintrc
Normal file
2
bluedevil5-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# we don't use find_lang macro as it doesn't searches in subdirectories
|
||||||
|
addFilter("file-not-in-%lang .*")
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bluedevil5
|
# spec file for package bluedevil5
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
|
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -17,8 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define with_lang 0
|
|
||||||
|
|
||||||
Name: bluedevil5
|
Name: bluedevil5
|
||||||
Version: 5.2.0
|
Version: 5.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -27,6 +25,7 @@ License: GPL-2.0+
|
|||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Url: http://www.kde.org/
|
Url: http://www.kde.org/
|
||||||
Source: bluedevil-%{version}.tar.xz
|
Source: bluedevil-%{version}.tar.xz
|
||||||
|
Source99: %{name}-rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: kcoreaddons-devel
|
BuildRequires: kcoreaddons-devel
|
||||||
BuildRequires: kdbusaddons-devel
|
BuildRequires: kdbusaddons-devel
|
||||||
@ -43,6 +42,7 @@ BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|||||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
||||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
||||||
Requires: obexd-client
|
Requires: obexd-client
|
||||||
|
Recommends: %{name}-lang
|
||||||
Supplements: packageand(bluez:plasma5-workspace)
|
Supplements: packageand(bluez:plasma5-workspace)
|
||||||
Conflicts: bluedevil
|
Conflicts: bluedevil
|
||||||
%if %with_lang
|
%if %with_lang
|
||||||
@ -59,7 +59,7 @@ Bluetooth daemon for KDE, handling connections.
|
|||||||
%setup -q -n bluedevil-%{version}
|
%setup -q -n bluedevil-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -68,9 +68,6 @@ Bluetooth daemon for KDE, handling connections.
|
|||||||
%suse_update_desktop_file -r bluedevil-monolithic Qt KDE Utility DesktopUtility
|
%suse_update_desktop_file -r bluedevil-monolithic Qt KDE Utility DesktopUtility
|
||||||
sed -i '/^Icon=/d' %{buildroot}%{_kf5_applicationsdir}/bluedevil-monolithic.desktop
|
sed -i '/^Icon=/d' %{buildroot}%{_kf5_applicationsdir}/bluedevil-monolithic.desktop
|
||||||
|
|
||||||
%if %with_lang
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
|
|
||||||
@ -89,9 +86,8 @@ sed -i '/^Icon=/d' %{buildroot}%{_kf5_applicationsdir}/bluedevil-monolithic.desk
|
|||||||
%{_kf5_plugindir}/
|
%{_kf5_plugindir}/
|
||||||
%{_kf5_servicesdir}/
|
%{_kf5_servicesdir}/
|
||||||
|
|
||||||
%if %with_lang
|
%files lang
|
||||||
-f %{name}.lang
|
%defattr(-,root,root)
|
||||||
%defattr(-,root,root,-)
|
%{_kf5_localedir}/
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user