1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
3 | |
---|
4 | %define dbus_glib_version 0.92 |
---|
5 | %define dbus_version 1.4.1 |
---|
6 | %define pkg_release 2%{?_dist_release} |
---|
7 | |
---|
8 | Name: dbus-python |
---|
9 | Summary: D-Bus Python Bindings |
---|
10 | Summary(ja): D-Bus Python バインディング |
---|
11 | Version: 0.83.2 |
---|
12 | Release: %{pkg_release} |
---|
13 | |
---|
14 | Group: System Environment/Libraries |
---|
15 | License: MIT |
---|
16 | URL: http://www.freedesktop.org/software/dbus/ |
---|
17 | |
---|
18 | Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz |
---|
19 | |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
22 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
23 | BuildRequires: python-devel |
---|
24 | |
---|
25 | %description |
---|
26 | D-Bus python bindings for use with python programs. |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | D-Bus を python プログラムから使う為のバインディングです。 |
---|
30 | |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Libraries and headers for dbus-python |
---|
34 | Summary(ja): dbus-python のライブラリ及びヘッダファイル |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | |
---|
38 | %description devel |
---|
39 | Headers and static libraries for hooking up custom mainloops to the dbus python |
---|
40 | bindings. |
---|
41 | |
---|
42 | %description devel -l ja |
---|
43 | dbus-python バインディング用のカスタム・メインループをフックする為の |
---|
44 | ヘッダファイルとスタティック・ライブラリです。 |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | |
---|
50 | %build |
---|
51 | %configure |
---|
52 | %{__make} %{?_smp_mflags} |
---|
53 | |
---|
54 | |
---|
55 | %install |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
57 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | # remove unnecessary *.la files |
---|
60 | find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \; |
---|
61 | |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf ${RPM_BUILD_ROOT} |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root) |
---|
68 | %doc COPYING ChangeLog README NEWS TODO |
---|
69 | %doc doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt |
---|
70 | %exclude %{_datadir}/doc/dbus-python |
---|
71 | %dir %{python_sitelib}/dbus |
---|
72 | %dir %{python_sitelib}/dbus/mainloop |
---|
73 | %{python_sitearch}/*.so |
---|
74 | %{python_sitelib}/*.py* |
---|
75 | %{python_sitelib}/dbus/*.py* |
---|
76 | %{python_sitelib}/dbus/mainloop/*.py* |
---|
77 | |
---|
78 | %files devel |
---|
79 | %defattr(-,root,root) |
---|
80 | %{_includedir}/dbus-1.0/dbus/dbus-python.h |
---|
81 | %{_libdir}/pkgconfig/dbus-python.pc |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.83.2-2 |
---|
85 | - rebuild with python-2.7.2 |
---|
86 | |
---|
87 | * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.83.2-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.83.1-1 |
---|
91 | - new upstream release |
---|
92 | - dropt Patch0 (merged into upstream) |
---|
93 | - built with rpm-4.8.1 for pkg-config |
---|
94 | |
---|
95 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-4 |
---|
96 | - rebuilt with gcc-4.4.3-3 on ppc |
---|
97 | |
---|
98 | * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-3 |
---|
99 | - rebuilt with rpm-4.8.0-3 (on ppc) |
---|
100 | |
---|
101 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.83.0-2 |
---|
102 | - rebuild with python-2.6 |
---|
103 | |
---|
104 | * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.83.0-1 |
---|
105 | - initital build for Vine Linux based on fedora package |
---|
106 | |
---|
107 | * Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3 |
---|
108 | - Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551 |
---|
109 | |
---|
110 | * Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2 |
---|
111 | - Update to 0.83.0. |
---|
112 | |
---|
113 | * Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3 |
---|
114 | - fix license tag |
---|
115 | |
---|
116 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2 |
---|
117 | - Autorebuild for GCC 4.3 |
---|
118 | |
---|
119 | * Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1 |
---|
120 | - Update to 0.82.4 |
---|
121 | |
---|
122 | * Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3 |
---|
123 | - Rebuild against new dbus-glib |
---|
124 | |
---|
125 | * Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2 |
---|
126 | - Rebuild for selinux ppc32 issue. |
---|
127 | |
---|
128 | * Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1 |
---|
129 | - Update to 0.82.0 |
---|
130 | - Put all docs in the usual place |
---|
131 | |
---|
132 | * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3 |
---|
133 | - Rebuild |
---|
134 | |
---|
135 | * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2 |
---|
136 | - Don't examine args for functions declared METH_NOARGS (#235017) |
---|
137 | |
---|
138 | * Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1 |
---|
139 | - upgrade to 0.80.2 which fixes some memleaks |
---|
140 | |
---|
141 | * Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1 |
---|
142 | - upgrade to 0.80.1 |
---|
143 | - remove dependency on Pyrex and libxml2 |
---|
144 | - some API breakage, |
---|
145 | please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html |
---|
146 | for notes on changes |
---|
147 | |
---|
148 | * Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist} |
---|
149 | - rebuild against new Pyrex |
---|
150 | |
---|
151 | * Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8 |
---|
152 | - rebuild against python 2.5 |
---|
153 | |
---|
154 | * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7 |
---|
155 | - Fix a typo in the spec file |
---|
156 | |
---|
157 | * Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6 |
---|
158 | - require libxml2-python for site-packages/dbus/introspect_parser.py |
---|
159 | |
---|
160 | * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5 |
---|
161 | - Remove unnecessary obsoletes |
---|
162 | |
---|
163 | * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4 |
---|
164 | - Try python_sitearch this time |
---|
165 | |
---|
166 | * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3 |
---|
167 | - Add a BR on dbus-devel |
---|
168 | |
---|
169 | * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2 |
---|
170 | - Spec file cleanups |
---|
171 | - Add PKG_CONFIG_PATH |
---|
172 | |
---|
173 | * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1 |
---|
174 | - Initial package import |
---|