[11573] | 1 | %define _unpackaged_files_terminate_build 1 |
---|
| 2 | |
---|
[7633] | 3 | %define dbus_version 1.4.20 |
---|
| 4 | %define dbus_glib_version 0.96 |
---|
| 5 | |
---|
[7938] | 6 | %define gtk3_version 3.10.0 |
---|
[7633] | 7 | %define wireless_tools_version 29 |
---|
[11573] | 8 | %define libnl3_version 3.4.0 |
---|
| 9 | %define ppp_version 2.4.7 |
---|
[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 アプリケーション |
---|
[12446] | 17 | Version: 1.18.0 |
---|
[9073] | 18 | Release: 1%{?snapshot}%{?_dist_release} |
---|
[12446] | 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
[9007] | 21 | |
---|
[7633] | 22 | License: GPLv2+ |
---|
| 23 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
[12446] | 24 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
| 25 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
[7633] | 26 | |
---|
| 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[12157] | 28 | BuildRequires: meson |
---|
| 29 | BuildRequires: libappstream-glib-devel |
---|
| 30 | BuildRequires: NetworkManager-libnm-devel |
---|
[12446] | 31 | BuildRequires: libnma-devel |
---|
[9007] | 32 | BuildRequires: ModemManager-glib-devel |
---|
| 33 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 34 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
| 35 | BuildRequires: gtk3-devel |
---|
[12157] | 36 | BuildRequires: gcr-devel |
---|
[9007] | 37 | #BuildRequires: gettext |
---|
| 38 | BuildRequires: libnotify-devel >= 0.7 |
---|
[12446] | 39 | BuildRequires: libgudev-devel |
---|
[9007] | 40 | BuildRequires: libsecret-devel |
---|
[11573] | 41 | BuildRequires: pkgconfig(jansson) |
---|
[12446] | 42 | BuildRequires: python3-pygobject |
---|
[9007] | 43 | BuildRequires: iso-codes |
---|
[12157] | 44 | BuildRequires: mobile-broadband-provider-info-devel |
---|
[12446] | 45 | BuildRequires: libappindicator-devel |
---|
| 46 | BuildRequires: libdbusmenu-gtk-devel |
---|
[7633] | 47 | |
---|
| 48 | Requires(post): chkconfig |
---|
| 49 | Requires(preun): chkconfig |
---|
| 50 | |
---|
[12157] | 51 | Requires: NetworkManager >= 1.20.0 |
---|
[7633] | 52 | |
---|
| 53 | Requires: dbus |
---|
| 54 | Requires: dbus-glib |
---|
| 55 | Requires: libnotify |
---|
| 56 | Requires: gnome-keyring |
---|
| 57 | Requires: nss |
---|
| 58 | Requires: gnome-icon-theme |
---|
| 59 | |
---|
| 60 | Obsoletes: NetworkManager-gnome < 0.9.7.0 |
---|
| 61 | Provides: NetworkManager-gnome = 0.9.7.0 |
---|
| 62 | |
---|
[12157] | 63 | Obsoletes: libnm-gtk < 1.8.22 |
---|
[7633] | 64 | |
---|
| 65 | %description |
---|
| 66 | This package contains GNOME utilities and applications for use with |
---|
| 67 | NetworkManager, including a panel applet for wireless networks. |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %prep |
---|
| 71 | %setup -q |
---|
| 72 | |
---|
| 73 | %build |
---|
[12157] | 74 | %meson \ |
---|
[12446] | 75 | -Dselinux=false |
---|
[12157] | 76 | %meson_build |
---|
[7633] | 77 | |
---|
| 78 | %install |
---|
| 79 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 80 | # install the applet |
---|
[12157] | 81 | %meson_install |
---|
[7633] | 82 | |
---|
| 83 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties |
---|
| 84 | |
---|
| 85 | %find_lang nm-applet |
---|
[12157] | 86 | cat nm-applet.lang >> %{name}.lang |
---|
[7633] | 87 | |
---|
| 88 | %clean |
---|
| 89 | rm -rf $RPM_BUILD_ROOT |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %post |
---|
| 93 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 94 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 95 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 96 | fi |
---|
| 97 | |
---|
| 98 | %postun |
---|
| 99 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 100 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 101 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 102 | fi |
---|
| 103 | if [ $1 -eq 0 ]; then |
---|
| 104 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 105 | fi |
---|
| 106 | |
---|
| 107 | %posttrans |
---|
| 108 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | %files -f nm-applet.lang |
---|
| 112 | %defattr(-,root,root,0755) |
---|
| 113 | %{_bindir}/nm-applet |
---|
| 114 | %{_bindir}/nm-connection-editor |
---|
[11573] | 115 | #{_libexecdir}/nm-applet-migration-tool |
---|
[12157] | 116 | %{_datadir}/metainfo/nm-connection-editor.appdata.xml |
---|
[7633] | 117 | %{_datadir}/applications/*.desktop |
---|
[11573] | 118 | #{_datadir}/nm-applet/ |
---|
[7633] | 119 | %{_datadir}/GConf/gsettings/nm-applet.convert |
---|
| 120 | %{_datadir}/icons/hicolor/16x16/apps/*.png |
---|
| 121 | %{_datadir}/icons/hicolor/22x22/apps/*.png |
---|
| 122 | %{_datadir}/icons/hicolor/32x32/apps/*.png |
---|
| 123 | %{_datadir}/icons/hicolor/48x48/apps/*.png |
---|
| 124 | %{_datadir}/icons/hicolor/scalable/apps/*.svg |
---|
| 125 | %{_sysconfdir}/xdg/autostart/nm-applet.desktop |
---|
| 126 | %dir %{_datadir}/gnome-vpn-properties |
---|
| 127 | ##%{_libdir}/gnome-bluetooth/plugins/libnma.so |
---|
| 128 | %{_mandir}/man1/nm-applet.1.gz |
---|
| 129 | %{_mandir}/man1/nm-connection-editor.1.gz |
---|
| 130 | |
---|
| 131 | |
---|
| 132 | %changelog |
---|
[12446] | 133 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-1 |
---|
| 134 | - new upstream release. |
---|
| 135 | |
---|
[12157] | 136 | * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.22-1 |
---|
| 137 | - new upstream release. |
---|
| 138 | - dropped libnma-gtk{,-devel}. |
---|
| 139 | |
---|
[11573] | 140 | * Sat Mar 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.10-1 |
---|
| 141 | - new upstream release. |
---|
| 142 | - added subpackages libnma{,-devel}. |
---|
| 143 | |
---|
[9892] | 144 | * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[9828] | 147 | * Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[9724] | 150 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[9672] | 153 | * Mon Jul 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[9569] | 156 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[9491] | 159 | * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.2-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[9073] | 162 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.0-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[9007] | 165 | * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.8.10-2 |
---|
| 166 | - moved libnm-gtk to System Environment/Libraries Group |
---|
| 167 | |
---|
[8447] | 168 | * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.10-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[8355] | 171 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.9-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[8011] | 174 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.8-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[7938] | 177 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.4-1 |
---|
| 178 | - new upstream release |
---|
| 179 | - remove Patch0 (network-manager-applet--0.9.8.2-git20130801.patch) |
---|
| 180 | - add BuildRequires: ModemManager-glib-devel |
---|
| 181 | |
---|
[7786] | 182 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2 |
---|
| 183 | - add Patch0 (network-manager-applet--0.9.8.2-git20130801.patch) |
---|
| 184 | |
---|
[7712] | 185 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
| 186 | - update to 0.9.8.2 |
---|
| 187 | - add BuildRequires: libsecret-devel |
---|
| 188 | |
---|
[7633] | 189 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.0-1 |
---|
| 190 | - initial package split from NetworkManager |
---|
| 191 | |
---|