]>
Commit | Line | Data |
---|---|---|
c939647d PZ |
1 | Summary: Network Manager for GNOME |
2 | Summary(pl.UTF-8): Zarządca sieci dla GNOME | |
3 | Name: NetworkManager-applet | |
30e5fda0 MB |
4 | Version: 0.6.6 |
5 | Release: 1 | |
c939647d PZ |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
30e5fda0 MB |
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 | |
e75f8dce JB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake | |
c939647d PZ |
14 | BuildRequires: dbus-glib-devel >= 0.60 |
15 | BuildRequires: gettext-devel | |
30e5fda0 MB |
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 | |
c939647d | 22 | BuildRequires: libiw-devel >= 1:28 |
30e5fda0 | 23 | BuildRequires: libnl-devel >= 1:1.1 |
c939647d | 24 | BuildRequires: libnotify-devel >= 0.3.0 |
e75f8dce | 25 | BuildRequires: libtool |
c939647d | 26 | BuildRequires: pkgconfig |
30e5fda0 MB |
27 | BuildRequires: rpmbuild(macros) >= 1.311 |
28 | BuildRequires: sed >= 4.0 | |
29 | Requires(post,postun): gtk+2 | |
9a72a4c2 | 30 | Requires(post,postun): hicolor-icon-theme |
30e5fda0 | 31 | Requires: NetworkManager >= 0.6.6 |
ba7c8693 | 32 | # sr@Latn vs. sr@latin |
33 | Conflicts: glibc-misc < 6:2.7 | |
c939647d PZ |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | Network Manager Applet for GNOME. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Aplet zarządcy sieci dla GNOME. | |
41 | ||
42 | %prep | |
43 | %setup -q -n nm-applet-%{version} | |
44 | ||
30e5fda0 MB |
45 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
46 | mv po/sr@{Latn,latin}.po | |
47 | ||
c939647d | 48 | %build |
30e5fda0 | 49 | %{__intltoolize} |
e75f8dce JB |
50 | %{__libtoolize} |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
c939647d PZ |
55 | %configure |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
30e5fda0 | 64 | %find_lang nm-applet |
c939647d PZ |
65 | |
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post | |
9a72a4c2 | 70 | %update_icon_cache hicolor |
c939647d | 71 | |
30e5fda0 MB |
72 | %postun |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %files -f nm-applet.lang | |
c939647d PZ |
76 | %defattr(644,root,root,755) |
77 | %doc AUTHORS ChangeLog NEWS README | |
30e5fda0 MB |
78 | %attr(755,root,root) %{_bindir}/nm-applet |
79 | %attr(755,root,root) %{_bindir}/nm-editor | |
c939647d PZ |
80 | %attr(755,root,root) %{_datadir}/nm-applet |
81 | %{_iconsdir}/hicolor/*/apps/*.png | |
30e5fda0 MB |
82 | %{_desktopdir}/nm-editor.desktop |
83 | %{_sysconfdir}/dbus-1/system.d/nm-applet.conf | |
84 | %{_sysconfdir}/xdg/autostart/nm-applet.desktop |