totem-pl-parser/totem-pl-parser.spec
2008-01-21 17:31:42 +00:00

80 lines
1.8 KiB
RPMSpec

Name: totem-pl-parser
Version: 2.21.91
Release: 1%{?dist}
Summary: Totem Playlist Parser library
Group: System Environment/Libraries
License: LGPLv2+
Url: http://www.gnome.org/projects/totem/
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.21/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: totem-plparser
BuildRequires: gtk2-devel
BuildRequires: gnome-vfs2-devel
BuildRequires: evolution-data-server-devel
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
%description
A library to parse and save playlists, as used in music and movie players.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Obsoletes: totem-devel
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: gnome-vfs2-devel
Requires: gtk2-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --enable-static=no
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING.LIB NEWS README
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/totem-pl-parser
%changelog
* Mon Jan 21 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1
- Update to 2.21.91
* Mon Jan 07 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1
- Update to 2.21.90
* Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.6-1
- First package