-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplasma-wallpapers-xml.spec
67 lines (54 loc) · 2 KB
/
plasma-wallpapers-xml.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# spec file for package plasma-wallpapers-xml
#
# Please submit bugfixes or comments via https://github.com/easyteacher/plasma-wallpapers-xml/issues
#
Name: plasma-wallpapers-xml
Version: 1.3.0
Release: 1%{?dist}
Summary: A wallpaper plugin for KDE Plasma
License: GPLv2+
Group: System/GUI/KDE
URL: https://github.com/easyteacher/plasma-wallpapers-xml
Source0: https://github.com/easyteacher/plasma-wallpapers-xml/archive/refs/heads/main.tar.gz
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5Declarative)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Package)
BuildRequires: cmake(KF5Plasma)
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5Qml) >= 5.15.0
BuildRequires: cmake(Qt5Quick) >= 5.15.0
Suggests: gnome-backgrounds
%description
An image/slideshow wallpaper plugin for KDE Plasma that supports GNOME XML wallpaper format.
%prep
%autosetup -n plasma-wallpapers-xml-main
%build
%if 0%{?suse_version}
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%else
%cmake
%endif
%cmake_build
%install
%if 0%{?suse_version}
%kf5_makeinstall -C build
%else
%cmake_install
%endif
%files
%license LICENSE
%dir %{_datadir}/plasma/wallpapers
%{_datadir}/plasma/wallpapers/com.github.easyteacher.plasma.wallpapers.xml/
%{_datadir}/plasma/wallpapers/com.github.easyteacher.plasma.wallpapers.xml.slideshow/
%{_datadir}/metainfo/com.github.easyteacher.plasma.wallpapers.xml.appdata.xml
%{_datadir}/metainfo/com.github.easyteacher.plasma.wallpapers.xml.slideshow.appdata.xml
%{_datadir}/kservices5/plasma-wallpaper-com.github.easyteacher.plasma.wallpapers.xml.desktop
%{_datadir}/kservices5/plasma-wallpaper-com.github.easyteacher.plasma.wallpapers.xml.slideshow.desktop
%dir %{_libdir}/qt5/qml/com/github/easyteacher/plasma/wallpapers/xml
%{_libdir}/qt5/qml/com/github/easyteacher/plasma/wallpapers/xml/
%changelog