]> git.pld-linux.org Git - packages/dbus-glib.git/blob - dbus-glib.spec
c7a4b3b78eba7ea0572aafe6bbfec71f2ff0d37a
[packages/dbus-glib.git] / dbus-glib.spec
1 #
2 %define         dbus_version    0.91
3 %define         expat_version   1:1.95.5
4 %define         glib_version    1:2.10.1
5 #
6 Summary:        GLib-based library for using D-BUS
7 Summary(pl):    Biblioteka do u¿ywania D-BUS oparta o GLib
8 Name:           dbus-glib
9 Version:        0.71
10 Release:        2
11 License:        AFL v2.1 or GPL v2
12 Group:          Libraries
13 Source0:        http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
14 # Source0-md5:  4e1e7348b26ee8b6485452113f4221cc
15 Source1:        dbus-bus-introspect.xml
16 Patch0:         %{name}-configure.patch
17 Patch1:         %{name}-nolibs.patch
18 URL:            http://www.freedesktop.org/Software/dbus
19 BuildRequires:  autoconf >= 2.52
20 BuildRequires:  automake
21 BuildRequires:  dbus-devel >= %{dbus_version}
22 BuildRequires:  expat-devel >= %{expat_version}
23 BuildRequires:  glib2-devel >= %{glib_version}
24 BuildRequires:  libtool
25 BuildRequires:  pkgconfig
26 Requires:       dbus-libs >= %{dbus_version}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 D-BUS add-on library to integrate the standard D-BUS library with the
31 GLib thread abstraction and main loop.
32
33 %description -l pl
34 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
35 z abstrakcj± w±tków i g³ówn± pêtl± GLib.
36
37 %package devel
38 Summary:        Header files for GLib-based library for using D-BUS
39 Summary(pl):    Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o GLib
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       dbus-devel >= %{dbus_version}
43 Requires:       glib2-devel >= %{glib2_version}
44
45 %description devel
46 Header files for GLib-based library for using D-BUS.
47
48 %description devel -l pl
49 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o GLib.
50
51 %package static
52 Summary:        Static GLib-based library for using D-BUS
53 Summary(pl):    Statyczna biblioteka do u¿ywania D-BUS oparta o GLib
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static GLib-based library for using D-BUS.
59
60 %description static -l pl
61 Statyczna biblioteka do u¿ywania D-BUS oparta o GLib.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66 %patch1 -p1
67
68 %build
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --with-xml=expat
76
77 cp %{SOURCE1} tools
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/dbus-binding-tool
100 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so
101 %{_libdir}/libdbus-glib-1.la
102 %{_includedir}/dbus*/dbus/dbus-glib*.h
103 %{_includedir}/dbus*/dbus/dbus-gtype-specialized.h
104 %{_pkgconfigdir}/dbus-glib-1.pc
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/libdbus-glib-1.a
This page took 0.075332 seconds and 3 git commands to generate.