source: projects/specs/branches/6/p/pybluez/pybluez-vl.spec @ 5795

Revision 5795, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild package

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Name:           pybluez
4Version:        0.18
5Release:        2%{?_dist_release}
6Summary:        Python API for the BlueZ bluetooth stack
7Summary(ja):    BlueZ bluetooth スタックの Python API
8
9Group:          Development/Languages
10License:        GPLv2
11URL:            http://code.google.com/p/pybluez/
12Source0:        http://pybluez.googlecode.com/files/PyBluez-0.18.tar.gz
13
14#----------------------------------------------------------------------------
15           
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18#----------------------------------------------------------------------------       
19BuildRequires:      python-devel, bluez-libs-devel
20                   
21#----------------------------------------------------------------------------       
22%description
23PyBluez is an effort to create python wrappers around system Bluetooth
24resources to allow Python developers to easily and quickly create Bluetooth
25applications.
26
27%description -l ja
28PyBluez は Python 開発者が容易かつ迅速にBluetoothのアプリケーションを作成
29できるようにシステム回りの Bluetooth リソースの Pythonラッパーを作成します。
30
31#----------------------------------------------------------------------------       
32%prep
33%setup -q -n PyBluez-%{version}
34
35
36%build
37CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
38
39
40#----------------------------------------------------------------------------       
41%install
42rm -rf $RPM_BUILD_ROOT
43# This file shouldn't be executable - it's going into %doc
44chmod a-x examples/bluezchat/bluezchat.py
45%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
46
47 
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51
52#----------------------------------------------------------------------------       
53%files
54%defattr(-,root,root,-)
55%doc README CHANGELOG COPYING examples
56%{python_sitearch}/*
57
58#----------------------------------------------------------------------------
59# Maintainers: babasaki@mindgear.org
60#
61#----------------------------------------------------------------------------
62%changelog
63* Thu Mar 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-2
64- rebuild with Vine6 environment
65
66* Sun Jul 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
67- new upstream release
68
69* Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.15-4
70- rebuilt with python-2.6
71
72* Fri Oct 24  2008 Seiichirou Babasaki 0.15-2
73- Import bluez-gnome - Packager: Babasaki
74- added "# Maintainers: " comments.
75- changed UTF-8 encode at pybluez.vs.spec
76- updated specfile
77
78#----------------------------------------------------------------------------
79* Thu Sep 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.15-2
80- Rebuild
81
82* Wed Jun 4 2008 Will Woods <wwoods@redhat.com> - 0.15-1
83- New upstream version
84
85* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4
86- Autorebuild for GCC 4.3
87
88* Fri Dec 29 2006 - Will Woods <wwoods@redhat.com> - 0.9.1-3
89- Clean up spec file some more after further comments in bug #218678
90
91* Fri Dec 15 2006 - Will Woods <wwoods@redhat.com> - 0.9.1-2
92- Clean up spec file according to comments in bug #218678
93
94* Wed Dec 6 2006 - Will Woods <wwoods@redhat.com> - 0.9.1-1
95- Initial packaging attempt.
Note: See TracBrowser for help on using the repository browser.