]> git.pld-linux.org Git - packages/dbus-qt3.git/blame - dbus-qt3.spec
- updated to 0.7
[packages/dbus-qt3.git] / dbus-qt3.spec
CommitLineData
fcc97ee5 1#
2%define rname dbus-1-qt3
3#
4Summary: Qt-based library for using D-BUS
aca53270 5Summary(pl.UTF-8): Biblioteka do używania D-BUS oparta o Qt
fcc97ee5 6Name: dbus-qt3
35e25111
JB
7Version: 0.7
8Release: 1
f7bd4999
JB
9# AFL v2.1 or GPL v2+, but Qt license enforces GPL
10License: GPL v2+
fcc97ee5 11Group: Libraries
35e25111
JB
12Source0: http://people.freedesktop.org/~krake/dbus-1-qt3/%{rname}-%{version}.tar.gz
13# Source0-md5: 763cec940da1cf0e9fa7e18964b1dc45
e1486ed7 14Patch0: %{name}-configure.patch
35e25111
JB
15Patch1: %{name}-admin.patch
16Patch2: kde-ac260-lt.patch
21a84904 17URL: http://www.freedesktop.org/Software/DBusBindings
35e25111
JB
18BuildRequires: autoconf >= 2.53
19BuildRequires: automake >= 1:1.6.1
fcc97ee5 20BuildRequires: dbus-devel >= 0.91
21BuildRequires: qt-devel >= 6:3.1.0
fcc97ee5 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25D-BUS add-on library to integrate the standard D-BUS library with the
26Qt thread abstraction and main loop.
27
4d6a9850 28%description -l pl.UTF-8
fcc97ee5 29Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
4d6a9850 30z abstrakcją wątków i główną pętlą Qt.
fcc97ee5 31
32%package devel
33Summary: Header files for Qt-based library for using D-BUS
aca53270 34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt
fcc97ee5 35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: dbus-devel >= 0.91
fcc97ee5 38
39%description devel
40Header files for Qt-based library for using D-BUS.
41
4d6a9850
JR
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki do używania D-BUS opartej o Qt.
fcc97ee5 44
45%package static
46Summary: Static Qt-based library for using D-BUS
aca53270 47Summary(pl.UTF-8): Statyczna biblioteka do używania D-BUS oparta o Qt
fcc97ee5 48Group: Development/Libraries
49Requires: %{name}-devel = %{version}-%{release}
fcc97ee5 50
51%description static
52Static Qt-based library for using D-BUS.
53
4d6a9850
JR
54%description static -l pl.UTF-8
55Statyczna biblioteka do używania D-BUS oparta o Qt.
fcc97ee5 56
57%prep
58%setup -qn %{rname}-%{version}
e1486ed7 59%patch0 -p1
f7bd4999 60%patch1 -p1
35e25111
JB
61chmod +x admin/detect-autoconf.pl
62%patch2 -p1
fcc97ee5 63
64%build
35e25111 65cp -f /usr/share/automake/config.* admin
f7bd4999 66%{__make} -f admin/Makefile.common cvs
fcc97ee5 67%configure
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
f7bd4999
JB
84%doc AUTHORS ChangeLog README TODO
85%attr(755,root,root) %{_libdir}/libdbus-1-qt3.so.*.*.*
fcc97ee5 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
fcc97ee5 91%{_includedir}/dbus-1.0/qt3
35e25111 92%{_pkgconfigdir}/dbus-1-qt3.pc
fcc97ee5 93
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/libdbus-1-qt3.a
This page took 0.080019 seconds and 4 git commands to generate.