]> git.pld-linux.org Git - packages/dbus-glib.git/blob - dbus-glib.spec
- added blocker, this stupid conection test creates some functions!
[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 BuildRequires:  fixed-tools-build
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 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
92
93 %files devel
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
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libdbus-glib-1.a
This page took 0.07765 seconds and 4 git commands to generate.