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