]>
Commit | Line | Data |
---|---|---|
d9c999a5 | 1 | |
978e3d8c | 2 | %define qt_ver 4.6.0 |
d9c999a5 | 3 | |
978e3d8c AM |
4 | Summary: Telepathy Qt4 |
5 | Summary(pl.UTF-8): Telepathy Qt4 | |
6 | Name: telepathy-qt4 | |
7 | Version: 0.2.1 | |
8 | Release: 1 | |
9 | License: LGPL v2.1 | |
10 | Group: X11/Applications | |
11 | Source0: http://telepathy.freedesktop.org/releases/telepathy-qt4/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 9eaaa055eb2503e5a362bd183f344ac7 | |
13 | URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4 | |
14 | BuildRequires: QtCore-devel >= %{qt_ver} | |
15 | BuildRequires: QtDBus-devel >= %{qt_ver} | |
16 | BuildRequires: QtGui-devel >= %{qt_ver} | |
d9c999a5 | 17 | BuildRequires: QtNetwork-devel >= %{qt_ver} |
18 | BuildRequires: QtTest-devel >= %{qt_ver} | |
978e3d8c AM |
19 | BuildRequires: cmake >= 2.6.2 |
20 | BuildRequires: graphviz | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: python-devel | |
00468e9b | 23 | BuildRequires: python-modules |
978e3d8c AM |
24 | BuildRequires: qt4-build >= %{qt_ver} |
25 | BuildRequires: qt4-qmake >= %{qt_ver} | |
26 | BuildRequires: rpmbuild(macros) >= 1.293 | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Telepathy-Qt4 is a high-level binding for Telepathy. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files for telepathy-qt4 library | |
34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-qt4 | |
35 | Group: Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description devel | |
39 | Header files for telepathy-qt4 library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe biblioteki telepathy-qt4 | |
43 | ||
44 | %package static | |
45 | Summary: Static telepathy-qt4 library | |
46 | Summary(pl.UTF-8): Statyczna biblioteka telepathy-qt4 | |
47 | Group: Development/Libraries | |
48 | Requires: %{name} = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static telepathy-qt4 library. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Statyczna biblioteka telepathy-qt4. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc AUTHORS ChangeLog NEWS README | |
d9c999a5 | 78 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.* |
79 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.? | |
978e3d8c AM |
80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %doc doc/html | |
84 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so | |
85 | %{_libdir}/libtelepathy-qt4.la | |
d9c999a5 | 86 | %{_includedir}/telepathy-1.0 |
978e3d8c AM |
87 | %{_pkgconfigdir}/TelepathyQt4.pc |
88 | ||
89 | %files static | |
90 | %defattr(644,root,root,755) | |
91 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4.a |