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

Diff of /updates/6/nextcloud-client/current/SPECS/nextcloud-client.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1336761 by mokraemer, Wed Nov 28 22:57:13 2018 UTC revision 1336762 by mokraemer, Thu Nov 29 20:40:25 2018 UTC
# Line 1  Line 1 
1  %global _hardened_build 1  %global _hardened_build 1
2  %define _cmake_skip_rpath %nil  %define _cmake_skip_rpath %nil
3  # exclude devel(libocsync)  # exclude devel(libocsync)
4  %global __requires_exclude  ^(devel\\(libocsync.*)$  %global __requires_exclude ^(devel\\(libocsync.*)$
5    
6  Name:           nextcloud-client  %define nextcloudsync_major 0
7  Version:        2.5.0  %define libnextcloudsync %mklibname nextcloudsync %nextcloudsync_major
8  Release:        %mkrel 1  %define libocsync_major 0
9  Summary:        The Nextcloud Client  %define liblibocsync %mklibname ocsync %libocsync_major
10  Group:          Archiving/Backup  
11    Name:   nextcloud-client
12    Version:        2.5.0
13    Release:        %mkrel 2
14    Summary:        The Nextcloud Client
15    Group:  Archiving/Backup
16    
17  # -libs are LGPLv2+, rest GPLv2  # -libs are LGPLv2+, rest GPLv2
18  License:        LGPLv2+ and GPLv2  License:        LGPLv2+ and GPLv2
19  Url:            https://nextcloud.com/install/#install-clients  Url:    https://nextcloud.com/install/#install-clients
20  Source0:        https://github.com/nextcloud/desktop/archive/v%{version}.tar.gz  Source0:        https://github.com/nextcloud/desktop/archive/v%{version}.tar.gz
21  #Source1:        https://download.owncloud.com/desktop/stable/owncloudclient-%{version}.tar.xz  #Source1:       https://download.owncloud.com/desktop/stable/owncloudclient-%{version}.tar.xz
22  Source2:        %{name}.appdata.xml  Source2:        %{name}.appdata.xml
23  #Patch0:         %{name}-2.4.0-syslibs.patch  #Patch0:        %{name}-2.4.0-syslibs.patch
24  #Patch1:         %{name}-icon.patch  #Patch1:        %{name}-icon.patch
25  Patch2:         %{name}-inotify.patch  Patch2: %{name}-inotify.patch
26  Patch3: openssl.patch  Patch3: openssl.patch
27    
28  BuildRequires:  desktop-file-utils  BuildRequires:  desktop-file-utils
29  BuildRequires:  doxygen  BuildRequires:  doxygen
30  BuildRequires:  pkgconfig(neon)  BuildRequires:  pkgconfig(neon)
31  BuildRequires:  pkgconfig(openssl)  BuildRequires:  pkgconfig(openssl)
32  BuildRequires:  python-sphinx  BuildRequires:  python-sphinx
33  BuildRequires:  qtsingleapplication-qt5-devel  BuildRequires:  qtsingleapplication-qt5-devel
34  BuildRequires:  appstream-util  BuildRequires:  appstream-util
35    
36  BuildRequires:  kf5-macros  BuildRequires:  kf5-macros
37    
38  BuildRequires:  cmake(KF5KIO)  BuildRequires:  cmake(KF5KIO)
39    
40  BuildRequires:  cmake(Qt5Keychain)  BuildRequires:  cmake(Qt5Keychain)
41    
42  BuildRequires:  pkgconfig(sqlite3)  BuildRequires:  pkgconfig(sqlite3)
43  BuildRequires:  inotify-tools  BuildRequires:  inotify-tools
44    
45    
46  BuildRequires:  pkgconfig(Qt5Core)  BuildRequires:  pkgconfig(Qt5Core)
47  BuildRequires:  pkgconfig(Qt5Gui)  BuildRequires:  pkgconfig(Qt5Gui)
48  BuildRequires:  pkgconfig(Qt5Network)  BuildRequires:  pkgconfig(Qt5Network)
49  BuildRequires:  pkgconfig(Qt5Concurrent)  BuildRequires:  pkgconfig(Qt5Concurrent)
50  BuildRequires:  pkgconfig(Qt5WebKitWidgets)  BuildRequires:  pkgconfig(Qt5WebKitWidgets)
51  BuildRequires:  pkgconfig(Qt5WebEngineWidgets)  BuildRequires:  pkgconfig(Qt5WebEngineWidgets)
52  BuildRequires:  pkgconfig(Qt5DBus)  BuildRequires:  pkgconfig(Qt5DBus)
53  BuildRequires:  pkgconfig(Qt5Help)  BuildRequires:  pkgconfig(Qt5Help)
54  BuildRequires:  pkgconfig(Qt5Xml)  BuildRequires:  pkgconfig(Qt5Xml)
55    
56  Provides:       owncloud-client = %version-%release  Requires:       %liblibocsync = %{version}-%{release}
57  Obsoletes:      owncloud-client < 2.2.4-2  Requires:       %libnextcloudsync = %{version}-%{release}
58    Provides:       owncloud-client = %version-%release
59    Obsoletes:      owncloud-client < 2.2.4-2
60    
61  %description  %description
62  Nextcloud-client enables you to connect to your private Nextcloud Server.  Nextcloud-client enables you to connect to your private Nextcloud Server.
# Line 71  the directory and the Nextcloud Client d Line 78  the directory and the Nextcloud Client d
78  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
79    
80  %package nautilus  %package nautilus
81  Summary:        nextcloud client nautilus extension  Summary:        nextcloud client nautilus extension
82  Requires:       nautilus  Requires:       nautilus
83  Requires:       nautilus-python  Requires:       nautilus-python
84  Requires:       %{name} = %{version}-%{release}  Requires:       %{name} = %{version}-%{release}
85    
86  %description nautilus  %description nautilus
87  The nextcloud desktop client nautilus extension.  The nextcloud desktop client nautilus extension.
# Line 85  The nextcloud desktop client nautilus ex Line 92  The nextcloud desktop client nautilus ex
92  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
93    
94  %package nemo  %package nemo
95  Summary:        Nemo overlay icons  Summary:        Nemo overlay icons
96  Requires:       nemo  Requires:       nemo
97  Requires:       nemo-python  Requires:       nemo-python
98  Requires:       %{name} = %{version}-%{release}  Requires:       %{name} = %{version}-%{release}
99    
100  %description nemo  %description nemo
101  This package provides overlay icons to visualize the sync state  This package provides overlay icons to visualize the sync state
# Line 98  in the nemo file manager. Line 105  in the nemo file manager.
105  %{_datadir}/nemo-python/extensions/*  %{_datadir}/nemo-python/extensions/*
106    
107  %package caja  %package caja
108  Summary:        Caja overlay icons  Summary:        Caja overlay icons
109  Requires:       caja  Requires:       caja
110  Requires:       python-caja  Requires:       python-caja
111  Requires: %{name}%{?_isa} = %{version}-%{release}  Requires: %{name}%{?_isa} = %{version}-%{release}
112    
113  %description caja  %description caja
# Line 112  in the caja file manager. Line 119  in the caja file manager.
119  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
120    
121  %package dolphin  %package dolphin
122  Summary:        Dolphin overlay icons  Summary:        Dolphin overlay icons
123  Requires:       dolphin  Requires:       dolphin
124  Requires:       %{name} = %{version}-%{release}  Requires:       %{name} = %{version}-%{release}
125    
126  %description dolphin  %description dolphin
127  The nextcloud desktop client dolphin extension.  The nextcloud desktop client dolphin extension.
# Line 127  The nextcloud desktop client dolphin ext Line 134  The nextcloud desktop client dolphin ext
134    
135  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
136    
 %define nextcloudsync_major 0  
 %define libnextcloudsync %mklibname nextcloudsync %nextcloudsync_major  
137    
138  %package -n %libnextcloudsync  %package -n %libnextcloudsync
139  Summary:        The Nextcloud Client Libraries  Summary:        The Nextcloud Client Libraries
140  Group:          System/Libraries  Group:  System/Libraries
141  # From owncloud-client  # From owncloud-client
142  Obsoletes:      %{_lib}owncloudsync2 < 2.2.4-2  Obsoletes:      %{_lib}owncloudsync2 < 2.2.4-2
143    
144  %description -n %libnextcloudsync  %description -n %libnextcloudsync
145  The Nextcloud Client Libraries.  The Nextcloud Client Libraries.
# Line 145  The Nextcloud Client Libraries. Line 150  The Nextcloud Client Libraries.
150    
151  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
152    
 %define libocsync_major 0  
 %define liblibocsync %mklibname ocsync %libocsync_major  
   
153  %package -n %liblibocsync  %package -n %liblibocsync
154  Summary:        The Nextcloud Client Libraries  Summary:        The Nextcloud Client Libraries
155  Group:          System/Libraries  Group:  System/Libraries
156  Obsoletes:      %{_lib}libocsync0 < 2.2.4-4  Obsoletes:      %{_lib}libocsync0 < 2.2.4-4
157  # From owncloud-client  # From owncloud-client
158  Obsoletes:      %{_lib}ocsync2 < 2.2.4-2  Obsoletes:      %{_lib}ocsync2 < 2.2.4-2
159    
160  %description -n %liblibocsync  %description -n %liblibocsync
161  The Nextcloud Client Libraries.  The Nextcloud Client Libraries.
# Line 169  The Nextcloud Client Libraries. Line 171  The Nextcloud Client Libraries.
171  %define develname %mklibname %{name} -d  %define develname %mklibname %{name} -d
172    
173  %package -n %{develname}  %package -n %{develname}
174  Summary:        Development files for nextcloud-client  Summary:        Development files for nextcloud-client
175  License:        LGPLv2+  License:        LGPLv2+
176  Requires:       %libnextcloudsync = %{version}-%{release}  Requires:       %libnextcloudsync = %{version}-%{release}
177  Requires:       %liblibocsync = %{version}-%{release}  Requires:       %liblibocsync = %{version}-%{release}
178  Provides:       %{name}-static = %{version}-%{release}  Provides:       %{name}-static = %{version}-%{release}
179  Provides:       %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
180  Obsoletes:      %{name}-devel < 2.2.4-4  Obsoletes:      %{name}-devel < 2.2.4-4
181  # From owncloud-client  # From owncloud-client
182  Obsoletes:      %{_lib}owncloud-client-devel < 2.2.4-2  Obsoletes:      %{_lib}owncloud-client-devel < 2.2.4-2
183    
184  %description -n %{develname}  %description -n %{develname}
185  Development headers for use of the nextcloud-client library.  Development headers for use of the nextcloud-client library.
# Line 197  Development headers for use of the nextc Line 199  Development headers for use of the nextc
199  %build  %build
200    
201  %cmake_kf5 \  %cmake_kf5 \
202          -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \          -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
203          -DNO_SHIBBOLETH=1 \          -DNO_SHIBBOLETH=1 \
204          -DCMAKE_INSTALL_PREFIX=%{_usr} \          -DCMAKE_INSTALL_PREFIX=%{_usr} \
205          -DINOTIFY_LIBRARY="%{_libdir}/libc.so"          -DINOTIFY_LIBRARY="%{_libdir}/libc.so"
206  %make_build  %make_build
207    
208    

Legend:
Removed from v.1336761  
changed lines
  Added in v.1336762

  ViewVC Help
Powered by ViewVC 1.1.28