/[packages]/cauldron/kio-extras/current/SPECS/kio-extras.spec
ViewVC logotype

Contents of /cauldron/kio-extras/current/SPECS/kio-extras.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1568806 - (show annotations) (download)
Sat Apr 18 09:45:39 2020 UTC (4 years, 3 months ago) by daviddavid
File size: 4893 byte(s)
SILENT: fix more files list

1 #
2 # Please do not update/rebuild/touch this package before asking first
3 # to mikala and/or neoclust and/or daviddavid
4 # This package is part of the KDE Stack.
5 #
6
7 %define rel 1
8
9 Summary: Extra kio plugins needed by KF5
10 Name: kio-extras
11 Version: 20.04.0
12 Release: %mkrel %rel
13 License: GPLv2+
14 Group: Graphical desktop/KDE
15 URL: https://www.kde.org/
16 Source0: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
17
18 BuildRequires: kf5-macros
19
20 BuildRequires: cmake(KF5Archive)
21 BuildRequires: cmake(KF5Config)
22 BuildRequires: cmake(KF5ConfigWidgets)
23 BuildRequires: cmake(KF5CoreAddons)
24 BuildRequires: cmake(KF5DBusAddons)
25 BuildRequires: cmake(KF5DocTools)
26 BuildRequires: cmake(KF5DNSSD)
27 BuildRequires: cmake(KF5IconThemes)
28 BuildRequires: cmake(KF5I18n)
29 BuildRequires: cmake(KF5KIO)
30 BuildRequires: cmake(KF5KHtml)
31 BuildRequires: cmake(KF5KDELibs4Support)
32 BuildRequires: cmake(KF5Solid)
33 BuildRequires: cmake(KF5Pty)
34
35 BuildRequires: cmake(KF5Activities)
36 BuildRequires: cmake(KF5ActivitiesStats)
37 BuildRequires: cmake(KF5SyntaxHighlighting)
38 BuildRequires: cmake(KDSoap)
39
40 BuildRequires: shared-mime-info
41 BuildRequires: openslp-devel
42 BuildRequires: gperf
43
44 BuildRequires: cmake(Qt5Core)
45 BuildRequires: cmake(Qt5DBus)
46 BuildRequires: cmake(Qt5Network)
47 BuildRequires: cmake(Qt5Widgets)
48 BuildRequires: cmake(Qt5Test)
49 BuildRequires: cmake(Qt5Sql)
50
51 BuildRequires: pkgconfig(libssh)
52 BuildRequires: pkgconfig(smbclient)
53 BuildRequires: pkgconfig(exiv2)
54 BuildRequires: pkgconfig(libmtp)
55 BuildRequires: pkgconfig(taglib)
56 BuildRequires: pkgconfig(libtirpc)
57 BuildRequires: pkgconfig(OpenEXR)
58
59 # mga#24372
60 Requires: kio
61
62 Provides: kio-mtp = %version-%release
63
64
65 %description
66 Extra kio plugins needed by KF5.
67
68 %files -f %name.lang
69 %_kf5_categoriesdir/kio-extras.categories
70 %_qt5_plugindir/*.so
71 %_kf5_plugindir/kio/*
72 %_kf5_plugindir/kiod/*
73 %_kf5_plugindir/kded/*
74 %_kf5_plugindir/kfileitemaction/*
75 %_kf5_services/*
76 %_kf5_datadir/config.kcfg/jpegcreatorsettings5.kcfg
77 %_kf5_datadir/dbus-1/interfaces/kf5_org.kde.network.kioslavenotifier.xml
78 %_kf5_datadir/dbus-1/services/org.kde.kmtp.daemon.service
79 %_kf5_datadir/kio_bookmarks
80 %_kf5_datadir/kio_docfilter
81 %_kf5_datadir/kio_info
82 %_kf5_datadir/konqsidebartng
83 %_kf5_servicetypes/*.desktop
84 %_kf5_datadir/mime/packages/kf5_network.xml
85 %_kf5_datadir/remoteview/*.desktop
86 %_kf5_datadir/konqueror/dirtree/remote/smb-network.desktop
87 %_kf5_datadir/konqueror/dirtree/remote/mtp-network.desktop
88 %_kf5_datadir/solid/actions/solid_mtp.desktop
89
90 #--------------------------------------------------------------------
91
92 %define libmolletnetwork_major 20
93 %define libmolletnetwork %mklibname molletnetwork5_ %{libmolletnetwork_major}
94
95 %package -n %libmolletnetwork
96 Summary: Extra kio plugins needed by KF5
97 Group: System/Libraries
98
99 Obsoletes: %{_lib}molletnetwork19 < 19.04.3-2
100
101 %description -n %libmolletnetwork
102 Extra kio plugins needed by KF5.
103
104 %files -n %libmolletnetwork
105 %_kf5_libdir/libmolletnetwork5.so.%{libmolletnetwork_major}{,.*}
106
107 #--------------------------------------------------------------------
108
109 %define libkioarchive_major 5
110 %define libkioarchive %mklibname kioarchive %{libkioarchive_major}
111
112 %package -n %libkioarchive
113 Summary: Extra kio plugins needed by KF5
114 Group: System/Libraries
115
116 %description -n %libkioarchive
117 Extra kio plugins needed by KF5.
118
119 %files -n %libkioarchive
120 %_kf5_libdir/libkioarchive.so.%{libkioarchive_major}{,.*}
121
122 #---------------------------------------------------------------------------
123
124 %define libkioarchive_devel %mklibname kioarchive -d
125
126 %package -n %{libkioarchive_devel}
127 Summary: Devel stuff for %name
128 Group: Development/KDE and Qt
129 Requires: %libkioarchive = %version-%release
130 Provides: libkioarchive-devel = %version-%release
131 Provides: kioarchive-devel = %version-%release
132
133 %description -n %{libkioarchive_devel}
134 Extra kio plugins needed by KF5.
135
136 This package contains header files needed if you wish to build applications
137 based on libkioarchive.
138
139 %files -n %{libkioarchive_devel}
140 %_kf5_includedir/kio_archivebase.h
141 %_kf5_includedir/libkioarchive_export.h
142 %_kf5_libdir/cmake/KioArchive/
143
144 #---------------------------------------------------------------------------
145
146 %package handbook
147 Summary: %name Handbook
148 Group: Documentation
149 BuildArch: noarch
150
151 # duplicated files with KDE 4
152 Conflicts: kdebase4-runtime-handbook
153
154 %description handbook
155 This package provides %name Handbook.
156
157 %files handbook
158 %_kf5_docdir/HTML/*/kioslave5/*
159
160 #------------------------------------------------
161
162 %prep
163 %setup -q
164 %autopatch -p1
165
166 %build
167 %cmake_kf5 -Wno-dev \
168 -DLIBSSH_LIBRARIES="$(pkg-config --libs libssh)" \
169 -DSYSCONF_INSTALL_DIR="%_kf5_sysconfdir"
170 %cmake_build
171
172 %install
173 %cmake_install
174 %find_lang %name --all-name

  ViewVC Help
Powered by ViewVC 1.1.30