Пакет NetworkManager-openconnect: Specfile
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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | %define nm_version 1.1.90 %define nm_applet_version 1.2.0 %define nm_applet_name NetworkManager-applet-gtk %def_with gtk4 %def_without libnm_glib %define _unpackaged_files_terminate_build 1 Name: NetworkManager-openconnect Version: 1.2.10 Release: alt2 License: GPLv2+ Group: System/Configuration/Networking Summary: NetworkManager VPN integration for openconnect Url: http://www.gnome.org/projects/NetworkManager/ # https://gitlab.gnome.org/GNOME/NetworkManager-openconnect.git Source: %name-%version.tar Patch1: %name-%version-%release.patch Requires: NetworkManager-daemon >= %nm_version Requires: openconnect BuildRequires: pkgconfig(glib-2.0) >= 2.34 pkgconfig(gmodule-2.0) BuildRequires: libopenconnect-devel >= 3.02 BuildRequires: pkgconfig(webkit2gtk-4.1) BuildRequires: libnm-devel >= %nm_version BuildRequires: libnma-devel >= %nm_applet_version %if_with libnm_glib BuildRequires: NetworkManager-devel >= %nm_version BuildRequires: libnm-glib-vpn-devel >= %nm_version BuildRequires: libnm-gtk-devel >= %nm_applet_version %endif %if_with gtk4 BuildRequires: libgtk4-devel BuildRequires: libnma-gtk4-devel %else BuildRequires: libgtk+3-devel %endif BuildRequires: gcr-libs-devel >= 3.4 BuildRequires: libsecret-devel >= 0.18 BuildRequires: intltool gettext BuildRequires: libxml2-devel %description This package contains software for integrating the openconnect VPN software with NetworkManager and the GNOME desktop %package gtk License: GPLv2+ Summary: Applications for use %name with %nm_applet_name Group: Graphical desktop/GNOME Requires: %nm_applet_name >= %nm_applet_version Requires: NetworkManager-openconnect = %version-%release Obsoletes: %name-gnome < 0.9.8.4 Provides: %name-gnome = %version-%release %description gtk This package contains applications for use with NetworkManager panel applet. %package gtk4 License: GPLv2+ Summary: Files for GTK4 applications to use %name Group: Graphical desktop/GNOME Requires: NetworkManager-openconnect = %version-%release %description gtk4 This package contains files for GTK4 applications to use %name. %prep %setup %patch1 -p1 %build %autoreconf %configure \ --disable-static \ --libexecdir=%_libexecdir/NetworkManager \ --localstatedir=%_var \ %if_without libnm_glib --without-libnm-glib \ %endif %{subst_with gtk4} \ --disable-silent-rules \ --enable-more-warnings=error %make_build %install %makeinstall_std install -d -m 0750 %buildroot%_sharedstatedir/nm-openconnect %find_lang %name %pre groupadd -r -f nm-openconnect 2>/dev/null ||: useradd -r -s /sbin/nologin -d %_sharedstatedir/nm-openconnect -M \ -c 'NetworkManager user for OpenConnect' \ -g nm-openconnect nm-openconnect 2>/dev/null ||: %files -f %name.lang %doc AUTHORS ChangeLog COPYING %_libdir/NetworkManager/libnm-vpn-plugin-openconnect.so %_datadir/dbus-1/system.d/nm-openconnect-service.conf %_libexecdir/NetworkManager/nm-openconnect-service %_libexecdir/NetworkManager/nm-openconnect-service-openconnect-helper %if_with libnm_glib %config %_sysconfdir/NetworkManager/VPN/nm-openconnect-service.name %endif %config %_libexecdir/NetworkManager/VPN/nm-openconnect-service.name %attr(0770,nm-openconnect,nm-openconnect) %dir %_sharedstatedir/nm-openconnect %files gtk %if_with libnm_glib %_libdir/NetworkManager/libnm-openconnect-properties.so %endif %_libexecdir/NetworkManager/nm-openconnect-auth-dialog %_libdir/NetworkManager/libnm-vpn-plugin-openconnect-editor.so %_datadir/metainfo/network-manager-openconnect.metainfo.xml %if_with gtk4 %files gtk4 %_libdir/NetworkManager/libnm-gtk4-vpn-plugin-openconnect-editor.so %endif %exclude %_libdir/NetworkManager/lib*.la %changelog * Wed Nov 29 2023 Anton Midyukov <antohami@altlinux.org> 1.2.10-alt2 - NMU: + gtk4: Remove dependency on NetworkManager-applet-gtk (ALT#48620). + gtk4: Update summary, descriptions. * Mon Sep 11 2023 Alexey Shabalin <shaba@altlinux.org> 1.2.10-alt1 - New version 1.2.10. - Add gtk4 package. - Add nm-openconnect user in %%pre (ALT#47321). * Mon Sep 26 2022 Alexey Shabalin <shaba@altlinux.org> 1.2.8-alt1 - new version 1.2.8 * Wed Aug 21 2019 Alexey Shabalin <shaba@altlinux.org> 1.2.6-alt1 - new version 1.2.6 * Wed Aug 01 2018 Mikhail Efremov <sem@altlinux.org> 1.2.4-alt3 - Disable libnm-glib-* support. - Fix build without libnm-glib-*. * Wed Jan 10 2018 Mikhail Efremov <sem@altlinux.org> 1.2.4-alt2 - Fix build. * Mon Dec 05 2016 Mikhail Efremov <sem@altlinux.org> 1.2.4-alt1 - Updated to 1.2.4. * Mon Oct 10 2016 Vladimir Didenko <cow@altlinux.org> 1.2.2-alt2 - Rebuild with openconnect-7.06 * Fri May 13 2016 Mikhail Efremov <sem@altlinux.org> 1.2.2-alt1 - Updated to 1.2.2. * Fri Apr 22 2016 Mikhail Efremov <sem@altlinux.org> 1.2.0-alt1 - Updated to 1.2.0. * Tue Mar 29 2016 Mikhail Efremov <sem@altlinux.org> 1.1.92-alt1 - Updated to 1.1.92 (1.2-beta3). * Wed Mar 02 2016 Mikhail Efremov <sem@altlinux.org> 1.1.91-alt1 - Updated to 1.1.91 (1.2-beta2). * Thu Jan 21 2016 Mikhail Efremov <sem@altlinux.org> 1.1.90-alt1 - Updated BR. - 1.1.90. * Tue Jun 24 2014 Mikhail Efremov <sem@altlinux.org> 0.9.8.4-alt5.git.2e653d - Update requires: NetworkManager -> NetworkManager-daemon. - Update BR: Use libnm-glib-vpn-devel. * Wed Apr 02 2014 Mikhail Efremov <sem@altlinux.org> 0.9.8.4-alt4.git.2e653d - Rebuild with NetworkManager-applet-gtk-0.9.9. * Wed Mar 05 2014 Alexey Shabalin <shaba@altlinux.ru> 0.9.8.4-alt3.git.2e653d - rebuild with openconnect-5.99 - nm-0-9-8 branch snapshot (2e653d7b7636f67a25c084ab095907484ab85208) * Thu Oct 03 2013 Mikhail Efremov <sem@altlinux.org> 0.9.8.4-alt2 - Fix build: Avoid deprecation warnings. * Mon Sep 16 2013 Mikhail Efremov <sem@altlinux.org> 0.9.8.4-alt1 - Don't reload DBUS configuration during install. - Rename 'gnome' subpackage to 'gtk'. - 0.9.8.4 * Tue Feb 26 2013 Alexey Shabalin <shaba@altlinux.ru> 0.9.8.0-alt1 - 0.9.8.0 * Thu Oct 25 2012 Alexey Shabalin <shaba@altlinux.ru> 0.9.6.2-alt1 - 0.9.6.2 * Mon Aug 06 2012 Alexey Shabalin <shaba@altlinux.ru> 0.9.5.95-alt1 - 0.9.5.95 * Tue May 22 2012 Alexey Shabalin <shaba@altlinux.ru> 0.9.4.0-alt2 - upstream snapshot 12e173e93b1fc2559c24d870bcf1d0aba41e3d32 * Wed Apr 04 2012 Alexey Shabalin <shaba@altlinux.ru> 0.9.4.0-alt1 - 0.9.4.0 * Wed Nov 16 2011 Alexey Shabalin <shaba@altlinux.ru> 0.9.2-alt1 - 0.9.2 * Thu Sep 15 2011 Alexey Shabalin <shaba@altlinux.ru> 0.9.0-alt1 - 0.9.0 * Mon May 30 2011 Alexey Shabalin <shaba@altlinux.ru> 0.8.999-alt1 - 0.8.999 * Mon Apr 04 2011 Mikhail Efremov <sem@altlinux.org> 0.8.3.995-alt1 - Minor spec cleanup. - Changed libexecdir to %%_libexecdir/NetworkManager. - 0.8.3.995 (0.8.4-beta1). * Fri Nov 12 2010 Alexey Shabalin <shaba@altlinux.ru> 0.8.2-alt1 - 0.8.2 * Tue Oct 12 2010 Alexey Shabalin <shaba@altlinux.ru> 0.8.1-alt1 - 0.8.1 * Sun May 16 2010 Alexey Shabalin <shaba@altlinux.ru> 0.8.0.997-alt1 - 0.8.0.997 (0.8.1-beta1) * Wed Mar 03 2010 Alexey Shabalin <shaba@altlinux.ru> 0.8-alt1 - 0.8 * Sun Jan 17 2010 Alexey Shabalin <shaba@altlinux.ru> 0.7.997-alt1 - initial build |