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: readline-devel
28 BuildRequires: rpmbuild(macros) >= 1.311
29 BuildRequires: sed >= 4.0
30 Requires(post,postun): gtk+2
31 Requires(post,postun): hicolor-icon-theme
32 Requires: NetworkManager >= 0.6.6
33 # sr@Latn vs. sr@latin
34 Conflicts: glibc-misc < 6:2.7
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Network Manager Applet for GNOME.
40 %description -l pl.UTF-8
41 Aplet zarządcy sieci dla GNOME.
44 %setup -q -n nm-applet-%{version}
46 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
47 mv po/sr@{Latn,latin}.po
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %update_icon_cache hicolor
74 %update_icon_cache hicolor
76 %files -f nm-applet.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %attr(755,root,root) %{_bindir}/nm-applet
80 %attr(755,root,root) %{_bindir}/nm-editor
81 %attr(755,root,root) %{_datadir}/nm-applet
82 %{_iconsdir}/hicolor/*/apps/*.png
83 %{_desktopdir}/nm-editor.desktop
84 %{_sysconfdir}/dbus-1/system.d/nm-applet.conf
85 %{_sysconfdir}/xdg/autostart/nm-applet.desktop