]> git.pld-linux.org Git - packages/dbus-qt3.git/blob - dbus-qt3.spec
- added configure patch (build fix), rel.2
[packages/dbus-qt3.git] / dbus-qt3.spec
1 #
2 %define         rname           dbus-1-qt3
3 #
4 Summary:        Qt-based library for using D-BUS
5 Summary(pl):    Biblioteka do u¿ywania D-BUS oparta o Qt
6 Name:           dbus-qt3
7 Version:        0.2
8 Release:        2
9 License:        AFL v2.1 or GPL v2
10 Group:          Libraries
11 Source0:        http://www.sbox.tugraz.at/home/v/voyager/%{rname}-%{version}.tar.bz2
12 # Source0-md5:  574ec7c8e0c227498a4fbbd6b2255853
13 Patch0:         %{name}-configure.patch
14 URL:            http://www.freedesktop.org/Software/dbus
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  dbus-devel >= 0.91
18 BuildRequires:  qt-devel >= 6:3.1.0
19 Obsoletes:      dbus-qt
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 D-BUS add-on library to integrate the standard D-BUS library with the
24 Qt thread abstraction and main loop.
25
26 %description -l pl
27 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
28 z abstrakcj± w±tków i g³ówn± pêtl± Qt.
29
30 %package devel
31 Summary:        Header files for Qt-based library for using D-BUS
32 Summary(pl):    Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       dbus-devel >= 0.91
36 Obsoletes:      dbus-qt-devel
37
38 %description devel
39 Header files for Qt-based library for using D-BUS.
40
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt.
43
44 %package static
45 Summary:        Static Qt-based library for using D-BUS
46 Summary(pl):    Statyczna biblioteka do u¿ywania D-BUS oparta o Qt
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49 Obsoletes:      dbus-qt-static
50
51 %description static
52 Static Qt-based library for using D-BUS.
53
54 %description static -l pl
55 Statyczna biblioteka do u¿ywania D-BUS oparta o Qt.
56
57 %prep
58 %setup -qn %{rname}-%{version}
59 %patch0 -p1
60
61 %build
62 cp -f /usr/share/automake/config.sub .
63 %{__autoconf}
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)
81 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so
86 %{_libdir}/libdbus-1-qt3.la
87
88 %{_includedir}/dbus-1.0/qt3
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/libdbus-1-qt3.a
This page took 0.057594 seconds and 4 git commands to generate.