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