/[packages]/updates/2/dbus-glib/current/SPECS/dbus-glib.spec
ViewVC logotype

Contents of /updates/2/dbus-glib/current/SPECS/dbus-glib.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147230 - (show annotations) (download)
Sat Sep 24 06:47:57 2011 UTC (12 years, 7 months ago) by fwang
Original Path: cauldron/dbus-glib/current/SPECS/dbus-glib.spec
File size: 2427 byte(s)
 disable static
1 %define lib_major 2
2 %define lib_api 1
3 %define lib_name %mklibname dbus-glib %{lib_api} %{lib_major}
4 %define develname %mklibname %{name}
5
6 %define git_url git://git.freedesktop.org/git/dbus/dbus-glib
7
8
9 Summary: D-Bus message bus
10 Name: dbus-glib
11 Version: 0.96
12 Release: %mkrel 1
13 URL: http://www.freedesktop.org/Software/dbus
14 Source0: http://dbus.freedesktop.org/releases/%name/%{name}-%{version}.tar.gz
15 License: AFL and GPLv2
16 Group: System/Libraries
17 BuildRequires: pkgconfig(dbus-1) >= 1.2.16
18 BuildRequires: pkgconfig(gio-2.0) >= 2.26
19 BuildRequires: pkgconfig(gobject-2.0) >= 2.26
20 BuildRequires: pkgconfig(gthread-2.0) >= 2.6
21 BuildRequires: expat-devel
22
23 %description
24 D-Bus add-on library to integrate the standard D-Bus library with
25 the GLib thread abstraction and main loop.
26
27 %package -n %{lib_name}
28 Summary: GLib-based library for using D-Bus
29 Group: System/Libraries
30 Provides: dbus-glib = %{version}-%{release}
31 Obsoletes: %{_lib}dbus-glib-1_2 < 0.96
32
33 %description -n %{lib_name}
34 D-Bus add-on library to integrate the standard D-Bus library with
35 the GLib thread abstraction and main loop.
36
37 %package -n %{develname}
38 Summary: Libraries and headers for D-Bus
39 Group: Development/C
40 Requires: %{lib_name} = %{version}
41 Provides: lib%{name}-1-devel = %{version}-%{release}
42 Provides: lib%{name}-devel = %{version}-%{release}
43 Provides: %{name}-devel = %{version}-%{release}
44 Obsoletes: %{_lib}dbus-glib-1_2-devel < 0.96
45
46 %description -n %{develname}
47 Headers and static libraries for D-Bus.
48
49
50 %prep
51 %setup -q
52 %apply_patches
53
54 %build
55 %configure2_5x --disable-static \
56 --disable-tests \
57 --disable-verbose-mode \
58 --disable-asserts
59
60 %make
61
62 %check
63 make check
64
65 %install
66 rm -rf %{buildroot}
67
68 %makeinstall_std
69
70 #remove unpackaged file
71 rm -f %{buildroot}%{_libdir}/*.la
72
73 %clean
74 rm -rf %{buildroot}
75
76 %files -n %{lib_name}
77 %defattr(-,root,root)
78 %{_libdir}/*glib*.so.%{lib_major}*
79
80 %files -n %{develname}
81 %defattr(-,root,root)
82 %{_bindir}/dbus-binding-tool
83 %{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
84 %{_libdir}/dbus-bash-completion-helper
85 %{_libdir}/libdbus-glib-%{lib_api}.so
86 %{_libdir}/pkgconfig/dbus-glib-%{lib_api}.pc
87 %{_includedir}/dbus-1.0/dbus/dbus-glib-bindings.h
88 %{_includedir}/dbus-1.0/dbus/dbus-gtype-specialized.h
89 %{_includedir}/dbus-1.0/dbus/dbus-glib-lowlevel.h
90 %{_includedir}/dbus-1.0/dbus/dbus-glib.h
91 %{_includedir}/dbus-1.0/dbus/dbus-gvalue-parse-variant.h
92 %{_datadir}/gtk-doc/html/dbus-glib/
93 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30