]> git.pld-linux.org Git - packages/dbus-qt3.git/blob - dbus-qt3.spec
- tabs in preamble
[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.UTF-8):      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 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
27 %description -l pl.UTF-8
28 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
29 z abstrakcją wątków i główną pętlą Qt.
30
31 %package devel
32 Summary:        Header files for Qt-based library for using D-BUS
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       dbus-devel >= 0.91
37
38 %description devel
39 Header files for Qt-based library for using D-BUS.
40
41 %description devel -l pl.UTF-8
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.UTF-8):      Statyczna biblioteka do używania D-BUS oparta o Qt
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static Qt-based library for using D-BUS.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka do używania D-BUS oparta o Qt.
55
56 %prep
57 %setup -qn %{rname}-%{version}
58 %patch0 -p1
59 %patch1 -p1
60
61 %build
62 cp -f /usr/share/automake/config.sub admin
63 %{__make} -f admin/Makefile.common cvs
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 %doc AUTHORS ChangeLog README TODO
82 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*.*.*
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
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.056453 seconds and 3 git commands to generate.