File contextkit-maemo.spec of Package contextkit-maemo

#norootforbuild 

Name:       contextkit-maemo
Summary:    ContextKit Maemo specific providers
Version:    0.7.24
Release:    1
Group:      System/Daemons
License:    GPLv2
URL:        http://maemo.gitorious.org/maemo-af/contextkit-maemo
Source0:    %{name}-%{version}.tar.bz2
#PATCH-FIX-UPSTREAM 0002--Removing-automake-1.11-ism-used-for-selectively-co.patch imported from repo.meego.com
Patch0:     0002--Removing-automake-1.11-ism-used-for-selectively-co.patch
#PATCH-FIX-UPSTREAM 0008-devicekit-remove-mce.patch imported from repo.meego.com
Patch1:     0008-devicekit-remove-mce.patch
#PATCH-FIX-UPSTREAM disable-presence-plugin.patch imported from repo.meego.com
Patch2:     disable-presence-plugin.patch
BuildRequires:  pkgconfig(QtGui)
BuildRequires:  pkgconfig(contextprovider-1.0)
BuildRequires:  pkgconfig(contextsubscriber-1.0) >= 0.5.25
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(libudev)
BuildRequires:  pkgconfig(x11)
BuildRequires:  python


%description
This is ContextKit, a framework for collecting contextual
information from the bowels of the system, cleaning them up
and offering them through a simple API.

The ContextKit consists of:
- libcontextprovider, a convenience library to export 
  contextual properties to the rest of the system.
- user documentation including a list of standard context properties
- contextd, daemon for combining and refining contextual information
- libcontextsubscriber, a library implementing 
  the simple API for accessing the contextual information.




%prep
%setup -q -n %{name}-%{version}

# 0002--Removing-automake-1.11-ism-used-for-selectively-co.patch
%patch0 -p1
# 0008-devicekit-remove-mce.patch
%patch1 -p1
# disable-presence-plugin.patch
%patch2 -p1

%build
unset LD_AS_NEEDED
./autogen.sh
%configure --disable-static
make %{?jobs:-j%jobs}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -delete -print

%files
%defattr(-,root,root,-)
%{_bindir}/contextd
%{_bindir}/dbusnamewatcher
%dir %{_libdir}/context-session-tests
%{_libdir}/context-session-tests/screentoggler
%dir %{_libdir}/contextkit/subscriber-plugins
%{_libdir}/contextkit/subscriber-plugins/bluez-1.so
%{_libdir}/contextkit/subscriber-plugins/kbslider-1.so
%{_libdir}/contextkit/subscriber-plugins/profile-1.so
%{_libdir}/contextkit/subscriber-plugins/session-1.so
%dir %{_datadir}/contextkit/providers
%{_datadir}/contextkit/providers/bluez.context
%{_datadir}/contextkit/providers/kbslider.context
%{_datadir}/contextkit/providers/org.maemo.contextd.context
%{_datadir}/contextkit/providers/profile.context
%{_datadir}/contextkit/providers/session.context
%{_datadir}/dbus-1/services/org.maemo.contextd.service


%changelog
* Mon Jan 31 2011 Fathi Boudra <fathi.boudra@nokia.com> - 0.7.24
- Update to 0.7.24 as part of contextkit update (BMC#13153)
  contextkit-maemo fails to build against contextkit < 0.5.25
- Fix upstream URL
- Move the files list from the spec file the yaml file
- Explicitely build requires against contextsubscriber-1.0 >= 0.5.25
- Cleanup BuildRequires
* Mon Jan 24 2011 Markus Lehtonen <markus.lehtonen@nokia.com> - 0.7.22
- Version bump, fixes e.g. symbol resolving problems (BMC#12584)
- Remove duplicate PkgConfigBR glib-2.0 in .yaml
- Add UseAsNeeded: no to yaml file
* Thu Sep 30 2010 Markus Lehtonen <markus.lehtonen@nokia.com> - 0.7.14
- Enable kbslider plugin, needed to fix BMC#6083
* Mon Jul 26 2010 Kaitlin Rupert <kaitlin.rupert@intel.com> - 0.7.14
- Update to release tag 0.7.14
- Add x11 to spec file
* Mon Jun 14 2010 Kaitlin Rupert <kaitlin.rupert@intel.com> - 0.7.12
- Update to release tag 0.7.12
- Drop patches - no longer needed:
  0001-Adding-initial-support-for-Connman-provider.patch
  0003-devicekit-integration-replacing-halprovider.patch
  0006-devicekit-integration-replacing-halprovider.patch
  0007-devicekit-updateProperties-on-init.patch
- Add 0008-devicekit-remove-mce.patch
- Convert spec file to spectacle / yaml format
* Mon Mar 22 2010 Kevron Rees <kevron_m_rees@linux.intel.com> - 0.7.8
- Patch to updateProperties() on initialization
* Fri Mar  5 2010 Kevron Rees <kevron_m_rees@linux.intel.com> - 0.7.8
- Patch devicekit-integration (fix to updateProperties() slot()
* Mon Mar  1 2010 Rusty Lynch <rusty.lynch@intel.com> - 0.7.8
- release 0.7.8
- Patch: devicekit-integration-replacing-halprovider.patch
* Fri Feb 26 2010 Rusty Lynch <rusty.lynch@intel.com> - 0.7.7
- Renaming the package and tarball from ContextKit-Maemo to contextkit-maemo
* Fri Feb 26 2010 Rusty Lynch <rusty.lynch@intel.com> - 0.7.7
- release 0.7.7
- Patch: Adding-initial-support-for-Connman-provider.patch
- Patch: Removing-automake-1.11-ism-used-for-selectively-co.patch
openSUSE Build Service is sponsored by