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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 238373 - (hide annotations) (download)
Sun May 27 16:03:51 2012 UTC (11 years, 11 months ago) by schedbot
File size: 2427 byte(s)
SILENT: Branching dbus-glib at revision 147233 for Mageia 2
1 ahmad 8498 %define lib_major 2
2     %define lib_api 1
3 fwang 147229 %define lib_name %mklibname dbus-glib %{lib_api} %{lib_major}
4     %define develname %mklibname %{name}
5 ahmad 8498
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 fwang 147229 Version: 0.96
12     Release: %mkrel 1
13 ahmad 8498 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 fwang 147229 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 ahmad 8498
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 fwang 147229 Obsoletes: %{_lib}dbus-glib-1_2 < 0.96
32 ahmad 8498
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 fwang 147229 %package -n %{develname}
38 ahmad 8498 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 fwang 147229 Obsoletes: %{_lib}dbus-glib-1_2-devel < 0.96
45 ahmad 8498
46 fwang 147229 %description -n %{develname}
47 ahmad 8498 Headers and static libraries for D-Bus.
48    
49    
50     %prep
51     %setup -q
52 ahmad 131896 %apply_patches
53 ahmad 8498
54     %build
55 fwang 147230 %configure2_5x --disable-static \
56 ahmad 8498 --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 fwang 147229 %files -n %{develname}
81 ahmad 8498 %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 cjw 126688 %{_includedir}/dbus-1.0/dbus/dbus-gvalue-parse-variant.h
92 ahmad 8498 %{_datadir}/gtk-doc/html/dbus-glib/
93     %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30