From f0649aa6861cc0f8febc0f60cd1e1e22e5255aba Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 9 Dec 2007 16:51:38 +0000 Subject: [PATCH] Import totem-pl-parser --- .cvsignore | 1 + sources | 1 + totem-pl-parser.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 totem-pl-parser.spec diff --git a/.cvsignore b/.cvsignore index e69de29..df43971 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +totem-pl-parser-2.21.6.tar.bz2 diff --git a/sources b/sources index e69de29..b6c902f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +061f0020a6c564b0027ddab7ff4bc8e8 totem-pl-parser-2.21.6.tar.bz2 diff --git a/totem-pl-parser.spec b/totem-pl-parser.spec new file mode 100644 index 0000000..dd65768 --- /dev/null +++ b/totem-pl-parser.spec @@ -0,0 +1,67 @@ +Name: totem-pl-parser +Version: 2.21.6 +Release: 1%{?dist} +Summary: the Totem Playlist Parser library + +Group: System Environment/Libraries +License: LGPLv2+ +Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.21/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtk2-devel +BuildRequires: gnome-vfs2-devel + +%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 +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 + +%changelog +* Thu Dec 06 2007 - Bastien Nocera - 2.21.6 +- First package +