Package NetworkManager: 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 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 | %define dbus_version 1.1 %define libdbus_glib_version 0.76 %define hal_version 0.5.0 %define libnl_version 1.1 %define ppp_version 2.4.4 %define wpa_supplicant_version 0.5.10-alt3 %define dhcpcd_version 3.0.0 Name: NetworkManager Version: 0.7.1 Release: alt5.M41.5 License: %gpl2plus Group: System/Configuration/Networking Summary: Network Link Manager and User Applications Url: http://www.gnome.org/projects/NetworkManager/ Packager: Mikhail Efremov <sem@altlinux.org> Source: %name-%version.tar Source1: nm-system-settings.conf Source2: 55-update-chrooted Patch0: %name-%version-%release.patch Patch2: alt-set-iwconfig-essid.patch Patch3: alt-no-system.patch Requires: dbus >= %dbus_version Requires: wpa_supplicant >= %wpa_supplicant_version Requires: hal >= %hal_version Requires: iproute2 openssl Requires: libnl >= %libnl_version Requires: ppp = %ppp_version Requires: dhcpcd >= %dhcpcd_version Requires: dhcpcd < 4.0.0 Requires: nss >= 3.11.7 Requires: libgio Requires: libuuid Requires: ppp-pppoe Requires: dnsmasq Conflicts: dhcp-client Conflicts: NetworkManager-vpnc < 0.7.0.97 Conflicts: NetworkManager-openvpn < 0.7.0.97 Conflicts: NetworkManager-pptp < 0.7.0.97 Conflicts: NetworkManager-gnome < 0.7.0.97 BuildPreReq: intltool libgcrypt-devel libtool # Automatically added by buildreq on Mon Apr 21 2008 BuildRequires: glibc-devel-static iproute2 libhal-devel libnl-devel libwireless-devel ppp-devel BuildRequires: libdbus-glib-devel >= %libdbus_glib_version BuildRequires: libpolkit-devel libnss-devel libgio-devel libuuid-devel gtk-doc BuildRequires: rpm-build-licenses %description NetworkManager attempts to keep an active network connection available at all times. The point of NetworkManager is to make networking configuration and setup as painless and automatic as possible. If using DHCP, NetworkManager is intended to replace default routes, obtain IP addresses from a DHCP server, and change name servers whenever it sees fit. %package devel License: %gpl2plus Summary: Libraries and headers for adding NetworkManager support to applications Group: Development/Other Requires: libdbus-glib >= %libdbus_glib_version Requires: libdbus-devel >= %dbus_version Requires: pkgconfig %description devel This package contains various headers accessing some NetworkManager functionality from applications. %package glib License: %gpl2plus Summary: Libraries for adding NetworkManager support to applications that use glib Group: Development/GNOME and GTK+ Requires: dbus >= %dbus_version Requires: libdbus-glib >= %libdbus_glib_version %description glib This package contains the libraries that make it easier to use some Network Manager functionality from applications that use glib. %package glib-devel Summary: Header files for adding NetworkManager support to applications that use glib. Group: Development/GNOME and GTK+ Requires: %name-devel = %version-%release Requires: %name-glib = %version-%release Requires: glib2-devel Requires: pkgconfig Requires: libdbus-glib-devel >= %libdbus_glib_version %description glib-devel This package contains the header and pkg-config files for development applications using NetworkManager functionality from applications that use glib. %package glib-devel-doc Summary: Development documentation for %name-glib Group: Development/GNOME and GTK+ Conflicts: %name-glib < %version BuildArch: noarch %description glib-devel-doc This package contains development documentation for %name-glib %prep %setup -n %name-%version %patch0 -p1 %patch2 -p2 %patch3 -p2 %build %autoreconf %configure \ --libexecdir=%_libexecdir/NetworkManager \ --disable-static \ --with-crypto=nss \ --with-distro=alt \ --with-dhcp-client=%_sbindir/dhclient \ --with-docs=no %make_build cd ./dhclient %make_build cd .. %install %make_install DESTDIR=%buildroot install %find_lang %name mkdir -p %buildroot%_bindir mkdir -p %buildroot%_sysconfdir/NetworkManager/VPN mkdir -p %buildroot%_sysconfdir/NetworkManager/system-connections ./libtool --mode=install install -m 755 test/nm-online %buildroot%_bindir/ mkdir -p %buildroot/var/log/ touch %buildroot/var/log/NetworkManager mkdir -p %buildroot/var/run/NetworkManager install -m 0644 %SOURCE1 %buildroot%_sysconfdir/NetworkManager/ install -m 755 %SOURCE2 %buildroot%_sysconfdir/NetworkManager/dispatcher.d/ cd ./dhclient %make_install DESTDIR=%buildroot install cd .. %post if /sbin/service messagebus status &>/dev/null; then dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig &>/dev/null ||: #post_service %name if [ $1 -eq 1 ]; then /sbin/chkconfig --add NetworkManager else /sbin/chkconfig NetworkManager resetpriorities ||: fi else echo "NetworkManager requires running messagebus service." >&2 fi %preun %preun_service %name if [ $1 -eq 0 ]; then killall -TERM nm-system-settings >/dev/null 2>&1 ||: fi %files -f %name.lang %doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO %_bindir/nm-tool %_bindir/nm-online %_libdir/pppd/%ppp_version/nm-pppd-plugin.so %_datadir/NetworkManager %_datadir/dbus-1/system-services/*.service %dir %_localstatedir/run/NetworkManager %doc %_man1dir/*.* %doc %_man8dir/*.* %dir %_libexecdir/NetworkManager/ %dir %_libdir/NetworkManager/ %_libdir/NetworkManager/libnm-*.so %_libexecdir/NetworkManager/nm-* %_sbindir/* %_sysconfdir/dbus-1/system.d/*.conf %config(noreplace) %_sysconfdir/NetworkManager/nm-system-settings.conf %_initrddir/NetworkManager %dir %_sysconfdir/NetworkManager %dir %_sysconfdir/NetworkManager/dispatcher.d %dir %_sysconfdir/NetworkManager/VPN %dir %_sysconfdir/NetworkManager/system-connections %dir /var/run/NetworkManager %ghost %config(noreplace) /var/log/NetworkManager %_datadir/PolicyKit/policy/*.policy %_sysconfdir/NetworkManager/dispatcher.d/* /lib/udev/nm-* /lib/udev/rules.d/* %_sysconfdir/NetworkManager/dispatcher.d/* %files devel %dir %_includedir/%name %_includedir/%name/%name.h %_includedir/%name/NetworkManagerVPN.h %_pkgconfigdir/%name.pc %files glib %_libdir/libnm_glib.so.* %_libdir/libnm_glib_vpn.so.* %_libdir/libnm-util.so.* %files glib-devel %dir %_includedir/libnm-glib %_includedir/libnm-glib/*.h %_includedir/%name/nm-*.h %_pkgconfigdir/libnm_glib.pc %_pkgconfigdir/libnm_glib_vpn.pc %_pkgconfigdir/libnm-util.pc %_libdir/libnm_glib.so %_libdir/libnm_glib_vpn.so %_libdir/libnm-util.so %files glib-devel-doc %dir %_datadir/gtk-doc/html/libnm-glib %_datadir/gtk-doc/html/libnm-glib/* %dir %_datadir/gtk-doc/html/libnm-util %_datadir/gtk-doc/html/libnm-util/* %exclude %_libdir/NetworkManager/*.la %exclude %_libdir/pppd/%ppp_version/*.la %changelog * Thu Jul 30 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5.M41.5 - cherry-picked from upstream: + wait 20 seconds (instead of 15) for PPP connections to come up. + use AT+CGMM instead of AT+GMM for stupid Motorola phones. + probe devices driven by 'moto-modem' too (bgo #583713). + handle odd Cmotech CDMA capabilities (bgo #583353). + recognize Huawei EC121. + fix serial port settings bug. * Mon Jul 20 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5.M41.4 - rename update-chrooted -> 55-update-chrooted. * Fri Jul 17 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5.M41.3 - init script: use private version of stop_daemon. * Sat Jul 11 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5.M41.2 - Revert "don't backup resolv.conf anymore". (In case we are not use resolvconf - it is usefull) * Tue Jul 07 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5.M41.1 - port to M41: * disable resolvconf support * use dhcpcd 3.x.x * start/stop priority '40 90' * not exposyng system connections to user (keep old behavior) * etcnet-alt: if libgio version < 2.18 use private version of g_file_monitor(). * use dhcp-client callout for dhcpcd 3. * build without libudev * Mon Jul 06 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt6 - build with libudev. - etcnet-alt: fixed build without libgio. - fixed exit status of 70-vendor-encap. * Tue Jun 30 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt5 - cherry-picked from upstream git: + wifi: don't bring device up if it's rfkilled. + serial: use termios for better compatibility (rh #464760). - added 70-vendor-encap dispatcher script. * Wed May 13 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt4 - from upstream git: dns: fix handling of searches and domains in resolv.conf * Tue Apr 28 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt3 - ignore interface if 'options' file present and NM_CONTROLLED not set. * Tue Apr 21 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt2 - Remove 'invalid' tag from connections when cable was unplugged and plugged again. * Wed Apr 15 2009 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt1 - Release 0.7.1 * Mon Apr 13 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.100-alt5 - etcnet-alt: fixed handling multiple networks from wpa_supplicant.conf. - added 'sleep' and 'wake' init script commands. * Fri Apr 10 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.100-alt4 - etcnet-alt: don't return secrets in the GetSettings handler - build development documentation * Thu Apr 09 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.100-alt3 - Set hostname if no X server present. - etcnet-alt plugin: implement 'get hostname' property. - use 'action' for sysctl in init script. - use '--persist' nm-dispatcher option. - avoid nm-dispatcher error message. * Tue Apr 07 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.100-alt2 - use own dispatcher script for ntpd * Mon Apr 06 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.100-alt1 - 0.7.0.100 (0.7.1-rc4) * Fri Apr 03 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt7 - call dhcpcd hook for ntpd * Tue Mar 24 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt6 - use /etc/net/ifaces/default for creating connections even if /etc/net/ifaces/<iface> not exists. * Mon Mar 23 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt5 - Fix possible crash when resynchronizing devices if HAL restarts (from upstream git) * Tue Mar 17 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt4 - update-chrooted dispatcher script is removed * Tue Mar 17 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt3 - enable resolvconf support - don't backup resolv.conf anymore * Fri Mar 13 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt2 - init script start/stop priority changed from '40 90' to '12 90' (close ALT bug #19002) * Thu Mar 05 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.99-alt1 - 0.7.0.99 (0.7.1-rc3) * Thu Feb 26 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.98-alt1 - 0.7.0.98 (0.7.1-rc2) - pack source as tar instead tar.gz. * Thu Feb 19 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0.97-alt1 - 0.7.0.97 (0.7.1-rc1) - spec cleanup - fix keyfile plugin test build. * Fri Feb 13 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt19 - also monitoring /etc/net/ifaces/ directory. - fix segfault when file is deleted from /etc/net/ifaces/*/. * Mon Jan 26 2009 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt18 - use dhcpcd 4 * Tue Dec 30 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt17 - enable debug message again - not check frequency matching * Fri Dec 26 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt16 - alt-set-iwconfig-essid.patch update. - nm-device-wifi.c: disable debug message. * Tue Dec 23 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt15 - alt-set-iwconfig-essid.patch updated. - init script start/stop priority changed from '98 02' to '40 90'. * Fri Dec 19 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt14 - save/restore resolv.conf - some fixes in etcnet-alt plugin (close ALT bug #16736, etc) * Mon Dec 15 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt13 - create /etc/NetworkManager/system-connections directory. - kill nm-system-settings when service stop. * Fri Dec 12 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt12 - enable keyfile plugin - fix segmentation fault in keyfile plugin - fix reading routes * Mon Dec 08 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt11 - remove NetworkManager-devel -> NetworkManager requires(close #18129) - alt-dhcp-client-pid.patch is added (close #18021). - remove device from hash table before sending signal. - src/nm-netlink-monitor.c: fix function call. * Wed Dec 03 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt10 - Release NetworkManager 0.7 * Wed Nov 26 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt9.svn.r4326 - don't create default connection in nm-system-settings daemon (nm-applet do it) * Tue Nov 25 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt8.svn.r4326 - dnsmasq requires is added * Mon Nov 24 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt7.svn.r4326 - new svn snapshot - etcnet-alt plugin updated according to upstream code changes - fix WEP keys reading * Fri Nov 21 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt7.svn.r4229 - ldconfig removed (obsolete) - don't restart service when upgrade (close #17275) - etcnet-alt plugin can read wireless settings from wpa_supplicant.conf (WPA and WEP) * Wed Nov 12 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt6.svn.r4229 - fix zombies bug * Wed Nov 12 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt5.svn.r4229 - new svn snapshot - NetworkManager-0.7.0-alt-no-strict-aliasing.patch, NetworkManager-0.7.0-alt-no_check_dhclient.patch and NetworkManager-0.7.0-alt-supplicant_interface.patch removed (obsolete) - alt-set-iwconfig-essid.patch (dirty patch for set essid when connecting to wireless networks) - alt-no-update-hostname.patch - update-chrooted dispatcher script is added - fix preun - ppp-pppoe requires is added * Mon Oct 27 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7.0-alt5.svn.r4209 - new svn revision * Thu Oct 02 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7.0-alt5.svn.r3930 - expiremental patch for not exposyng system connections to user - expiremental dirty patch to not set DISCONNECTED state when there are routes * Tue Aug 12 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt4.svn.r3930 - new svn snapshot - %post updated (D-Bus config reload; add %post_service) * Wed Aug 06 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt4.svn20080722 - spec cleanup - split NetworkManager-glib on NetworkManager-glib and NetworkManager-glib-devel - NetworkManager-0.7.0-alt-kill_supplicant.patch is added (not kill all wpa_supplicant, only for managed interfaces) - NetworkManager-0.7.0-alt-supplicant_interface.patch (release the interface when NM exit) * Mon Jul 28 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt3.2.svn20080722 - update NetworkManager-0.7.0-alt-dhcpcd_opt.patch ("-K" option is added) * Wed Jul 23 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt3.1.svn20080722 - version for dhcpcd 4 * Tue Jul 22 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt3.svn20080722 - new svn snapshot (3842) - .la files are not packaged (close #15840) * Wed May 28 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt3.svn20080527 - new svn snapshot (3694) - nm-system-settings plugin is completely rewritten * Tue May 13 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt3.svn20080428 - reading "WPA_DRIVER" from "/etc/net/ifaces/<interface>/options" is added * Mon May 12 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt2.svn20080428 - killall wpa_supplicant on start - nm-system-settings plugin update * Tue Apr 29 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt1.svn20080428 - new svn snapshot (3614) - dhcpcd-1.3.x -> dhcpcd-3.0.x - spec cleanup * Tue Apr 22 2008 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt1.svn20080419 - initial build |