Files
liboobs/liboobs.spec
andrea florio cdf2a42922 Accepting request 283588 from home:sfalken:branches:X11:lxde
Please add Substitute pkg-config pkgconfig to prjconf
-This line, and those below, will be ignored--

old: X11:lxde/liboobs
new: home:sfalken:branches:X11:lxde/liboobs rev None
Index: liboobs.spec
===================================================================
--- liboobs.spec (revision 3)
+++ liboobs.spec (revision 5)
@@ -28,6 +28,7 @@
 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
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description

OBS-URL: https://build.opensuse.org/request/show/283588
OBS-URL: https://build.opensuse.org/package/show/X11:lxde/liboobs?expand=0&rev=4
2015-01-31 17:25:26 +00:00

87 lines
2.4 KiB
RPMSpec

#
# 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
BuildRequires: pkg-config
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