File libgrss.spec of Package libgrss

#
# spec file for package libgrss
#
# Copyright (c) 2013 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:           libgrss
Version:        0.5.0
Release:        0
Url:            http://live.gnome.org/Libgrss
Summary:        Library for easy management of RSS/Atom/Pie feeds
License:        LGPL-3.0+
Group:          System/Libraries
Source:         http://gtk.mplat.es/libgrss/tarballs/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libgrss-missing-includes.patch dimstar@opensuse.org -- Add missing includes
Patch0:         libgrss-missing-includes.patch
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  pkgconfig(gobject-2.0) >= 2.30.2
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.36.1
BuildRequires:  pkgconfig(libxml-2.0) >= 2.7.8

%description
LibGRSS is a library for easy management of RSS/Atom/Pie feeds.

%package -n libgrss-1_0-0
Summary:        Library for easy management of RSS/Atom/Pie feeds
Group:          System/Libraries

%description -n libgrss-1_0-0
LibGRSS is a library for easy management of RSS/Atom/Pie feeds.

%package devel
Summary:        Library for easy management of RSS/Atom/Pie feeds -- Development Files
Group:          Development/Libraries/GNOME
Requires:       libgrss-1_0-0 = %{version}

%description devel
LibGRSS is a library for easy management of RSS/Atom/Pie feeds.

%prep
%setup -q
%patch0 -p1

%build
%configure \
    --disable-static
%__make %{?_smp_mflags}

%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%post -n libgrss-1_0-0 -p /sbin/ldconfig

%postun -n libgrss-1_0-0 -p /sbin/ldconfig

%files -n libgrss-1_0-0
%defattr(-, root, root)
%doc COPYING NEWS README
%{_libdir}/libgrss-1.0.so.*

%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/libgrss/
%{_includedir}/libgrss/
%{_libdir}/libgrss-1.0.so
%{_libdir}/pkgconfig/libgrss-0.5.pc

%changelog
openSUSE Build Service is sponsored by