]> git.pld-linux.org Git - packages/dbus-glib.git/blob - dbus-glib.spec
- rel.2, install dbus-bus-introspect.xml for proper header creating
[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 URL:            http://www.freedesktop.org/Software/dbus
18 BuildRequires:  autoconf >= 2.52
19 BuildRequires:  automake
20 BuildRequires:  dbus-devel >= %{dbus_version}
21 BuildRequires:  expat-devel >= %{expat_version}
22 BuildRequires:  glib2-devel >= %{glib_version}
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 Requires:       dbus-libs >= %{dbus_version}
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 D-BUS add-on library to integrate the standard D-BUS library with the
30 GLib thread abstraction and main loop.
31
32 %description -l pl
33 Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
34 z abstrakcj± w±tków i g³ówn± pêtl± GLib.
35
36 %package devel
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}
43
44 %description devel
45 Header files for GLib-based library for using D-BUS.
46
47 %description devel -l pl
48 Pliki nag³ówkowe biblioteki do u¿ywania D-BUS opartej o GLib.
49
50 %package static
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}
55
56 %description static
57 Static GLib-based library for using D-BUS.
58
59 %description static -l pl
60 Statyczna biblioteka do u¿ywania D-BUS oparta o GLib.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65
66 %build
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__autoheader}
71 %{__automake}
72 %configure \
73         --with-xml=expat
74
75 cp %{SOURCE1} tools
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/dbus-binding-tool
98 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so
99 %{_libdir}/libdbus-glib-1.la
100 %{_includedir}/dbus*/dbus/dbus-glib*.h
101 %{_includedir}/dbus*/dbus/dbus-gtype-specialized.h
102 %{_pkgconfigdir}/dbus-glib-1.pc
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libdbus-glib-1.a
This page took 0.095649 seconds and 4 git commands to generate.