2 %define dbus_version 0.91
3 %define expat_version 1:1.95.5
4 %define glib_version 1:2.10.1
6 Summary: GLib-based library for using D-BUS
7 Summary(pl): Biblioteka do u¿ywania D-BUS oparta o GLib
11 License: AFL v2.1 or GPL v2
13 Source0: http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
14 # Source0-md5: 4e1e7348b26ee8b6485452113f4221cc
15 Patch0: %{name}-configure.patch
16 URL: http://www.freedesktop.org/Software/dbus
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake
19 BuildRequires: dbus-devel >= %{dbus_version}
20 BuildRequires: expat-devel >= %{expat_version}
21 BuildRequires: glib2-devel >= %{glib_version}
22 BuildRequires: libtool
23 BuildRequires: pkgconfig
24 BuildRequires: fixed-tools-build
25 Requires: dbus-libs >= %{dbus_version}
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 D-BUS add-on library to integrate the standard D-BUS library with the
30 GLib thread abstraction and main loop.
33 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
34 z abstrakcj± w±tków i g³ówn± pêtl± GLib.
37 Summary: Header files for GLib-based library for using D-BUS
38 Summary(pl): Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o GLib
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: dbus-devel >= %{dbus_version}
42 Requires: glib2-devel >= %{glib2_version}
45 Header files for GLib-based library for using D-BUS.
47 %description devel -l pl
48 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o GLib.
51 Summary: Static GLib-based library for using D-BUS
52 Summary(pl): Statyczna biblioteka do u¿ywania D-BUS oparta o GLib
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static GLib-based library for using D-BUS.
59 %description static -l pl
60 Statyczna biblioteka do u¿ywania D-BUS oparta o GLib.
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/dbus-binding-tool
96 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so
97 %{_libdir}/libdbus-glib-1.la
98 %{_includedir}/dbus*/dbus/dbus-glib*.h
99 %{_includedir}/dbus*/dbus/dbus-gtype-specialized.h
100 %{_pkgconfigdir}/dbus-glib-1.pc
103 %defattr(644,root,root,755)
104 %{_libdir}/libdbus-glib-1.a