File totem-pl-parser.spec of Package totem-pl-parser
#
# spec file for package totem-pl-parser (Version 2.32.1)
#
# 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/
#
# norootforbuild
Name: totem-pl-parser
Version: 2.32.1
Release: 1
License: LGPLv2.0+
Group: Productivity/Multimedia/Video/Players
Source0: %{name}-%{version}.tar.bz2
Summary: A simple GObject-based library to parse playlist formats
Url: http://www.gnome.org/projects/totem/
BuildRequires: glib2-devel
BuildRequires: gmime-2_4-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: translation-update-upstream
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%description
totem-pl-parser is a simple GObject-based library to parse a host of
playlist formats, to save them too.
%package devel
License: LGPLv2.0+
Group: Development/Libraries/GNOME
Summary: A simple GObject-based library to parse playlist formats
Requires: %{name} = %{version} gtk2-devel
Requires: gmime-2_4-devel
%description devel
totem-pl-parser is a simple GObject-based library to parse a host of
playlist formats, to save them too.
%lang_package
%prep
%setup
translation-update-upstream
%build
%configure --disable-static
make %{?jobs:-j%jobs}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%find_lang %{name}
%clean
%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib
%files devel
%defattr(-, root, root)
%{_includedir}/totem-pl-parser/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%doc %{_datadir}/gtk-doc/html/totem-pl-parser/
%files lang -f %{name}.lang
%changelog