totem-pl-parser r62 - trunk



Author: uraeus
Date: Fri Feb 29 20:10:49 2008
New Revision: 62
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=62&view=rev

Log:
add spec file and fix package name


Added:
   trunk/totem-pl-parser.spec.in
Modified:
   trunk/ChangeLog
   trunk/Makefile.am
   trunk/autogen.sh
   trunk/configure.in

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Fri Feb 29 20:10:49 2008
@@ -9,7 +9,8 @@
 	AUTHORS NEWS		\
 	gtk-doc.make		\
 	totem-plparser.pc.in	\
-	totem-plparser-mini.pc
+	totem-plparser-mini.pc	\
+	totem-pl-parser.spec
 
 CLEANFILES = totem-plparser.pc
 

Modified: trunk/autogen.sh
==============================================================================
--- trunk/autogen.sh	(original)
+++ trunk/autogen.sh	Fri Feb 29 20:10:49 2008
@@ -4,7 +4,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-PKG_NAME="totem"
+PKG_NAME="totem-pl-parser"
 
 (test -f $srcdir/configure.in) || {
     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Fri Feb 29 20:10:49 2008
@@ -110,6 +110,7 @@
 totem-plparser-uninstalled.pc
 totem-plparser-mini.pc
 totem-plparser-mini-uninstalled.pc
+totem-pl-parser.spec
 lib/Makefile
 plparse/Makefile
 plparse/totem-pl-parser-features.h

Added: trunk/totem-pl-parser.spec.in
==============================================================================
--- (empty file)
+++ trunk/totem-pl-parser.spec.in	Fri Feb 29 20:10:49 2008
@@ -0,0 +1,70 @@
+Summary: Playlist Parser Library
+Name: totem-pl-parser
+Version: @VERSION@
+Release: 1
+License: LGPL
+Group: Libraries/Multimedia
+URL: http://www.gnome.org/projects/totem/
+Source0: http://ftp.gnome.org/pub/GNOME/sources/totem/2.20/totem-pl-parser-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: gcc-c++, pkgconfig, gettext, scrollkeeper
+BuildRequires: perl-XML-Parser
+
+%description
+Totem-pl-parser is a library for parsing the various playlist formats used for 
+online audio and video streams.
+
+%package devel
+Summary: Libraries/include files for Totem-pl-parser.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Totem-pl-parser is a library for parsing the various playlist formats used for
+online audio and video streams.
+
+This package contains the libraries and includes files necessary to develop
+applications with Totem's plparser library.
+
+
+%prep
+%setup -q
+
+%build
+%configure 
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# no static libs and libtool archives either
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB ChangeLog NEWS README
+%{_libdir}/libtotem-plparser.so.*
+%{_libdir}/libtotem-plparser-mini.so.*
+%{_datadir}/gtk-doc/html
+%{_datadir}/locale
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/%{name}/1/plparser
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*so
+
+%changelog
+* Fri Feb 29 2008 Christian Schaller <christian collabora co uk>
+- First spec file for stand alone library



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]