]> git.pld-linux.org Git - packages/dbus-qt3.git/blob - dbus-qt3.spec
- added kde-ac250 patch, proper kde-specific ac/am rebuild
[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.2
9 # AFL v2.1 or GPL v2+, but Qt license enforces GPL
10 License:        GPL v2+
11 Group:          Libraries
12 Source0:        http://www.sbox.tugraz.at/home/v/voyager/%{rname}-%{version}.tar.bz2
13 # Source0-md5:  574ec7c8e0c227498a4fbbd6b2255853
14 Patch0:         %{name}-configure.patch
15 Patch1:         kde-ac260.patch
16 URL:            http://www.freedesktop.org/Software/dbus
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  dbus-devel >= 0.91
20 BuildRequires:  qt-devel >= 6:3.1.0
21 Obsoletes:      dbus-qt
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
28 %description -l pl
29 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
30 z abstrakcj± w±tków i g³ówn± pêtl± Qt.
31
32 %package devel
33 Summary:        Header files for Qt-based library for using D-BUS
34 Summary(pl):    Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       dbus-devel >= 0.91
38 Obsoletes:      dbus-qt-devel
39
40 %description devel
41 Header files for Qt-based library for using D-BUS.
42
43 %description devel -l pl
44 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o Qt.
45
46 %package static
47 Summary:        Static Qt-based library for using D-BUS
48 Summary(pl):    Statyczna biblioteka do u¿ywania D-BUS oparta o Qt
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51 Obsoletes:      dbus-qt-static
52
53 %description static
54 Static Qt-based library for using D-BUS.
55
56 %description static -l pl
57 Statyczna biblioteka do u¿ywania D-BUS oparta o Qt.
58
59 %prep
60 %setup -qn %{rname}-%{version}
61 %patch0 -p1
62 %patch1 -p1
63
64 %build
65 cp -f /usr/share/automake/config.sub admin
66 %{__make} -f admin/Makefile.common cvs
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)
84 %doc AUTHORS ChangeLog README TODO
85 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*.*.*
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
91 %{_includedir}/dbus-1.0/qt3
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libdbus-1-qt3.a
This page took 0.110552 seconds and 4 git commands to generate.