File libgrss.spec of Package libgrss

#
# spec file for package libgrss (Version 0.4.0)
#
# Copyright (c) 2010 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.4.0
Release:        2
License:        LGPLv3+
Url:            http://live.gnome.org/Libgrss
Summary:        Library for easy management of RSS/Atom/Pie feeds
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(libsoup-2.4)
BuildRequires:  pkgconfig(libxml-2.0)

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

%package -n libgrss-1_0-0
License:        LGPLv3+
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
License:        LGPLv3+
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

%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.pc

%changelog