File meego-panel-people.spec of Package meego-panel-people

#norootforbuild

Name:       meego-panel-people
Summary:    People panel
Version:    0.2.4
Release:    1.8
Group:      System/Desktop
License:    LGPL 2.1
URL:        http://www.meego.com
Source0:    %{name}-%{version}.tar.bz2
Source1:    people.png
Source2:    avatar_icon.png
#PATCH-FIX-UPSTREAM meego-panel-people-libnm.patch - awafaa@opensuse.org Use the correct call for NetworkManager
Patch0:	    meego-panel-people-libnm.patch
BuildRequires:  pkgconfig(anerley)
BuildRequires:  pkgconfig(gdk-x11-2.0)
BuildRequires:  pkgconfig(gio-unix-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(mx-1.0) >= 0.9.0
#BuildRequires:  pkgconfig(meego-panel)
BuildRequires:  mutter-meego-devel
BuildRequires:  NetworkManager-devel
BuildRequires:  intltool
BuildRequires:  gettext
BuildRequires:  gnome-common
Obsoletes:   moblin-panel-people

%description
Meego people panel

%prep
%setup -q
%patch0 -p1

%build
%configure --disable-static \
    --with-online=networkmanager

make %{?jobs:-j%jobs}

%install
%make_install

mkdir -p $RPM_BUILD_ROOT%{_datadir}/meego-panel-people/theme/
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/meego-panel-people/theme/people.png
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/meego-panel-people/theme/
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/meego-panel-people/theme/avatar_icon.png

%find_lang meego-panel-people


%files -f meego-panel-people.lang
%defattr(-,root,root,-)
%doc COPYING
%{_libexecdir}/*
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/clients
%{_datadir}/telepathy/clients/*
%{_datadir}/dbus-1/services/*
%dir %{_datadir}/meego-panel-people
%dir %{_datadir}/meego-panel-people/theme
%{_datadir}/meego-panel-people/theme/*
%dir %{_datadir}/mutter-meego/panels
%{_datadir}/mutter-meego/panels/meego-panel-people.desktop


%changelog
* Tue Aug 24 2010 Rob Bradford <rob@linux.intel.com> - 0.2.2
- Update localisations
* Thu Jul 15 2010 Rob Bradford <rob@linux.intel.com> - 0.2.1
- Fix styling and icon name issues
* Fri Jun 25 2010 Anas Nashif <anas.nashif@intel.com> - 0.2.0
- Fixed file list
* Mon Jun 21 2010 Rob Bradford <rob@linux.intel.com> - 0.2.0
- Rename from moblin to meego
* Thu May  6 2010 Rob Bradford <rob@linux.intel.com> - 0.1.13
- Visual design update (BMC#1661)
* Fri Apr 30 2010 Rob Bradford <rob@linux.intel.com> - 0.1.12
- Fix placeholder text (BMC#1279, BMC#1202)
* Wed Apr 14 2010 Rob Bradford <rob@linux.intel.com> - 0.1.11
- Show IM settings launcher in the people area (BMC#604)
- Use new panel background method
* Wed Apr  7 2010 Rob Bradford <rob@linux.intel.com> - 0.1.10
- Adjust panel height to new standardised height
- Switch to new panel background asset
* Tue Apr  6 2010 Rob Bradford <rob@linux.intel.com> - 0.1.9
- Adjust padding for header
* Wed Mar 31 2010 Rob Bradford <rob@linux.intel.com> - 0.1.8
- First phase of new look people panel
* Thu Mar 25 2010 Rob Bradford <rob@linux.intel.com> - 0.1.7
- Update to use latest MX
* Mon Mar 22 2010 Rob Bradford <rob@linux.intel.com> - 0.1.6
- Port to latest MX
* Fri Mar 19 2010 Rob Bradford <rob@linux.intel.com> - 0.1.5
- Integrate new assets for conversations count
- Make the people dbus activateable on incoming channels (MB#9973)
* Wed Mar  3 2010 Rob Bradford <rob@linux.intel.com> - 0.1.4
- Fix styling & layout issues
- Only show the presence chooser when there are enabled accounts
* Sun Feb 28 2010 Rob Bradford <rob@linux.intel.com> - 0.1.3
- First pass at new UI design for people panel
* Wed Feb 10 2010 Rob Bradford <rob@linux.intel.com> - 0.1.2
- Hide and show the presence selector based on online/offline
* Tue Feb  9 2010 Rob Bradford <rob@linux.intel.com> - 0.1.1
- Integrate presence chooser
* Tue Jan 26 2010 Rob Bradford <rob@linux.intel.com> - 0.1.0
- First version ported to MX
* Thu Dec 17 2009 Tomas Frydrych <tf@linux.intel.com> 0.0.11
- Add desktop file
* Tue Oct 27 2009 Rob Bradford <rob@linux.intel.com> - 0.0.9
- Activate Empathy when "Send message" is pressed on active conversations
  (MB#7195)
* Mon Oct 26 2009 Rob Bradford <rob@linux.intel.com> - 0.0.8
- Open up contact editor on double click if no email set (MB#6818)
* Thu Oct 15 2009 Rob Bradford <rob@linux.intel.com> - 0.0.7
- Toolbar shows active conversation state (MB#6689)
- Fix placeholder messages (MB#6545)
* Sun Oct 11 2009 Rob Bradford <rob@linux.intel.com> 0.0.5
- Implement half of the placeholder solution for MB#6545
- Fix the active conversation area (part of MB#6689)
* Fri Oct  9 2009 Rob Bradford <rob@linux.intel.com> 0.0.4
- Integrate active conversation area
* Wed Sep 30 2009 Rob Bradford <rob@linux.intel.com> 0.0.3
- Port to MC5
* Wed Sep 16 2009 Rob Bradford <rob@linux.intel.com> 0.0.2
- Port to NBTK 1.2 (MB#6128)
- Translation updates
* Mon Aug 10 2009 Rob Bradford <rob@linux.intel.com> 0.0.1
- First import into moblin