SPECS: beagle.spec - 0.1.3, python bindings added

freetz freetz at pld-linux.org
Thu Dec 8 08:47:20 CET 2005


Author: freetz                       Date: Thu Dec  8 07:47:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.1.3, python bindings added

---- Files affected:
SPECS:
   beagle.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/beagle.spec
diff -u SPECS/beagle.spec:1.48 SPECS/beagle.spec:1.49
--- SPECS/beagle.spec:1.48	Wed Nov 30 19:39:05 2005
+++ SPECS/beagle.spec	Thu Dec  8 08:47:14 2005
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 #
-# TODO: 
+# TODO:
 #	- finish crawl system
 #       - separtate CLI utilities
 #
@@ -13,12 +13,12 @@
 Summary:	Beagle - An indexing subsystem
 Summary(pl):	Beagle - podsystem indeksujący
 Name:		beagle
-Version:	0.1.2
+Version:	0.1.3
 Release:	0.9
 License:	Various
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/gnome/sources/beagle/0.1/%{name}-%{version}.tar.bz2
-# Source0-md5:	944553979659ed21a68bba307126126a
+# Source0-md5:	d24c10650a5d39758da19a5d067dfee2
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-crawl.patch
 URL:		http://beaglewiki.org/Main_Page
@@ -42,6 +42,7 @@
 BuildRequires:	mono-csharp >= 1.1.10
 BuildRequires:	mozilla-devel
 BuildRequires:	pkgconfig
+BuildRequires:	python-devel
 BuildRequires:	sqlite-devel
 BuildRequires:	wv-devel >= 1.0.0
 BuildRequires:	zip
@@ -50,6 +51,7 @@
 %{?with_epiphany:Requires:	epiphany-extensions}
 Requires:	gtk+2 >= 2:2.4.0
 Requires:	sqlite
+
 ExcludeArch:	alpha i386 sparc sparc64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -98,7 +100,7 @@
 
 %package crawl-system
 Summary:	Beagle crawl system
-Summary(pl):	System przeszukujący beagle-crawl 
+Summary(pl):	System przeszukujący beagle-crawl
 Group:		Applications/System
 
 %description crawl-system
@@ -122,6 +124,19 @@
 Rozszerzenie dla Epiphany sprawiające, że Beagle indeksuje każdą
 odwiedzaną stronę.
 
+%package -n python-%{name}
+Summary:	Beagle Python bindings
+Summary(pl):	Wi^Ezania j^Yzyka Python dla Beagle
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq  python-libs
+
+%description -n python-%{name}
+Beagle Python bindings.
+
+%description -n python-%{name} -l pl
+Wi^Ezania j^Yzyka Python dla Beagle.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -138,20 +153,24 @@
 	--with-html-dir=%{_gtkdocdir} \
 	--%{!?with_epiphany:dis}%{?with_epiphany:en}able-epiphany-extension \
 	--%{!?with_evoultion:dis}%{?with_evolution:en}able-evolution-sharp
-	
+
 %{__make} \
-	MOZILLA_HOME=%{_libdir}/mozilla
+	MOZILLA_HOME=%{_libdir}/mozilla \
+	pythondir=%{py_sitedir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	pythondir=%{py_sitedir}
 
 # Kill useless files
 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/1.8/extensions/*.la \
 	$RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
-	
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
+
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name}
@@ -213,12 +232,19 @@
 %{_libdir}/epiphany/1.8/extensions/*.xml
 %endif
 
+%files -n python-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2005/12/08 07:47:14  freetz
+- 0.1.3, python bindings added
+
 Revision 1.48  2005/11/30 18:39:05  freetz
 - exclude alpha i386 sparc sparc64 from build, enable gsf-sharp
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/beagle.spec?r1=1.48&r2=1.49&f=u




More information about the pld-cvs-commit mailing list