source: projects/specs/trunk/P/PyQt/PyQt-vl.spec @ 9071

Revision 9071, 3.1 KB checked in by inagaki, 9 years ago (diff)

2014-11-08 Ryoichi INAGAKI <ryo1@…>

  • PyQt?: rebuilt
  • PyQt4, qscintilla, sip: updated


RevLine 
[9071]1%global python_sitelib  %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
2%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
3
[521]4%define name    PyQt
5%define version 3.18.1
[9071]6%define release 4%{?_dist_release}
[521]7
8Summary:        Python bindings for Qt.
[9071]9Summary(ja):    Qt の Python バインディング
[521]10Name:           %{name}
11Version:        %{version}
12Release:        %{release}
[9071]13License:        GPLv2
14Group:          System Environment/Libraries
15URL:            http://www.riverbankcomputing.co.uk/pyqt
16
[521]17Source:         http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/%{name}-x11-gpl-%{version}.tar.gz
[9071]18# FTBFS against sip-4.15+
19Patch1: PyQt-x11-gpl-3.18.1-sip415.patch
20
[521]21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9071]22BuildRequires:  libXmu-devel
23BuildRequires:  python-devel
24BuildRequires:  qt-devel
25BuildRequires:  sip-devel
[521]26Requires:       python
27
28%description
29Python bindings for the Qt C++ class library.
30
31%package devel
32Summary:        Files needed to build other bindings based on Qt
33Group:          Development/Libraries
34Requires:       %{name} = %{version}
35Requires:       sip-devel qt-devel
36
37%description devel
38Files needed to build other bindings for C++ classes that inherit from any
39of the Qt classes (e.g. KDE or your own).
40
41%prep
42%setup -q -n %{name}-x11-gpl-%{version}
[9071]43%patch1 -p0 -b .sip415
[521]44
45%build
[9071]46unset QTDIR || : ; . /etc/profile.d/qt.sh
[521]47
[9071]48echo yes | python configure.py -d %{python_sitearch} CXXFLAGS="%{optflags} -DANY=void" CFLAGS="%{optflags} -DANY=void"
49
50# Makefiles are broken, workaround
51make -C qt %{?_smp_mflags}
52make %{?_smp_mflags}
53
[521]54%install
55rm -rf $RPM_BUILD_ROOT
56make DESTDIR=$RPM_BUILD_ROOT install
57mkdir -p $RPM_BUILD_ROOT%{_datadir}/sip/qt
58cp -r sip/* $RPM_BUILD_ROOT%{_datadir}/sip/qt/
59
60%clean
61rm -rf %{buildroot}
62
63%files
64%defattr(-, root, root, 755)
65%doc NEWS README ChangeLog THANKS
66%doc doc/PyQt.html
67%{_bindir}/*
[9071]68%{python_sitearch}/*
[521]69
70%files devel
71%defattr(-,root,root)
72%doc examples*
73%{_datadir}/sip/*
74
75%changelog
[9071]76* Sat Nov  8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.18.1-4
77- rebuilt on current VineSeed
78- added patch1
79- moved to System Environment/Libraries Group
80
[5701]81* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-3
82- rebuilt with python-2.7.2
83
[521]84* Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.18.1-2
85- rebuilt with python-2.6.4
86
87* Thu Nov 12 2009 Ryoichi INAGAKI <owa@bg.wakwak.com> 3.18.1-1
88- new upstream release
89- removed qscintilla dependency
90
91* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 3.17.3-1vl5
92- rebuilt with python-2.5.2
93- added pyexeclib macro
94- applied new versioning policy
95
96* Fri Nov 30 2007 Shu KONNO <owa@bg.wakwak.com> 3.17.3-0vl2
97- changed source url
98- fixed python site-packages path (for lib64)
99
100* Thu Sep 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.17.3-0vl1
101- updated to 3.16
102- rebuilt with new toolchain
103
104* Sun Jun 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.16-0vl1
105- updated to 3.16
106- changed Group to Development/Languages
107- rebuild with python-2.4.3, sip-4.4.5, qscinteilla-1.6
108
109* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 3.13-0vl2
110- rebuild with python-2.4.1
111
112* Sat Jan 15 2005 Satoshi MACHINO <machino@vinelinux.org> 3.13-0vl1
113- initial release for VineLinux
114
Note: See TracBrowser for help on using the repository browser.