network-manager-applet-vl.spec 5.3 KB

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