]>
Commit | Line | Data |
---|---|---|
fcc97ee5 | 1 | # |
2 | %define rname dbus-1-qt3 | |
3 | # | |
4 | Summary: Qt-based library for using D-BUS | |
aca53270 | 5 | Summary(pl.UTF-8): Biblioteka do używania D-BUS oparta o Qt |
fcc97ee5 | 6 | Name: dbus-qt3 |
35e25111 JB |
7 | Version: 0.7 |
8 | Release: 1 | |
f7bd4999 JB |
9 | # AFL v2.1 or GPL v2+, but Qt license enforces GPL |
10 | License: GPL v2+ | |
fcc97ee5 | 11 | Group: Libraries |
35e25111 JB |
12 | Source0: http://people.freedesktop.org/~krake/dbus-1-qt3/%{rname}-%{version}.tar.gz |
13 | # Source0-md5: 763cec940da1cf0e9fa7e18964b1dc45 | |
e1486ed7 | 14 | Patch0: %{name}-configure.patch |
35e25111 JB |
15 | Patch1: %{name}-admin.patch |
16 | Patch2: kde-ac260-lt.patch | |
21a84904 | 17 | URL: http://www.freedesktop.org/Software/DBusBindings |
35e25111 JB |
18 | BuildRequires: autoconf >= 2.53 |
19 | BuildRequires: automake >= 1:1.6.1 | |
fcc97ee5 | 20 | BuildRequires: dbus-devel >= 0.91 |
21 | BuildRequires: qt-devel >= 6:3.1.0 | |
fcc97ee5 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | D-BUS add-on library to integrate the standard D-BUS library with the | |
26 | Qt thread abstraction and main loop. | |
27 | ||
4d6a9850 | 28 | %description -l pl.UTF-8 |
fcc97ee5 | 29 | Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS |
4d6a9850 | 30 | z abstrakcją wątków i główną pętlą Qt. |
fcc97ee5 | 31 | |
32 | %package devel | |
33 | Summary: Header files for Qt-based library for using D-BUS | |
aca53270 | 34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt |
fcc97ee5 | 35 | Group: Development/Libraries |
36 | Requires: %{name} = %{version}-%{release} | |
37 | Requires: dbus-devel >= 0.91 | |
fcc97ee5 | 38 | |
39 | %description devel | |
40 | Header files for Qt-based library for using D-BUS. | |
41 | ||
4d6a9850 JR |
42 | %description devel -l pl.UTF-8 |
43 | Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt. | |
fcc97ee5 | 44 | |
45 | %package static | |
46 | Summary: Static Qt-based library for using D-BUS | |
aca53270 | 47 | Summary(pl.UTF-8): Statyczna biblioteka do używania D-BUS oparta o Qt |
fcc97ee5 | 48 | Group: Development/Libraries |
49 | Requires: %{name}-devel = %{version}-%{release} | |
fcc97ee5 | 50 | |
51 | %description static | |
52 | Static Qt-based library for using D-BUS. | |
53 | ||
4d6a9850 JR |
54 | %description static -l pl.UTF-8 |
55 | Statyczna biblioteka do używania D-BUS oparta o Qt. | |
fcc97ee5 | 56 | |
57 | %prep | |
58 | %setup -qn %{rname}-%{version} | |
e1486ed7 | 59 | %patch0 -p1 |
f7bd4999 | 60 | %patch1 -p1 |
35e25111 JB |
61 | chmod +x admin/detect-autoconf.pl |
62 | %patch2 -p1 | |
fcc97ee5 | 63 | |
64 | %build | |
35e25111 | 65 | cp -f /usr/share/automake/config.* admin |
f7bd4999 | 66 | %{__make} -f admin/Makefile.common cvs |
fcc97ee5 | 67 | %configure |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
f7bd4999 JB |
84 | %doc AUTHORS ChangeLog README TODO |
85 | %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*.*.* | |
fcc97ee5 | 86 | |
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so | |
90 | %{_libdir}/libdbus-1-qt3.la | |
fcc97ee5 | 91 | %{_includedir}/dbus-1.0/qt3 |
35e25111 | 92 | %{_pkgconfigdir}/dbus-1-qt3.pc |
fcc97ee5 | 93 | |
94 | %files static | |
95 | %defattr(644,root,root,755) | |
96 | %{_libdir}/libdbus-1-qt3.a |