]>
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 | |
4 | Version: 0.6.5 | |
03b46350 | 5 | Release: 2 |
c939647d PZ |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.6/network-manager-applet-%{version}.tar.bz2 | |
9 | # Source0-md5: 1c94a41e2399d261985a75f0cd3b895b | |
10 | BuildRequires: GConf2-devel >= 2.0 | |
11 | BuildRequires: NetworkManager-devel >= 0.6.5 | |
e75f8dce JB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake | |
c939647d PZ |
14 | BuildRequires: dbus-glib-devel >= 0.60 |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: gnome-keyring-devel | |
17 | BuildRequires: gnome-panel-devel >= 2.0 | |
095ea80a | 18 | BuildRequires: gtk+2-devel >= 1:2.0 |
c939647d PZ |
19 | BuildRequires: hal-devel >= 0.5.2 |
20 | BuildRequires: libgcrypt-devel | |
095ea80a | 21 | BuildRequires: libglade2-devel >= 1:2.0 |
c939647d PZ |
22 | BuildRequires: libiw-devel >= 1:28 |
23 | BuildRequires: libnl-devel >= 1.0 | |
24 | BuildRequires: libnotify-devel >= 0.3.0 | |
e75f8dce | 25 | BuildRequires: libtool |
c939647d PZ |
26 | BuildRequires: pkgconfig |
27 | BuildRequires: rpmbuild(macros) >= 1.268 | |
28 | Requires(post): /sbin/ldconfig | |
29 | Requires(post,preun): /sbin/chkconfig | |
9a72a4c2 | 30 | Requires(post,postun): hicolor-icon-theme |
c939647d PZ |
31 | Requires: NetworkManager >= 0.6.5 |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | Network Manager Applet for GNOME. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Aplet zarządcy sieci dla GNOME. | |
39 | ||
40 | %prep | |
41 | %setup -q -n nm-applet-%{version} | |
42 | ||
43 | %build | |
e75f8dce JB |
44 | %{__libtoolize} |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
c939647d PZ |
49 | %configure |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang %{name} --with-gnome --all-name | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %gconf_schema_install | |
9a72a4c2 | 65 | %update_icon_cache hicolor |
c939647d PZ |
66 | |
67 | %files -f %{name}.lang | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog NEWS README | |
70 | %attr(755,root,root) %{_bindir}/* | |
71 | %attr(755,root,root) %{_datadir}/nm-applet | |
72 | %{_iconsdir}/hicolor/*/apps/*.png | |
73 | %{_sysconfdir}/dbus-1/system.d/* | |
74 | %{_datadir}/gnome/autostart/*.desktop |