[7633] | 1 | %define dbus_version 1.4.20 |
---|
| 2 | %define dbus_glib_version 0.96 |
---|
| 3 | |
---|
[7938] | 4 | %define gtk3_version 3.10.0 |
---|
[7633] | 5 | %define wireless_tools_version 29 |
---|
| 6 | %define libnl3_version 3.2.14 |
---|
| 7 | %define ppp_version 2.4.5 |
---|
| 8 | |
---|
[9724] | 9 | %define applet_version 1.0.6 |
---|
[7633] | 10 | |
---|
| 11 | #define snapshot .git20090414 |
---|
| 12 | #define applet_snapshot %{nil} |
---|
| 13 | |
---|
| 14 | Name: network-manager-applet |
---|
| 15 | Summary: GNOME applications for use with NetworkManager |
---|
| 16 | Summary(ja): NetworkManager 用 GNOME アプリケーション |
---|
[9892] | 17 | Version: 1.0.10 |
---|
[9073] | 18 | Release: 1%{?snapshot}%{?_dist_release} |
---|
[9007] | 19 | |
---|
[7633] | 20 | Group: Applications/Internet |
---|
| 21 | License: GPLv2+ |
---|
| 22 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
| 23 | |
---|
| 24 | Source: %{name}-%{version}.tar.xz |
---|
| 25 | |
---|
| 26 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[9007] | 27 | BuildRequires: NetworkManager-glib-devel >= %{version} |
---|
| 28 | BuildRequires: ModemManager-glib-devel |
---|
| 29 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 30 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
| 31 | BuildRequires: gtk3-devel |
---|
| 32 | BuildRequires: GConf2-devel |
---|
| 33 | BuildRequires: libgnome-keyring-devel |
---|
| 34 | #BuildRequires: gettext |
---|
| 35 | BuildRequires: libnotify-devel >= 0.7 |
---|
| 36 | BuildRequires: libgudev1-devel |
---|
| 37 | BuildRequires: libsecret-devel |
---|
| 38 | BuildRequires: iso-codes |
---|
[7633] | 39 | |
---|
| 40 | Requires(post): chkconfig |
---|
| 41 | Requires(preun): chkconfig |
---|
| 42 | |
---|
| 43 | Requires: libnm-gtk = %{version}-%{release} |
---|
[7712] | 44 | Requires: NetworkManager >= %{version} |
---|
[7633] | 45 | |
---|
| 46 | Requires: dbus |
---|
| 47 | Requires: dbus-glib |
---|
| 48 | Requires: libnotify |
---|
| 49 | Requires: gnome-keyring |
---|
| 50 | Requires: nss |
---|
| 51 | Requires: gnome-icon-theme |
---|
| 52 | |
---|
| 53 | Obsoletes: NetworkManager-gnome < 0.9.7.0 |
---|
| 54 | Provides: NetworkManager-gnome = 0.9.7.0 |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | Vendor: Project Vine |
---|
| 58 | Distribution: Vine Linux |
---|
| 59 | Packager: Takemikaduchi |
---|
| 60 | |
---|
| 61 | %description |
---|
| 62 | This package contains GNOME utilities and applications for use with |
---|
| 63 | NetworkManager, including a panel applet for wireless networks. |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %package -n libnm-gtk |
---|
| 67 | Summary: Private libraries for NetworkManager GUI support |
---|
[9007] | 68 | Group: System Environment/Libraries |
---|
[7633] | 69 | Requires: gtk3 >= %{gtk3_version} |
---|
| 70 | Obsoletes: NetworkManager-gtk < 0.9.7.0 |
---|
| 71 | Provides: NetworkManager-gtk = 0.9.7.0 |
---|
| 72 | |
---|
| 73 | %description -n libnm-gtk |
---|
| 74 | This package contains private libraries to be used only by nm-applet and |
---|
| 75 | the GNOME Control Center. |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %package -n libnm-gtk-devel |
---|
| 79 | Summary: Private header files for NetworkManager GUI support |
---|
| 80 | Group: Development/Libraries |
---|
| 81 | Requires: libnm-gtk = %{version}-%{release} |
---|
| 82 | Requires: gtk3-devel |
---|
| 83 | Requires: dbus-glib-devel |
---|
| 84 | Requires: pkgconfig |
---|
| 85 | Obsoletes: NetworkManager-gtk-devel < 0.9.7.0 |
---|
| 86 | Provides: NetworkManager-gtk-devel = 0.9.7.0 |
---|
| 87 | |
---|
| 88 | %description -n libnm-gtk-devel |
---|
| 89 | This package contains private header and pkg-config files to be used only by |
---|
| 90 | nm-applet and the GNOME control center. |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | %prep |
---|
| 94 | %setup -q |
---|
| 95 | |
---|
| 96 | %build |
---|
[8355] | 97 | export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" |
---|
[7786] | 98 | NOCONFIGURE=1 ./autogen.sh |
---|
[7633] | 99 | %configure --disable-static |
---|
| 100 | make |
---|
| 101 | |
---|
| 102 | %install |
---|
| 103 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 104 | |
---|
| 105 | # install the applet |
---|
| 106 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 107 | |
---|
| 108 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 109 | |
---|
| 110 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties |
---|
| 111 | |
---|
| 112 | %find_lang nm-applet |
---|
| 113 | |
---|
| 114 | %clean |
---|
| 115 | rm -rf $RPM_BUILD_ROOT |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | %post |
---|
| 119 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 120 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 121 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 122 | fi |
---|
| 123 | |
---|
| 124 | %postun |
---|
| 125 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 126 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 127 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 128 | fi |
---|
| 129 | if [ $1 -eq 0 ]; then |
---|
| 130 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 131 | fi |
---|
| 132 | |
---|
| 133 | %posttrans |
---|
| 134 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 135 | |
---|
| 136 | %post -n libnm-gtk -p /sbin/ldconfig |
---|
| 137 | |
---|
| 138 | %postun -n libnm-gtk -p /sbin/ldconfig |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | %files -f nm-applet.lang |
---|
| 142 | %defattr(-,root,root,0755) |
---|
| 143 | %{_bindir}/nm-applet |
---|
| 144 | %{_bindir}/nm-connection-editor |
---|
| 145 | %{_libexecdir}/nm-applet-migration-tool |
---|
[9892] | 146 | %{_datadir}/appdata/org.gnome.nm-connection-editor.appdata.xml |
---|
[7633] | 147 | %{_datadir}/applications/*.desktop |
---|
| 148 | %{_datadir}/nm-applet/ |
---|
| 149 | %{_datadir}/GConf/gsettings/nm-applet.convert |
---|
| 150 | %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml |
---|
| 151 | %{_datadir}/icons/hicolor/16x16/apps/*.png |
---|
| 152 | %{_datadir}/icons/hicolor/22x22/apps/*.png |
---|
| 153 | %{_datadir}/icons/hicolor/32x32/apps/*.png |
---|
| 154 | %{_datadir}/icons/hicolor/48x48/apps/*.png |
---|
| 155 | %{_datadir}/icons/hicolor/scalable/apps/*.svg |
---|
| 156 | %{_sysconfdir}/xdg/autostart/nm-applet.desktop |
---|
| 157 | %dir %{_datadir}/gnome-vpn-properties |
---|
| 158 | ##%{_libdir}/gnome-bluetooth/plugins/libnma.so |
---|
| 159 | %{_mandir}/man1/nm-applet.1.gz |
---|
| 160 | %{_mandir}/man1/nm-connection-editor.1.gz |
---|
| 161 | |
---|
| 162 | %files -n libnm-gtk |
---|
| 163 | %defattr(-,root,root,-) |
---|
| 164 | %{_libdir}/libnm-gtk.so.* |
---|
| 165 | %{_libdir}/girepository-1.0/NMGtk-1.0.typelib |
---|
| 166 | %dir %{_datadir}/libnm-gtk |
---|
| 167 | %{_datadir}/libnm-gtk/*.ui |
---|
| 168 | |
---|
| 169 | %files -n libnm-gtk-devel |
---|
| 170 | %defattr(-,root,root,-) |
---|
| 171 | %{_includedir}/libnm-gtk |
---|
| 172 | %{_libdir}/pkgconfig/libnm-gtk.pc |
---|
| 173 | %{_libdir}/libnm-gtk.so |
---|
| 174 | %{_datadir}/gir-1.0/NMGtk-1.0.gir |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | %changelog |
---|
[9892] | 178 | * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
[9828] | 181 | * Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
[9724] | 184 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
[9672] | 187 | * Mon Jul 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1 |
---|
| 188 | - new upstream release |
---|
| 189 | |
---|
[9569] | 190 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[9491] | 193 | * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.2-1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
[9073] | 196 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.0-1 |
---|
| 197 | - new upstream release |
---|
| 198 | |
---|
[9007] | 199 | * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.8.10-2 |
---|
| 200 | - moved libnm-gtk to System Environment/Libraries Group |
---|
| 201 | |
---|
[8447] | 202 | * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.10-1 |
---|
| 203 | - new upstream release |
---|
| 204 | |
---|
[8355] | 205 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.9-1 |
---|
| 206 | - new upstream release |
---|
| 207 | |
---|
[8011] | 208 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.8-1 |
---|
| 209 | - new upstream release |
---|
| 210 | |
---|
[7938] | 211 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.4-1 |
---|
| 212 | - new upstream release |
---|
| 213 | - remove Patch0 (network-manager-applet--0.9.8.2-git20130801.patch) |
---|
| 214 | - add BuildRequires: ModemManager-glib-devel |
---|
| 215 | |
---|
[7786] | 216 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2 |
---|
| 217 | - add Patch0 (network-manager-applet--0.9.8.2-git20130801.patch) |
---|
| 218 | |
---|
[7712] | 219 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
| 220 | - update to 0.9.8.2 |
---|
| 221 | - add BuildRequires: libsecret-devel |
---|
| 222 | |
---|
[7633] | 223 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.0-1 |
---|
| 224 | - initial package split from NetworkManager |
---|
| 225 | |
---|