2014-11-11 12:43:22 +00:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: liboobs
|
|
|
|
Version: 3.0.0
|
|
|
|
Release: 0
|
|
|
|
Summary: System Configuration Management
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
Url: https://github.com/GNOME/liboobs
|
|
|
|
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
|
2015-01-31 17:25:26 +00:00
|
|
|
BuildRequires: pkg-config
|
2014-11-11 12:43:22 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/gtk-doc
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/liboobs-1.la
|
|
|
|
|
|
|
|
%post -n liboobs-1-5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n liboobs-1-5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n liboobs-1-5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
%{_libdir}/liboobs-1.so.5
|
|
|
|
%{_libdir}/liboobs-1.so.5.0.1
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%{_libdir}/liboobs-1.so
|
|
|
|
%{_libdir}/pkgconfig/liboobs-1.pc
|
|
|
|
%{_includedir}/liboobs-1.0
|
|
|
|
|
|
|
|
%changelog
|