]>
Commit | Line | Data |
---|---|---|
1 | Summary: Network Manager for GNOME | |
2 | Summary(pl.UTF-8): Zarządca sieci dla GNOME | |
3 | Name: NetworkManager-applet | |
4 | Version: 0.6.6 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
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) | |
36 | ||
37 | %description | |
38 | Network Manager Applet for GNOME. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Aplet zarządcy sieci dla GNOME. | |
42 | ||
43 | %prep | |
44 | %setup -q -n nm-applet-%{version} | |
45 | ||
46 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS | |
47 | mv po/sr@{Latn,latin}.po | |
48 | ||
49 | %build | |
50 | %{__intltoolize} | |
51 | %{__libtoolize} | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %configure | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %find_lang nm-applet | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post | |
71 | %update_icon_cache hicolor | |
72 | ||
73 | %postun | |
74 | %update_icon_cache hicolor | |
75 | ||
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 |