packages: libpeas/libpeas.spec, libpeas/gir.patch (NEW) - up to 0.7.3 - fix...

wiget wiget at pld-linux.org
Thu Mar 3 21:22:55 CET 2011


Author: wiget                        Date: Thu Mar  3 20:22:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.7.3
- fix gir build problem
- move python and js loaders to subpackages (to lower main package dependency)

---- Files affected:
packages/libpeas:
   libpeas.spec (1.3 -> 1.4) , gir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libpeas/libpeas.spec
diff -u packages/libpeas/libpeas.spec:1.3 packages/libpeas/libpeas.spec:1.4
--- packages/libpeas/libpeas.spec:1.3	Tue Feb 15 17:23:24 2011
+++ packages/libpeas/libpeas.spec	Thu Mar  3 21:22:50 2011
@@ -1,8 +1,4 @@
 # $Revision$, $Date$
-#
-# TODO:
-#  - subpackages for python and seed loaders
-#
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
 %bcond_without	static_libs	# don't build static libraries
@@ -10,12 +6,13 @@
 Summary:	GObject Plugin System
 Summary(pl.UTF-8):	System wtyczek GObject
 Name:		libpeas
-Version:	0.7.1
-Release:	0.1
+Version:	0.7.3
+Release:	1
 License:	LGPL v2
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libpeas/0.7/%{name}-%{version}.tar.gz
-# Source0-md5:	3038e8f8876d87b85dc5e35844935231
+# Source0-md5:	58456ddf05c3dc5b8a8dc68a68f88356
+Patch0:		gir.patch
 URL:		http://live.gnome.org/Libpeas
 BuildRequires:	autoconf >= 2.63.2
 BuildRequires:	automake >= 1.11
@@ -41,6 +38,22 @@
  - on demand (lazy) programming language support for C, Python and JS
  - simplicity of the API 
 
+%package loader-python
+Summary:	Python loader for libpeas library
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Python loader for libpeas library.
+
+%package loader-seed
+Summary:	JavaScript loader for libpeas library
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+JavaScript loader for libpeas library.
+
 %package devel
 Summary:	Header files for libpeas library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libpeas
@@ -121,6 +134,10 @@
 Summary:	Demo application for libpeas
 Summary(pl.UTF-8): Aplikacja demonstracyjna libpeas
 Group:		Application
+Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-gtk = %{version}-%{release}
+Requires:	%{name}-loader-python = %{version}-%{release}
+Requires:	%{name}-loader-seed = %{version}-%{release}
 
 %description demo
 Demo application for libpeas.
@@ -130,10 +147,17 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	%{__enable_disable static_libs static} \
+	%{__enable_disable apidocs gtk-doc} \
 	--disable-silent-rules
 %{__make}
 
@@ -169,7 +193,13 @@
 %attr(755,root,root) %ghost %{_libdir}/libpeas-1.0.so.0
 %{_libdir}/girepository-1.0/Peas-1.0.typelib
 %{_libdir}/libpeas-1.0/loaders/libcloader.so
+
+%files loader-python
+%defattr(644,root,root,755)
 %{_libdir}/libpeas-1.0/loaders/libpythonloader.so
+
+%files loader-seed
+%defattr(644,root,root,755)
 %{_libdir}/libpeas-1.0/loaders/libseedloader.so
 
 %files devel
@@ -219,7 +249,6 @@
 %{_libdir}/peas-demo/plugins/seedhello/seedhello.js
 %{_libdir}/peas-demo/plugins/seedhello/seedhello.plugin
 
-
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
@@ -232,6 +261,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/03/03 20:22:50  wiget
+- up to 0.7.3
+- fix gir build problem
+- move python and js loaders to subpackages (to lower main package dependency)
+
 Revision 1.3  2011/02/15 16:23:24  wiget
 - ldconfig for gtk
 

================================================================
Index: packages/libpeas/gir.patch
diff -u /dev/null packages/libpeas/gir.patch:1.1
--- /dev/null	Thu Mar  3 21:22:55 2011
+++ packages/libpeas/gir.patch	Thu Mar  3 21:22:50 2011
@@ -0,0 +1,11 @@
+--- libpeas-0.7.3/libpeas-gtk/Makefile.am.wiget	2011-03-03 21:00:59.937203008 +0100
++++ libpeas-0.7.3/libpeas-gtk/Makefile.am	2011-02-20 19:22:23.000000000 +0100
+@@ -58,7 +58,7 @@ if HAVE_INTROSPECTION
+   PeasGtk-1.0.gir: libpeas-gtk-1.0.la
+   PeasGtk_1_0_gir_INCLUDES = GObject-2.0 $(GTK_TYPELIB)
+   PeasGtk_1_0_gir_CFLAGS = $(PEAS_CFLAGS) $(PEAS_GTK_CFLAGS) -I$(top_srcdir)
+-  PeasGtk_1_0_gir_LIBS = libpeas-gtk-1.0.la
++  PeasGtk_1_0_gir_LIBS = libpeas-gtk-1.0.la $(top_builddir)/libpeas/libpeas-1.0.la
+   PeasGtk_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
+   PeasGtk_1_0_gir_EXPORT_PACKAGES = libpeas-gtk-1.0
+   PeasGtk_1_0_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libpeas/Peas-1.0.gir
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpeas/libpeas.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list