]>
Commit | Line | Data |
---|---|---|
0909d80f AM |
1 | Summary: Qt4 binding for FreePascal |
2 | Name: fpc-qt4 | |
2c8b85be | 3 | Version: 2.5 |
0909d80f AM |
4 | Release: 1 |
5 | License: LGPL | |
6 | Group: Libraries | |
2c8b85be KK |
7 | Source0: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz |
8 | # Source0-md5: 8249bc17e4167e077d22c7f5fb118bb2 | |
0909d80f AM |
9 | URL: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html |
10 | BuildRequires: QtCore-devel | |
11 | BuildRequires: QtDBus-devel | |
b31182c2 | 12 | BuildRequires: QtGui-devel |
0909d80f | 13 | BuildRequires: QtNetwork-devel |
b31182c2 | 14 | BuildRequires: QtWebKit-devel |
0909d80f AM |
15 | BuildRequires: QtXml-devel |
16 | BuildRequires: qt4-build >= 4.4.0 | |
17 | BuildRequires: qt4-qmake >= 4.4.0 | |
0909d80f AM |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Provides a Qt4 binding for FreePascal that may be of use to provide | |
22 | the Lazarus LCL library with a Qt interface | |
23 | ||
24 | This binding does not aim to cover the whole Qt4 framework, but only | |
25 | just enough to satisfy the LCL needs. If any LCL/Qt developer needs an | |
26 | extra class, just ask and it will be added promptly. Some of the | |
27 | methods that have parameters based upon templates have been omitted. | |
28 | ||
29 | %prep | |
2c8b85be | 30 | %setup -q -n qt4pas-V%{version}_Qt4.5.3 |
0909d80f AM |
31 | |
32 | %build | |
33 | %{_bindir}/qmake-qt4 | |
34 | ||
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %post -p /sbin/ldconfig | |
47 | %postun -p /sbin/ldconfig | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README.TXT | |
181821d1 | 52 | %attr(755,root,root) %{_libdir}/libQt4Pas.so.*.*.* |
53 | %attr(755,root,root) %ghost %{_libdir}/libQt4Pas.so.? | |
54 | # The .so link is used when linking during development | |
55 | %attr(755,root,root) %{_libdir}/libQt4Pas.so |