File liboobs.spec of Package liboobs

# spec file for package liboobs
# Copyright (c) 2014 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

Name:           liboobs
Version:        3.0.0
Release:        0
Summary:        System Configuration Management
License:        GPL-3.0+
Group:          System/Libraries
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  pkgconfig(dbus-glib-1) >= 0.70
BuildRequires:  pkgconfig(glib-2.0) >= 2.14.0
BuildRequires:  pkgconfig(gobject-2.0) >= 2.14.0
BuildRequires:  pkgconfig(system-tools-backends-2.0) >= 2.10.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

System Configuration Management libraries

%package -n liboobs-1-5
Summary:        Configuration libraries
Group:          System/Libraries
Provides:       liboobs

%description -n liboobs-1-5
System Configuration Management

%package devel
Summary:        Devel files for liboobs
Group:          Development/Libraries/C and C++
Requires:       liboobs-1-5 = %{version}
Requires:       pkg-config
Requires:       pkgconfig(dbus-glib-1) >= 0.70
Requires:       pkgconfig(glib-2.0) >= 2.14.0
Requires:       pkgconfig(gobject-2.0) >= 2.14.0
Requires:       pkgconfig(system-tools-backends-2.0) >= 2.10.1

%description devel
liboobs libraries for development

%setup -q

%configure --disable-static
make %{?_smp_mflags}

rm -rf %{buildroot}/%{_datadir}/gtk-doc
rm -rf %{buildroot}/%{_libdir}/

%post -n liboobs-1-5 -p /sbin/ldconfig

%postun -n liboobs-1-5 -p /sbin/ldconfig

%files -n liboobs-1-5

%files devel
%defattr (-,root,root)