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

#
# spec file for package desktop-data-model (Version 1.2.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           desktop-data-model
BuildRequires:  dbus-1-glib-devel
BuildRequires:  gnome-desktop-devel
BuildRequires:  gtk2-devel
BuildRequires:  loudmouth-devel
BuildRequires:  pcre-devel
BuildRequires:  pkg-config
BuildRequires:  sqlite3-devel
BuildRequires:  update-desktop-files
Version:        1.2.4
Release:        2
Source0:        desktop-data-model-%{version}.tar.bz2
# PATCHLIST_START
# PATCHLIST_END
Summary:        desktop data model library
Group:          System/GUI/GNOME
License:        LGPL v2.1 only
Url:            http://live.gnome.org/OnlineDesktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
desktop data model library



Authors:
--------
    Owen Taylor <otaylor@redhat.com>

%package devel
License:        LGPL v2.1 only
Summary:        development files for desktop data model library
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Requires:       dbus-1-devel glib2-devel

%description devel
development files for desktop data model library



Authors:
--------
    Owen Taylor <otaylor@redhat.com>

%lang_package
%prep
%setup
# PATCH_APPLICATION_START
# PATCH_APPLICATION_END

%build
%configure

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files 
%defattr(-, root, root)
%{_datadir}/dbus-1/services/*.service
%{_datadir}/desktop-data-model
%{_libdir}/desktop-data-engine
%{_libdir}/*.so.*

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

%changelog
* Fri Aug 29 2008 maw@suse.de
- Initial packaged version, 1.2.4.
openSUSE Build Service is sponsored by