/[packages]/updates/8/nextcloud-client/current/SPECS/nextcloud-client.spec
ViewVC logotype

Annotation of /updates/8/nextcloud-client/current/SPECS/nextcloud-client.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1745992 - (hide annotations) (download)
Mon Sep 20 07:35:58 2021 UTC (2 years, 7 months ago) by neoclust
File size: 6159 byte(s)
New version 3.3.3 (mga#29043)
1 neoclust 1064247 %global _hardened_build 1
2 daviddavid 1065511 %define _cmake_skip_rpath %nil
3     # exclude devel(libocsync)
4     %global __requires_exclude ^(devel\\(libocsync.*)$
5 neoclust 1064247
6 guillomovitch 1459964 %define nextcloudsync_major 0
7     %define libnextcloudsync %mklibname nextcloudsync %nextcloudsync_major
8    
9     %define libocsync_major 0
10     %define liblibocsync %mklibname ocsync %libocsync_major
11    
12 neoclust 1064247 Name: nextcloud-client
13 neoclust 1745992 Version: 3.3.3
14 guillomovitch 1662997 Release: %mkrel 1
15 neoclust 1064247 Summary: The Nextcloud Client
16 daviddavid 1065364 Group: Archiving/Backup
17 neoclust 1064247
18     # -libs are LGPLv2+, rest GPLv2
19     License: LGPLv2+ and GPLv2
20     Url: https://nextcloud.com/install/#install-clients
21 neoclust 1745992 Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz
22 neoclust 1064247 Source2: %{name}.appdata.xml
23 neoclust 1745992 Patch2: xcb.patch
24 neoclust 1064247
25 guillomovitch 1375575 Recommends: libgnome-keyring
26 guillomovitch 1459964 Requires: %{libnextcloudsync} = %{version}-%{release}
27     Requires: %{liblibocsync} = %{version}-%{release}
28 joequant 1633440 Requires: qtquickcontrols2
29 guillomovitch 1375575
30 neoclust 1064247 BuildRequires: desktop-file-utils
31     BuildRequires: doxygen
32 guillomovitch 1375575 BuildRequires: appstream-util
33     BuildRequires: inotify-tools
34 guillomovitch 1429399 BuildRequires: python3dist(sphinx)
35 daviddavid 1065511 BuildRequires: pkgconfig(neon)
36     BuildRequires: pkgconfig(openssl)
37 guillomovitch 1375575 BuildRequires: pkgconfig(cloudproviders)
38     BuildRequires: pkgconfig(sqlite3)
39 neoclust 1064247 BuildRequires: kf5-macros
40     BuildRequires: cmake(KF5KIO)
41     BuildRequires: cmake(Qt5Keychain)
42 guillomovitch 1375575 BuildRequires: qtsingleapplication-qt5-devel
43 daviddavid 1245192 BuildRequires: pkgconfig(Qt5Core)
44     BuildRequires: pkgconfig(Qt5Gui)
45     BuildRequires: pkgconfig(Qt5Network)
46 daviddavid 1065364 BuildRequires: pkgconfig(Qt5Concurrent)
47     BuildRequires: pkgconfig(Qt5WebKitWidgets)
48 mokraemer 1336596 BuildRequires: pkgconfig(Qt5WebEngineWidgets)
49 daviddavid 1065364 BuildRequires: pkgconfig(Qt5DBus)
50     BuildRequires: pkgconfig(Qt5Help)
51 daviddavid 1245192 BuildRequires: pkgconfig(Qt5Xml)
52 guillomovitch 1623114 BuildRequires: pkgconfig(Qt5QuickControls2)
53 joequant 1633440 BuildRequires: pkgconfig(Qt5Qml)
54 neoclust 1706104 BuildRequires: pkgconfig(Qt5WebSockets)
55 neoclust 1745992 BuildRequires: inkscape
56 daviddavid 1065364 Provides: owncloud-client = %version-%release
57     Obsoletes: owncloud-client < 2.2.4-2
58 neoclust 1064247
59     %description
60     Nextcloud-client enables you to connect to your private Nextcloud Server.
61     With it you can create folders in your home directory, and keep the contents
62     of those folders synced with your Nextcloud server. Simply copy a file into
63     the directory and the Nextcloud Client does the rest.
64    
65 daviddavid 1065364 %files
66 neoclust 1064247 %{_bindir}/nextcloud
67     %{_bindir}/nextcloudcmd
68 neoclust 1745992 %{_datadir}/mime/packages/nextcloud.xml
69 guillomovitch 1605445 %{_datadir}/applications/com.nextcloud.desktopclient.nextcloud.desktop
70 daviddavid 1065365 %dir %{_datadir}/nextcloud
71     %{_datadir}/nextcloud/i18n/
72 neoclust 1064247 %{_datadir}/icons/hicolor/*/apps/*
73     %{_datadir}/appdata/%{name}.appdata.xml
74 daviddavid 1065511 %dir %{_sysconfdir}/Nextcloud
75 neoclust 1064247 %{_sysconfdir}/Nextcloud/sync-exclude.lst
76 guillomovitch 1372354 %{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
77     %{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
78 neoclust 1064247
79     %package nautilus
80 daviddavid 1065364 Summary: nextcloud client nautilus extension
81     Requires: nautilus
82     Requires: nautilus-python
83     Requires: %{name} = %{version}-%{release}
84 neoclust 1064247
85     %description nautilus
86     The nextcloud desktop client nautilus extension.
87    
88     %files nautilus
89     %{_datadir}/nautilus-python/extensions/*
90    
91     %package nemo
92     Summary: Nemo overlay icons
93     Requires: nemo
94     Requires: nemo-python
95 neoclust 1065358 Requires: %{name} = %{version}-%{release}
96 neoclust 1064247
97     %description nemo
98     This package provides overlay icons to visualize the sync state
99     in the nemo file manager.
100    
101     %files nemo
102     %{_datadir}/nemo-python/extensions/*
103    
104 guillomovitch 1130020 %package caja
105     Summary: Caja overlay icons
106     Requires: caja
107     Requires: python-caja
108 guillomovitch 1429399 Requires: %{name} = %{version}-%{release}
109 guillomovitch 1130020
110     %description caja
111     This package provides overlay icons to visualize the sync state
112     in the caja file manager.
113    
114     %files caja
115     %{_datadir}/caja-python/extensions/*
116 neoclust 1064247
117     %package dolphin
118     Summary: Dolphin overlay icons
119     Requires: dolphin
120 neoclust 1065358 Requires: %{name} = %{version}-%{release}
121 neoclust 1064247
122     %description dolphin
123     The nextcloud desktop client dolphin extension.
124    
125     %files dolphin
126 daviddavid 1065365 %{_kf5_libdir}/libnextclouddolphinpluginhelper.so
127 neoclust 1064247 %{_kf5_plugindir}/overlayicon/nextclouddolphinoverlayplugin.so
128     %{_qt5_plugindir}/nextclouddolphinactionplugin.so
129 daviddavid 1065365 %{_kf5_services}/nextclouddolphinactionplugin.desktop
130 neoclust 1064247
131     %package -n %libnextcloudsync
132 daviddavid 1065364 Summary: The Nextcloud Client Libraries
133     Group: System/Libraries
134 daviddavid 1065365 # From owncloud-client
135     Obsoletes: %{_lib}owncloudsync2 < 2.2.4-2
136 neoclust 1064247
137     %description -n %libnextcloudsync
138 daviddavid 1065364 The Nextcloud Client Libraries.
139 neoclust 1064247
140     %files -n %libnextcloudsync
141     %{_libdir}/libnextcloudsync.so.%nextcloudsync_major
142     %{_libdir}/libnextcloudsync.so.%version
143    
144    
145     %package -n %liblibocsync
146 daviddavid 1065364 Summary: The Nextcloud Client Libraries
147     Group: System/Libraries
148 daviddavid 1065365 Obsoletes: %{_lib}libocsync0 < 2.2.4-4
149     # From owncloud-client
150     Obsoletes: %{_lib}ocsync2 < 2.2.4-2
151 neoclust 1064247
152     %description -n %liblibocsync
153 daviddavid 1065364 The Nextcloud Client Libraries.
154 neoclust 1064247
155     %files -n %liblibocsync
156 neoclust 1745992 %_libdir/libnextcloud_csync.so.%{libocsync_major}
157     %_libdir/libnextcloud_csync.so.%{version}
158 daviddavid 1065364
159 daviddavid 1065365 %define develname %mklibname %{name} -d
160    
161     %package -n %{develname}
162 daviddavid 1065364 Summary: Development files for nextcloud-client
163     License: LGPLv2+
164     Requires: %libnextcloudsync = %{version}-%{release}
165     Requires: %liblibocsync = %{version}-%{release}
166     Provides: %{name}-static = %{version}-%{release}
167 daviddavid 1065365 Provides: %{name}-devel = %{version}-%{release}
168     Obsoletes: %{name}-devel < 2.2.4-4
169     # From owncloud-client
170     Obsoletes: %{_lib}owncloud-client-devel < 2.2.4-2
171 neoclust 1064247
172 daviddavid 1065365 %description -n %{develname}
173 daviddavid 1065364 Development headers for use of the nextcloud-client library.
174 neoclust 1064247
175 daviddavid 1065365 %files -n %{develname}
176 neoclust 1064247 %{_libdir}/libnextcloudsync.so
177     %{_includedir}/nextcloudsync/
178 neoclust 1745992 %{_libdir}/libnextcloud_csync.so
179     %{_libdir}/nextcloudsync_vfs_suffix.so
180     %{_libdir}/nextcloudsync_vfs_xattr.so
181 neoclust 1064247
182     %prep
183 guillomovitch 1429399 %setup -q -n desktop-%{version}
184 mokraemer 1336596 %autopatch -p1
185 neoclust 1064247
186     %build
187 daviddavid 1065364
188 daviddavid 1065365 %cmake_kf5 \
189 guillomovitch 1357916 -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
190     -DCMAKE_INSTALL_PREFIX=%{_usr} \
191 neoclust 1706020 -DNO_SHIBBOLETH=True \
192 guillomovitch 1357916 -DINOTIFY_LIBRARY="%{_libdir}/libc.so"
193 wally 1470613 %cmake_build
194 neoclust 1064247
195     %install
196 wally 1470613 %cmake_install
197 daviddavid 1065365
198 mokraemer 1336596 #%find_lang client --with-qt
199 neoclust 1064247 mkdir -p %{buildroot}%{_datadir}/appdata/
200     install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
201    
202     %check
203     appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
204 neoclust 1745992

  ViewVC Help
Powered by ViewVC 1.1.30