]>
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 | |
1af23103 | 4 | Version: 0.7.999 |
f2102cc8 | 5 | Release: 1 |
c939647d PZ |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
91494482 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.7/network-manager-applet-%{version}.tar.bz2 |
1af23103 | 9 | # Source0-md5: 078fe62813a5ac3b96cd90f1f92dde60 |
a66e03ae | 10 | URL: http://projects.gnome.org/NetworkManager/ |
30e5fda0 | 11 | BuildRequires: GConf2-devel >= 2.20.0 |
f2102cc8 | 12 | BuildRequires: NetworkManager-devel >= 0.7.2 |
91494482 | 13 | BuildRequires: PolicyKit-gnome-devel >= 0.6 |
e75f8dce JB |
14 | BuildRequires: autoconf >= 2.52 |
15 | BuildRequires: automake | |
c979ae9c | 16 | BuildRequires: dbus-devel >= 1.2.6 |
f2102cc8 | 17 | BuildRequires: dbus-glib-devel >= 0.74 |
c939647d | 18 | BuildRequires: gettext-devel |
30e5fda0 | 19 | BuildRequires: gnome-keyring-devel >= 2.20.0 |
f2102cc8 | 20 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
91494482 MB |
21 | BuildRequires: intltool >= 0.36.2 |
22 | BuildRequires: libglade2-devel | |
23 | BuildRequires: libiw-devel >= 1:28-0.pre9.1 | |
24 | BuildRequires: libnotify-devel >= 0.4.3 | |
e75f8dce | 25 | BuildRequires: libtool |
a66e03ae | 26 | BuildRequires: libuuid-devel |
c939647d | 27 | BuildRequires: pkgconfig |
30e5fda0 | 28 | BuildRequires: rpmbuild(macros) >= 1.311 |
f2102cc8 | 29 | Requires(post,preun): GConf2 |
30e5fda0 | 30 | Requires(post,postun): gtk+2 |
9a72a4c2 | 31 | Requires(post,postun): hicolor-icon-theme |
f2102cc8 | 32 | Requires: NetworkManager >= 0.7.2 |
91494482 | 33 | Requires: PolicyKit-gnome |
c979ae9c | 34 | Requires: dbus >= 1.2.6 |
1e04e7c7 | 35 | Suggests: dbus(org.freedesktop.Notifications) |
91494482 | 36 | Obsoletes: NetworkManager-applet-devel |
ba7c8693 | 37 | # sr@Latn vs. sr@latin |
38 | Conflicts: glibc-misc < 6:2.7 | |
c939647d PZ |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | Network Manager Applet for GNOME. | |
43 | ||
44 | %description -l pl.UTF-8 | |
45 | Aplet zarządcy sieci dla GNOME. | |
46 | ||
47 | %prep | |
c979ae9c | 48 | %setup -q -n network-manager-applet-%{version} |
c939647d PZ |
49 | |
50 | %build | |
30e5fda0 | 51 | %{__intltoolize} |
e75f8dce JB |
52 | %{__libtoolize} |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
c939647d PZ |
57 | %configure |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
ec2ae91b | 62 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties |
c939647d PZ |
63 | |
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
91494482 MB |
67 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
68 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
69 | ||
70 | %find_lang %{name} --with-gnome --all-name | |
c939647d PZ |
71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post | |
9a72a4c2 | 76 | %update_icon_cache hicolor |
f2102cc8 MB |
77 | %gconf_schema_install nm-applet.schemas |
78 | ||
79 | %preun | |
80 | %gconf_schema_uninstall nm-applet.schemas | |
c939647d | 81 | |
30e5fda0 MB |
82 | %postun |
83 | %update_icon_cache hicolor | |
84 | ||
91494482 | 85 | %files -f %{name}.lang |
c939647d | 86 | %defattr(644,root,root,755) |
91494482 | 87 | %doc AUTHORS CONTRIBUTING ChangeLog NEWS README |
30e5fda0 | 88 | %attr(755,root,root) %{_bindir}/nm-applet |
91494482 | 89 | %attr(755,root,root) %{_bindir}/nm-connection-editor |
f2102cc8 | 90 | %{_sysconfdir}/gconf/schemas/nm-applet.schemas |
ec2ae91b | 91 | %dir %{_datadir}/gnome-vpn-properties |
91494482 | 92 | %{_datadir}/nm-applet |
30e5fda0 | 93 | %{_sysconfdir}/xdg/autostart/nm-applet.desktop |
91494482 MB |
94 | %{_desktopdir}/nm-connection-editor.desktop |
95 | %{_iconsdir}/hicolor/*/apps/*.png | |
c979ae9c | 96 | %{_iconsdir}/hicolor/*/apps/*.svg |
a66e03ae | 97 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/nm-applet.conf |