123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- %define dbus_version 1.4.20
- %define dbus_glib_version 0.96
- %define gtk3_version 3.10.0
- %define wireless_tools_version 29
- %define libnl3_version 3.2.14
- %define ppp_version 2.4.5
- %define applet_version 1.0.6
- #define snapshot .git20090414
- #define applet_snapshot %{nil}
- Name: network-manager-applet
- Summary: GNOME applications for use with NetworkManager
- Summary(ja): NetworkManager 用 GNOME アプリケーション
- Version: 1.0.10
- Release: 1%{?snapshot}%{?_dist_release}
- Group: Applications/Internet
- License: GPLv2+
- URL: http://www.gnome.org/projects/NetworkManager/
- Source: %{name}-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: NetworkManager-glib-devel >= %{version}
- BuildRequires: ModemManager-glib-devel
- BuildRequires: dbus-devel >= %{dbus_version}
- BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
- BuildRequires: gtk3-devel
- BuildRequires: GConf2-devel
- BuildRequires: libgnome-keyring-devel
- #BuildRequires: gettext
- BuildRequires: libnotify-devel >= 0.7
- BuildRequires: libgudev1-devel
- BuildRequires: libsecret-devel
- BuildRequires: iso-codes
- Requires(post): chkconfig
- Requires(preun): chkconfig
- Requires: libnm-gtk = %{version}-%{release}
- Requires: NetworkManager >= %{version}
- Requires: dbus
- Requires: dbus-glib
- Requires: libnotify
- Requires: gnome-keyring
- Requires: nss
- Requires: gnome-icon-theme
- Obsoletes: NetworkManager-gnome < 0.9.7.0
- Provides: NetworkManager-gnome = 0.9.7.0
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- This package contains GNOME utilities and applications for use with
- NetworkManager, including a panel applet for wireless networks.
- %package -n libnm-gtk
- Summary: Private libraries for NetworkManager GUI support
- Group: System Environment/Libraries
- Requires: gtk3 >= %{gtk3_version}
- Obsoletes: NetworkManager-gtk < 0.9.7.0
- Provides: NetworkManager-gtk = 0.9.7.0
- %description -n libnm-gtk
- This package contains private libraries to be used only by nm-applet and
- the GNOME Control Center.
- %package -n libnm-gtk-devel
- Summary: Private header files for NetworkManager GUI support
- Group: Development/Libraries
- Requires: libnm-gtk = %{version}-%{release}
- Requires: gtk3-devel
- Requires: dbus-glib-devel
- Requires: pkgconfig
- Obsoletes: NetworkManager-gtk-devel < 0.9.7.0
- Provides: NetworkManager-gtk-devel = 0.9.7.0
- %description -n libnm-gtk-devel
- This package contains private header and pkg-config files to be used only by
- nm-applet and the GNOME control center.
- %prep
- %setup -q
- %build
- export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
- NOCONFIGURE=1 ./autogen.sh
- %configure --disable-static
- make
-
- %install
- %{__rm} -rf $RPM_BUILD_ROOT
- # install the applet
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties
- %find_lang nm-applet
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- %postun
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- if [ $1 -eq 0 ]; then
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- fi
- %posttrans
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %post -n libnm-gtk -p /sbin/ldconfig
- %postun -n libnm-gtk -p /sbin/ldconfig
- %files -f nm-applet.lang
- %defattr(-,root,root,0755)
- %{_bindir}/nm-applet
- %{_bindir}/nm-connection-editor
- %{_libexecdir}/nm-applet-migration-tool
- %{_datadir}/appdata/org.gnome.nm-connection-editor.appdata.xml
- %{_datadir}/applications/*.desktop
- %{_datadir}/nm-applet/
- %{_datadir}/GConf/gsettings/nm-applet.convert
- %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
- %{_datadir}/icons/hicolor/16x16/apps/*.png
- %{_datadir}/icons/hicolor/22x22/apps/*.png
- %{_datadir}/icons/hicolor/32x32/apps/*.png
- %{_datadir}/icons/hicolor/48x48/apps/*.png
- %{_datadir}/icons/hicolor/scalable/apps/*.svg
- %{_sysconfdir}/xdg/autostart/nm-applet.desktop
- %dir %{_datadir}/gnome-vpn-properties
- ##%{_libdir}/gnome-bluetooth/plugins/libnma.so
- %{_mandir}/man1/nm-applet.1.gz
- %{_mandir}/man1/nm-connection-editor.1.gz
- %files -n libnm-gtk
- %defattr(-,root,root,-)
- %{_libdir}/libnm-gtk.so.*
- %{_libdir}/girepository-1.0/NMGtk-1.0.typelib
- %dir %{_datadir}/libnm-gtk
- %{_datadir}/libnm-gtk/*.ui
- %files -n libnm-gtk-devel
- %defattr(-,root,root,-)
- %{_includedir}/libnm-gtk
- %{_libdir}/pkgconfig/libnm-gtk.pc
- %{_libdir}/libnm-gtk.so
- %{_datadir}/gir-1.0/NMGtk-1.0.gir
- %changelog
- * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
- - new upstream release
- * Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
- - new upstream release
- * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
- - new upstream release
- * Mon Jul 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
- - new upstream release
- * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
- - new upstream release
- * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.2-1
- - new upstream release
- * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.0-1
- - new upstream release
- * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.8.10-2
- - moved libnm-gtk to System Environment/Libraries Group
- * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.10-1
- - new upstream release
- * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.9-1
- - new upstream release
- * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.8-1
- - new upstream release
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.4-1
- - new upstream release
- - remove Patch0 (network-manager-applet--0.9.8.2-git20130801.patch)
- - add BuildRequires: ModemManager-glib-devel
- * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2
- - add Patch0 (network-manager-applet--0.9.8.2-git20130801.patch)
- * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1
- - update to 0.9.8.2
- - add BuildRequires: libsecret-devel
- * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.0-1
- - initial package split from NetworkManager
|