1 Summary: Network Manager for GNOME
2 Summary(pl.UTF-8): Zarządca sieci dla GNOME
3 Name: NetworkManager-applet
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.7/network-manager-applet-%{version}.tar.bz2
9 # Source0-md5: 856fc7c4cf43c8614445d9fcf78177d1
10 BuildRequires: GConf2-devel >= 2.20.0
11 BuildRequires: NetworkManager-devel >= 0.7.0
12 BuildRequires: PolicyKit-gnome-devel >= 0.6
13 BuildRequires: autoconf >= 2.52
14 BuildRequires: automake
15 BuildRequires: dbus-glib-devel >= 0.72
16 BuildRequires: gettext-devel
17 BuildRequires: gnome-keyring-devel >= 2.20.0
18 BuildRequires: gtk+2-devel >= 2:2.12.0
19 BuildRequires: intltool >= 0.36.2
20 BuildRequires: libglade2-devel
21 BuildRequires: libiw-devel >= 1:28-0.pre9.1
22 BuildRequires: libnotify-devel >= 0.4.3
23 BuildRequires: libtool
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(macros) >= 1.311
26 Requires(post,postun): gtk+2
27 Requires(post,postun): hicolor-icon-theme
28 Requires: NetworkManager >= 0.7.0
29 Requires: PolicyKit-gnome
30 Requires: notification-daemon
31 Obsoletes: NetworkManager-applet-devel
32 # sr@Latn vs. sr@latin
33 Conflicts: glibc-misc < 6:2.7
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Network Manager Applet for GNOME.
39 %description -l pl.UTF-8
40 Aplet zarządcy sieci dla GNOME.
43 %setup -q -n nm-applet-%{version}
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties
60 DESTDIR=$RPM_BUILD_ROOT
62 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
63 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
65 %find_lang %{name} --with-gnome --all-name
68 rm -rf $RPM_BUILD_ROOT
71 %update_icon_cache hicolor
74 %update_icon_cache hicolor
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS CONTRIBUTING ChangeLog NEWS README
79 %attr(755,root,root) %{_bindir}/nm-applet
80 %attr(755,root,root) %{_bindir}/nm-connection-editor
81 %dir %{_datadir}/gnome-vpn-properties
83 %{_sysconfdir}/xdg/autostart/nm-applet.desktop
84 %{_desktopdir}/nm-connection-editor.desktop
85 %{_iconsdir}/hicolor/*/apps/*.png
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/nm-applet.conf