Author: aflinta                      Date: Fri Apr 27 19:46:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.80.2, added TODO

---- Files affected:
SPECS:
   python-dbus.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/python-dbus.spec
diff -u SPECS/python-dbus.spec:1.12 SPECS/python-dbus.spec:1.13
--- SPECS/python-dbus.spec:1.12 Mon Feb 12 23:09:12 2007
+++ SPECS/python-dbus.spec      Fri Apr 27 21:46:40 2007
@@ -1,5 +1,9 @@
 # $Revision$, $Date$
 #
+# TODO:
+# - create devel subpackage?
+# - package documentation
+#
 %define                dbus_version    0.91
 %define                expat_version   1:1.95.5
 %define                glib2_version   1:2.12.1
@@ -8,18 +12,18 @@
 Summary:       Python library for using D-BUS
 Summary(pl.UTF-8):     Biblioteka do używania D-BUS oparta o Pythona
 Name:          python-dbus
-Version:       0.71
-Release:       6
+Version:       0.80.2
+Release:       0.1
 License:       AFL v2.1 or GPL v2
 Group:         Libraries
-Source0:       http://dbus.freedesktop.org/releases/%{rname}-%{version}.tar.gz
-# Source0-md5: ee893bc87b784a8c2285f5041b5e7033
-Patch0:                dbus-python_fixes.patch
+Source0:       
http://dbus.freedesktop.org/releases/%{rname}/%{rname}-%{version}.tar.gz
+# Source0-md5: 2807bc85215c995bd595e01edd9d2077
+#Patch0:               dbus-python_fixes.patch
 URL:           http://www.freedesktop.org/Software/DBusBindings
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: cpp
-BuildRequires: dbus-glib-devel >= 0.71
+BuildRequires: dbus-glib-devel >= 0.73
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: python-Pyrex >= 0.9.4.2
@@ -27,7 +31,7 @@
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-modules
-Requires:      dbus-glib >= 0.71
+Requires:      dbus-glib >= 0.73
 Requires:      python-libxml2 >= 1:2.6.26
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,19 +45,19 @@
 
 %prep
 %setup -qn %{rname}-%{version}
-%patch0 -p1
+#%patch0 -p1
 
 %build
-python setup.py build
+%configure
+%{__make}
        
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
        
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/dbus/*.{py,la,a}
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/{,dbus}/{,mainloop}/*.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,10 +66,13 @@
 %defattr(644,root,root,755)
 # AFL not in common-licenses, so COPYING included
 %doc AUTHORS COPYING ChangeLog NEWS
-%dir %{py_sitedir}/dbus
-%attr(755,root,root) %{py_sitedir}/dbus/*.so
-%{py_sitedir}/dbus/*.py[co]
-%{py_sitedir}/dbus_python-*.egg-info
+%dir %{py_sitescriptdir}/dbus
+%dir %{py_sitescriptdir}/dbus/mainloop
+%attr(755,root,root) %{py_sitedir}/_dbus*.so
+%{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/dbus/*.py[co]
+%{py_sitescriptdir}/dbus/mainloop/*.py[co]
+#%{py_sitedir}/dbus_python-*.egg-info
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/04/27 19:46:40  aflinta
+- up to 0.80.2, added TODO
+
 Revision 1.12  2007/02/12 22:09:12  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-dbus.spec?r1=1.12&r2=1.13&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to