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://people.redhat.com/dcbw/NetworkManager/0.6.6/nm-applet-%{version}.tar.gz
9 # Source0-md5: 16e95a3515e4255d034b14045a9effd5
10 BuildRequires: GConf2-devel >= 2.20.0
11 BuildRequires: NetworkManager-devel >= 0.6.6
12 BuildRequires: autoconf >= 2.52
13 BuildRequires: automake
14 BuildRequires: dbus-glib-devel >= 0.60
15 BuildRequires: gettext-devel
16 BuildRequires: gnome-common >= 2.20.0
17 BuildRequires: gnome-keyring-devel >= 2.20.0
18 BuildRequires: gtk+2-devel >= 2:2.12.0
19 BuildRequires: intltool >= 0.36.0
20 BuildRequires: libglade2-devel >= 1:2.6.2
21 BuildRequires: libgnomeui-devel >= 2.20.0
22 BuildRequires: libiw-devel >= 1:28
23 BuildRequires: libnl-devel >= 1:1.1
24 BuildRequires: libnotify-devel >= 0.3.0
25 BuildRequires: libtool
26 BuildRequires: pkgconfig
27 BuildRequires: rpmbuild(macros) >= 1.311
28 BuildRequires: sed >= 4.0
29 Requires(post,postun): gtk+2
30 Requires(post,postun): hicolor-icon-theme
31 Requires: NetworkManager >= 0.6.6
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}
45 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
46 mv po/sr@{Latn,latin}.po
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %update_icon_cache hicolor
73 %update_icon_cache hicolor
75 %files -f nm-applet.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_bindir}/nm-applet
79 %attr(755,root,root) %{_bindir}/nm-editor
80 %attr(755,root,root) %{_datadir}/nm-applet
81 %{_iconsdir}/hicolor/*/apps/*.png
82 %{_desktopdir}/nm-editor.desktop
83 %{_sysconfdir}/dbus-1/system.d/nm-applet.conf
84 %{_sysconfdir}/xdg/autostart/nm-applet.desktop