|
Lines 4-9
Link Here
|
| 4 |
%define dbus_version 1.2.12-alt2 |
4 |
%define dbus_version 1.2.12-alt2 |
| 5 |
%define libdbus_glib_version 0.76 |
5 |
%define libdbus_glib_version 0.76 |
| 6 |
|
6 |
|
|
|
7 |
%define nm_glib_sover 4 |
| 8 |
%define libnm_glib libnm_glib%nm_glib_sover |
| 9 |
%define nm_glib_vpn_sover 1 |
| 10 |
%define libnm_glib_vpn libnm_glib_vpn%nm_glib_vpn_sover |
| 11 |
%define nm_util_sover 2 |
| 12 |
%define libnm_util libnm_util%nm_util_sover |
| 13 |
|
| 7 |
%define ppp_version 2.4.5 |
14 |
%define ppp_version 2.4.5 |
| 8 |
%define wpa_supplicant_version 0.7.3-alt3 |
15 |
%define wpa_supplicant_version 0.7.3-alt3 |
| 9 |
%define dhcpcd_version 4.0.0 |
16 |
%define dhcpcd_version 4.0.0 |
|
Lines 95-112
functionality from applications.
Link Here
|
| 95 |
%package glib |
102 |
%package glib |
| 96 |
License: %gpl2plus |
103 |
License: %gpl2plus |
| 97 |
Summary: Libraries for adding NetworkManager support to applications that use glib |
104 |
Summary: Libraries for adding NetworkManager support to applications that use glib |
| 98 |
Group: Development/GNOME and GTK+ |
105 |
Group: System/Libraries |
| 99 |
Requires: dbus >= %dbus_version |
106 |
Requires: dbus >= %dbus_version |
|
|
107 |
Requires: %libnm_glib %libnm_glib_vpn %libnm_util |
| 100 |
|
108 |
|
| 101 |
%description glib |
109 |
%description glib |
| 102 |
This package contains the libraries that make it easier to use some |
110 |
This package contains the libraries that make it easier to use some |
| 103 |
Network Manager functionality from applications that use glib. |
111 |
Network Manager functionality from applications that use glib. |
| 104 |
|
112 |
|
|
|
113 |
%package -n %libnm_glib |
| 114 |
License: %gpl2plus |
| 115 |
Summary: Library for adding NetworkManager support to applications that use glib |
| 116 |
Group: System/Libraries |
| 117 |
Requires: dbus >= %dbus_version |
| 118 |
%if "%nm_glib_sover" == "4" |
| 119 |
Conflicts: NetworkManager-glib <= 0.9.8.8-alt1 |
| 120 |
%endif |
| 121 |
|
| 122 |
%description -n %libnm_glib |
| 123 |
This package contains the library that make it easier to use some |
| 124 |
Network Manager functionality from applications that use glib. |
| 125 |
|
| 126 |
%package -n %libnm_glib_vpn |
| 127 |
License: %gpl2plus |
| 128 |
Summary: Library for adding NetworkManager support to applications that use glib and vpn |
| 129 |
Group: System/Libraries |
| 130 |
Requires: dbus >= %dbus_version |
| 131 |
%if "%nm_glib_vpn_sover" == "1" |
| 132 |
Conflicts: NetworkManager-glib <= 0.9.8.8-alt1 |
| 133 |
%endif |
| 134 |
|
| 135 |
%description -n %libnm_glib_vpn |
| 136 |
This package contains the library that make it easier to use some |
| 137 |
Network Manager functionality from applications that use glib and vpn. |
| 138 |
|
| 139 |
%package -n %libnm_util |
| 140 |
License: %gpl2plus |
| 141 |
Summary: Utlility library for adding NetworkManager support to applications that use glib |
| 142 |
Group: System/Libraries |
| 143 |
Requires: dbus >= %dbus_version |
| 144 |
%if "%nm_util_sover" == "2" |
| 145 |
Conflicts: NetworkManager-glib <= 0.9.8.8-alt1 |
| 146 |
%endif |
| 147 |
|
| 148 |
%description -n %libnm_util |
| 149 |
This package contains the utlility library that make it easier to use some |
| 150 |
Network Manager functionality from applications that use glib. |
| 151 |
|
| 105 |
%package glib-devel |
152 |
%package glib-devel |
| 106 |
Summary: Header files for adding NetworkManager support to applications that use glib. |
153 |
Summary: Header files for adding NetworkManager support to applications that use glib. |
| 107 |
Group: Development/GNOME and GTK+ |
154 |
Group: Development/GNOME and GTK+ |
| 108 |
Requires: %name-devel = %version-%release |
155 |
Requires: %name-devel = %version-%release |
| 109 |
Requires: %name-glib = %version-%release |
|
|
| 110 |
Requires: glib2-devel |
156 |
Requires: glib2-devel |
| 111 |
Requires: pkgconfig |
157 |
Requires: pkgconfig |
| 112 |
Requires: libdbus-glib-devel >= %libdbus_glib_version |
158 |
Requires: libdbus-glib-devel >= %libdbus_glib_version |
|
Lines 128-134
This package contains development docume
Link Here
|
| 128 |
%package glib-gir |
174 |
%package glib-gir |
| 129 |
Summary: GObject introspection data for the NetworkManager |
175 |
Summary: GObject introspection data for the NetworkManager |
| 130 |
Group: System/Libraries |
176 |
Group: System/Libraries |
| 131 |
Requires: %name-glib = %version-%release |
177 |
Requires: %libnm_glib %libnm_glib_vpn %libnm_util |
| 132 |
|
178 |
|
| 133 |
%description glib-gir |
179 |
%description glib-gir |
| 134 |
GObject introspection data for the NetworkManager. |
180 |
GObject introspection data for the NetworkManager. |
|
Lines 294-302
fi
Link Here
|
| 294 |
%_pkgconfigdir/%name.pc |
340 |
%_pkgconfigdir/%name.pc |
| 295 |
|
341 |
|
| 296 |
%files glib |
342 |
%files glib |
| 297 |
%_libdir/libnm-glib.so.* |
343 |
|
| 298 |
%_libdir/libnm-glib-vpn.so.* |
344 |
%files -n %libnm_glib |
| 299 |
%_libdir/libnm-util.so.* |
345 |
%_libdir/libnm-glib.so.%nm_glib_sover |
|
|
346 |
%_libdir/libnm-glib.so.%nm_glib_sover.* |
| 347 |
|
| 348 |
%files -n %libnm_glib_vpn |
| 349 |
%_libdir/libnm-glib-vpn.so.%nm_glib_vpn_sover |
| 350 |
%_libdir/libnm-glib-vpn.so.%nm_glib_vpn_sover.* |
| 351 |
|
| 352 |
%files -n %libnm_util |
| 353 |
%_libdir/libnm-util.so.%nm_util_sover |
| 354 |
%_libdir/libnm-util.so.%nm_util_sover.* |
| 300 |
|
355 |
|
| 301 |
%files glib-devel |
356 |
%files glib-devel |
| 302 |
%dir %_includedir/libnm-glib |
357 |
%dir %_includedir/libnm-glib |