source: projects/specs/trunk/d/dbus-python3/dbus-python3-vl.spec @ 12469

Revision 12469, 1.9 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

Line 
1%define dbus_glib_version       0.70
2%define dbus_version            1.6
3
4Name:           dbus-python3
5Summary:        D-Bus Python3 Bindings
6Summary(ja):    D-Bus Python3 バインディング
7Group:          system
8Version:        1.2.16
9Release:        1%{?_dist_release}
10Vendor:         Project Vine
11Distribution:   Vine Linux
12
13License:        MIT
14URL:            https://www.freedesktop.org/software/dbus/
15Source0:        https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildRequires:  dbus-devel >= %{dbus_version}
19BuildRequires:  dbus-glib-devel >= %{dbus_glib_version}
20BuildRequires:  python3-devel
21BuildRequires:  python3-rpm-macros
22Requires:       python3
23Provides:       python3-dbus = %{version}-%{release}
24
25%description
26D-Bus python3 bindings for use with python programs.   
27
28%description -l ja
29D-Bus を python3 プログラムから使う為のバインディングです。   
30
31
32%prep
33%setup -q -n dbus-python-%{version}
34
35
36%build
37%configure PYTHON=/usr/bin/python3
38%{__make} %{?_smp_mflags}
39
40
41%install
42%{__rm} -rf ${RPM_BUILD_ROOT}
43%{__make} install DESTDIR=${RPM_BUILD_ROOT}
44
45# remove unnecessary *.la files
46find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
47
48# remove conflict files with dbus-python
49rm -f ${RPM_BUILD_ROOT}%{_includedir}/dbus-1.0/dbus/dbus-python.h
50rm -f ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/dbus-python.pc
51rm -f ${RPM_BUILD_ROOT}%{_docdir}/dbus-python/*
52
53
54%clean
55rm -rf ${RPM_BUILD_ROOT}
56
57
58%files
59%defattr(-,root,root)
60%license COPYING
61%doc ChangeLog README NEWS
62%{python3_sitearch}/*.so
63%dir %{python3_sitelib}/dbus
64%{python3_sitelib}/dbus/*
65
66
67%changelog
68* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.16-1
69- new upstream release.
70
71* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-3
72- rebuild with python3-3.5.2
73
74* Sun May 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
75- rebuild with python3-3.4.3
76
77* Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
78- initial build
79
Note: See TracBrowser for help on using the repository browser.