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