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