]> git.pld-linux.org Git - packages/dbus-qt3.git/blob - dbus-qt3.spec
- unify %attr() %ghost order
[packages/dbus-qt3.git] / dbus-qt3.spec
1 #
2 %define         rname           libdbus-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.8.1
8 Release:        2
9 # AFL v2.1 or GPL v2+, but Qt license enforces GPL
10 License:        GPL v2+
11 Group:          Libraries
12 Source0:        http://people.freedesktop.org/~krake/dbus-1-qt3/%{rname}-%{version}.tar.bz2
13 # Source0-md5:  6308f50cfc715919c677fc10129421a0
14 Patch0:         %{name}-configure.patch
15 Patch1:         kde-ac260-lt.patch
16 URL:            http://www.freedesktop.org/Software/DBusBindings
17 BuildRequires:  autoconf >= 2.53
18 BuildRequires:  automake >= 1:1.6.1
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.* 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 %attr(755,root,root) %ghost %{_libdir}/libdbus-1-qt3.so.?
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libdbus-1-qt3.so
88 %{_libdir}/libdbus-1-qt3.la
89 %{_includedir}/dbus-1.0/qt3
90 %{_pkgconfigdir}/dbus-1-qt3.pc
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libdbus-1-qt3.a
This page took 0.046324 seconds and 3 git commands to generate.