-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplasma6-kio-extras.spec
127 lines (116 loc) · 4.14 KB
/
plasma6-kio-extras.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#define git 20240218
%define gitbranch release/24.02
%define gitbranchd %(echo %{gitbranch} |sed -e "s,/,-,g")
%define major %(echo %{version} |cut -d. -f1)
%define stable %([ "`echo %{version} |cut -d. -f3`" -ge 80 ] && echo -n un; echo -n stable)
%define plasmaver %(echo %{version} |cut -d. -f1-3)
Name: plasma6-kio-extras
Version: 24.12.1
Release: %{?git:0.%{git}.}1
%if 0%{?git:1}
Source0: https://invent.kde.org/network/kio-extras/-/archive/%{gitbranch}/kio-extras-%{gitbranchd}.tar.bz2#/kio-extras-%{git}.tar.bz2
%else
Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/kio-extras-%{version}.tar.xz
%endif
Source1000: %{name}.rpmlintrc
# https://bugzilla.samba.org/show_bug.cgi?id=12466
Patch1: kio-extras-smb_anon.patch
Summary: KDE 6 I/O Extras
URL: https://kde.org/
License: GPL
Group: System/Libraries
BuildRequires: gperf
BuildRequires: openslp-devel
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(libmtp)
BuildRequires: pkgconfig(libtirpc)
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(phonon4qt6)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Sql)
BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(Qt6Test)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(QCoro6)
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(libssh) >= 0.8.6
BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(taglib)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libimobiledevice-1.0)
BuildRequires: pkgconfig(libplist-2.0)
BuildRequires: pkgconfig(libappimage)
BuildRequires: cmake(ECM)
BuildRequires: cmake(KF6DNSSD)
BuildRequires: cmake(KF6DocTools)
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6DBusAddons)
BuildRequires: cmake(KF6ConfigWidgets)
BuildRequires: cmake(KF6IconThemes)
BuildRequires: cmake(KF6KIO)
BuildRequires: cmake(KF6Solid)
BuildRequires: cmake(KF6Pty)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: cmake(KF6TextWidgets)
BuildRequires: cmake(PlasmaActivities)
BuildRequires: cmake(KF6SyntaxHighlighting)
BuildRequires: cmake(PlasmaActivitiesStats)
BuildRequires: cmake(KExiv2Qt6)
BuildRequires: cmake(KDSoapWSDiscoveryClient)
BuildRequires: kdsoap-qt6-devel
Requires: %{mklibname kioarchive6} = %{EVRD}
Requires: kf6-kio
%define kioarchive_devel %{mklibname -d kioarchive6}
%libpackage kioarchive6 6
%description
KDE 6 I/O Extras.
%package -n %{kioarchive_devel}
Summary: Development files for the KIO Archive library
Group: Development/KDE and Qt
Requires: %{mklibname kioarchive6} = %{EVRD}
%description -n %{kioarchive_devel}
Development files for the KIO Archive library
%prep
%autosetup -p1 -n kio-extras-%{?git:%{gitbranchd}}%{!?git:%{version}}
%cmake \
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON \
-G Ninja
%build
%ninja -C build
%install
%ninja_install -C build
%find_lang all --all-name --with-html
%files -f all.lang
%{_datadir}/qlogging-categories6/kio-extras.categories
%{_qtdir}/plugins/*.so
%{_qtdir}/plugins/kf6/kio/*.so
%{_qtdir}/plugins/kf6/kiod/*.so
%{_qtdir}/plugins/kf6/kded/*.so
%{_qtdir}/plugins/kf6/kfileitemaction/kactivitymanagerd_fileitem_linking_plugin.so
%{_qtdir}/plugins/kf6/kfileitemaction/forgetfileitemaction.so
%{_qtdir}/plugins/kf6/thumbcreator
%{_qtdir}/plugins/plasma/kcms/systemsettings_qwidgets/kcm_netpref.so
%{_qtdir}/plugins/plasma/kcms/systemsettings_qwidgets/kcm_proxy.so
%{_qtdir}/plugins/plasma/kcms/systemsettings_qwidgets/kcm_webshortcuts.so
%{_datadir}/mime/packages/org.kde.kio.smb.xml
%{_datadir}/config.kcfg/*.kcfg
%{_datadir}/dbus-1/services/*.service
%{_datadir}/remoteview
%{_datadir}/kio_info
%{_datadir}/konqueror/dirtree/remote/*.desktop
%{_datadir}/solid/actions/solid_mtp.desktop
%{_datadir}/solid/actions/solid_afc.desktop
%{_datadir}/qlogging-categories6/kio-extras.renamecategories
%{_libdir}/libexec/kf6/smbnotifier
%{_datadir}/applications/kcm_netpref.desktop
%{_datadir}/applications/kcm_proxy.desktop
%{_datadir}/applications/kcm_trash.desktop
%{_datadir}/applications/kcm_webshortcuts.desktop
%{_datadir}/kio_filenamesearch
%files -n %{kioarchive_devel}
%{_includedir}/KioArchive6
%{_libdir}/cmake/KioArchive6