File buteo-sync-plugins.spec of Package buteo-sync-plugins
#norootforbuild
Name: buteo-sync-plugins
Version: 0.5.6.64
Release: 1.74
Summary: Synchronization plugins
Group: System/Libraries
URL: http://meego.gitorious.com/meego-middleware/buteo-sync-plugins
License: LGPLv2.1
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtNetwork)
BuildRequires: pkgconfig(qttracker)
BuildRequires: pkgconfig(QtContacts)
BuildRequires: pkgconfig(openobex)
BuildRequires: pkgconfig(accounts-qt)
BuildRequires: pkgconfig(meegotouch)
BuildRequires: pkgconfig(meegosyncml)
BuildRequires: pkgconfig(synccommon)
BuildRequires: doxygen
%description
Synchronization plugins for MeeGo Tablet
%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/sync/xml/*.xml
%config %{_sysconfdir}/sync/profiles/client/*.xml
%config %{_sysconfdir}/sync/profiles/storage/*.xml
# the following 3 files might need to go into a separate
# package some day
%config %{_sysconfdir}/sync/profiles/service/btS40.xml
%config %{_sysconfdir}/sync/profiles/service/bt.xml
%config %{_sysconfdir}/sync/profiles/sync/bt_template.xml
%{_libdir}/sync/*.so
%{_libdir}/*.so.*
%package devel
Requires: %{name} = %{version}-%{release}
Summary: Development files for %{name}
Group: Development/Libraries
%description devel
Synchronization plugins for MeeGo Tablet - development files.
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.prl
%{_libdir}/pkgconfig/*.pc
%package doc
Summary: Documentation for %{name}
Group: Documentation
%description doc
Synchronization plugins for MeeGo Tablet - documentation.
%files doc
%defattr(-,root,root,-)
%{_docdir}/sync-app-doc
%package tests
Summary: Tests for %{name}
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description tests
Synchronization plugins for MeeGo Tablet - tests.
%files tests
%defattr(-,root,root,-)
# binary, needs to be changed by upstream
%exclude %{_datadir}/sync-app-tests/hcontacts-tests
%{_datadir}/sync-app-tests
%package -n buteo-service-scheduleworld
Summary: ScheduleWorld service description
Group: System/Libraries
Requires: %{name} = %{version}
%description -n buteo-service-scheduleworld
ScheduleWorld service description for Buteo SyncML
%files -n buteo-service-scheduleworld
%defattr(-,root,root,-)
%config %{_sysconfdir}/sync/profiles/service/sw.com.xml
%config %{_sysconfdir}/sync/profiles/sync/sw.com.xml
%package -n buteo-service-mobical
Summary: Mobical service description
Group: System/Libraries
Requires: %{name} = %{version}
%description -n buteo-service-mobical
Mobical service description for Buteo SyncML
%files -n buteo-service-mobical
%defattr(-,root,root,-)
%config %{_sysconfdir}/sync/profiles/service/mobical.com.xml
%config %{_sysconfdir}/sync/profiles/sync/mobical.com.xml
%package -n buteo-service-google
Summary: Google Contacts service description
Group: System/Libraries
Requires: %{name} = %{version}
%description -n buteo-service-google
Google Contacts service description for Buteo SyncML
%files -n buteo-service-google
%defattr(-,root,root,-)
%config %{_sysconfdir}/sync/profiles/service/google.com.xml
%config %{_sysconfdir}/sync/profiles/sync/google.com.xml
%package -n buteo-service-memotoo
Summary: Memotoo service description
Group: System/Libraries
Requires: %{name} = %{version}
%description -n buteo-service-memotoo
Memotoo service description for Buteo SyncML
%files -n buteo-service-memotoo
%defattr(-,root,root,-)
%config %{_sysconfdir}/sync/profiles/service/memotoo.com.xml
%config %{_sysconfdir}/sync/profiles/sync/memotoo.com.xml
%prep
%setup -q
%build
qmake
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make INSTALL_ROOT=%{buildroot} install
# ovi service, currently incomplete
rm -f %{buildroot}/%{_sysconfdir}/sync/profiles/service/ovisuite.xml
rm -f %{buildroot}/%{_sysconfdir}/sync/profiles/sync/switch.xml
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Mon Jan 31 2011 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.64
- Update version, fixing BMC#13137
* Wed Jan 5 2011 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.61
- Update version, fixing BMC#11997
* Fri Dec 17 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.60
- Update version, fixing BMC#4945
* Wed Nov 24 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.57
- Update version, fixes: BME#3869
* Sun Oct 17 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.48
- Update to latest version
* Thu Sep 23 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.46
- Update version, fixing BMC#3869, BMC#3888, BMC#4945
* Tue Aug 24 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6.34
- Update to latest version
* Fri Aug 13 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6
- Change build requires to pkgconfig
* Wed Aug 11 2010 Kaitlin Rupert <kaitlin.rupert@intel.com> - 0.5.6
- Replace qt4-devel with QtCore and QtNetwork
* Tue Jun 29 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.5.6
- Initial RPM version