Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > f742fead16708f711a1bf214ea9c1fd9 > files > 3

networkmanager-applet-0.8-1mdv2010.1.src.rpm

#define snapshot git20100122
%define snapshot 0

%define	rname	network-manager-applet
Name:		networkmanager-applet
Summary:	Network connection manager applet for GNOME
Version:	0.8
%if %{snapshot}
Release:	%mkrel 0.%{snapshot}.2
%else
Release:        %mkrel 1
%endif
Group:		System/Configuration/Networking
License:	GPLv2+
URL:		http://www.gnome.org/projects/NetworkManager/
%if %snapshot
Source0:	network-manager-applet-%{version}.%{snapshot}.tar.xz
%else
Source0:        http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.8/%{rname}-%{version}.tar.bz2
%endif
Patch0:		network-manager-applet-0.7.999-dont-start-in-kde.patch
BuildRequires:	intltool
BuildRequires:	libnm-glib-devel
BuildRequires:	libnm-glib-vpn-devel
BuildRequires:	libGConf2-devel
BuildRequires:	libglade2-devel
BuildRequires:	libgnome-keyring-devel
#BuildRequires:	gnome-bluetooth-devel
BuildRequires:	libiw-devel
BuildRequires:	libnotify-devel
BuildRequires:	polkit-1-devel
Requires:	networkmanager
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Network-manager-applet is a system tray applet which lets you easily
connect to different networks. It is created for GNOME's notification area
but it also works for other desktop environments which provide a system
tray like KDE or XFCE. It displays the available networks and allows to
easily switch between them. For encrypted networks it will prompt the user
for the key/passphrase and it can optionally store them in the
gnome-keyring.

%prep
%setup -q -n %{rname}-%{version}
%patch0 -p1

%build
autoreconf -fis
%configure2_5x	--disable-static \
		--enable-more-warnings=yes 
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%find_lang nm-applet

%clean
rm -rf %{buildroot}

%files -f nm-applet.lang
%defattr(-,root,root)
%doc ChangeLog CONTRIBUTING
%{_bindir}/nm-connection-editor
%{_bindir}/nm-applet
%{_datadir}/applications/nm-connection-editor.desktop
%{_iconsdir}/hicolor/*/apps/*
%dir %{_datadir}/nm-applet/
%{_datadir}/nm-applet/*.glade
%{_datadir}/nm-applet/*.png
%{_sysconfdir}/xdg/autostart/nm-applet.desktop
%{_sysconfdir}/dbus-1/system.d/nm-applet.conf
%{_sysconfdir}/gconf/schemas/nm-applet.schemas



%changelog
* Thu Feb 25 2010 Andrey Borzenkov <arvidjaar@mandriva.org> 0.8-1mdv2010.1
+ Revision: 511187
- new version

* Sat Feb 06 2010 Frederik Himpe <fhimpe@mandriva.org> 0.7.999-1.git20100122.2mdv2010.1
+ Revision: 501460
- Don't autostart the applet in KDE as KDE has its own applet now

* Sat Jan 23 2010 Frederik Himpe <fhimpe@mandriva.org> 0.7.999-1.git20100122.1mdv2010.1
+ Revision: 495148
- Update to 0.7.999+ snapshot

* Fri Jan 01 2010 Frederik Himpe <fhimpe@mandriva.org> 0.7.997-0.git20100101.1mdv2010.1
+ Revision: 484910
- Update to new snapshot

* Tue Nov 17 2009 Frederik Himpe <fhimpe@mandriva.org> 0.7.996-0.git20091117.1mdv2010.1
+ Revision: 467054
- Update to new git snapshot

* Fri Nov 13 2009 Frederik Himpe <fhimpe@mandriva.org> 0.7.996-0.git20091021.1mdv2010.1
+ Revision: 465802
- Add BuildRoot to SPEC file
- First Mandriva package
- create networkmanager-applet