]> git.pld-linux.org Git - packages/dbus-qt3.git/blob - dbus-qt3.spec
- based on dbus.spec
[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:        1
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 URL:            http://www.freedesktop.org/Software/dbus
14 BuildRequires:  automake
15 BuildRequires:  dbus-devel >= 0.91
16 BuildRequires:  qt-devel >= 6:3.1.0
17 Obsoletes:      dbus-qt
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 D-BUS add-on library to integrate the standard D-BUS library with the
22 Qt thread abstraction and main loop.
23
24 %description -l pl
25 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
26 z abstrakcj± w±tków i g³ówn± pêtl± Qt.
27
28 %package devel
29 Summary:        Header files for Qt-based library for using D-BUS
30 Summary(pl):    Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       dbus-devel >= 0.91
34 Obsoletes:      dbus-qt-devel
35
36 %description devel
37 Header files for Qt-based library for using D-BUS.
38
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt.
41
42 %package static
43 Summary:        Static Qt-based library for using D-BUS
44 Summary(pl):    Statyczna biblioteka do u¿ywania D-BUS oparta o Qt
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47 Obsoletes:      dbus-qt-static
48
49 %description static
50 Static Qt-based library for using D-BUS.
51
52 %description static -l pl
53 Statyczna biblioteka do u¿ywania D-BUS oparta o Qt.
54
55 %prep
56 %setup -qn %{rname}-%{version}
57
58 %build
59 cp -f /usr/share/automake/config.sub .
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 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so
82 %{_libdir}/libdbus-1-qt3.la
83
84 %{_includedir}/dbus-1.0/qt3
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/libdbus-1-qt3.a
This page took 0.064721 seconds and 4 git commands to generate.