File desktop-data-model.spec of Package desktop-data-model

#norootforbuild

Name: desktop-data-model
BuildRequires: glib2-devel dbus-1-glib-devel loudmouth-devel sqlite-devel pcre-devel intltool gconf2-devel gnome-desktop-devel autoconf automake
License: LGPL v2.1
Group: Development/Libraries/GNOME
AutoReqProv: on
Version: 1.2.4
Release: 0
Summary: Desktop Data Model for GNOME Online Desktop
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
Desktop Data Model for GNOME Online Desktop

%package devel
Summary:  Include Files and Libraries mandatory for Development.
Group: Development/Libraries/GNOME
Requires: desktop-data-model = %{version}
Requires: glib2-devel dbus-1-glib-devel loudmouth-devel sqlite-devel pcre-devel intltool gconf2-devel gnome-desktop-devel
Autoreqprov: on

%description devel
This package contains all necessary include files and libraries needed to develop applications that require these.

%debug_package
%prep
%setup -q

%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}  

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README NEWS
%{_datadir}/dbus-1/*
%{_datadir}/desktop-data-model/*
%{_libdir}/*.so.*
%{_libexecdir}/desktop-data-engine


%files devel
%defattr(-,root,root)  
%{_includedir}/ddm-1
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/ddm-1.pc

%changelog
* Sun Jul 6 2008 Alan Cramer <alan@cramer.id.au>
- Updated to 1.2.4
- Removed Patch for Loudmouth for now, may conflict with new version of DDM.
* Thu Mar 13 2008 - jhaygood@reaktix.com
- Initial Package
openSUSE Build Service is sponsored by