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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8511 - (show annotations) (download)
Thu Jan 13 05:29:43 2011 UTC (10 years, 8 months ago) by ahmad
Original Path: cauldron/dbus-glib/current/SPECS/dbus-glib.spec
File size: 2666 byte(s)
- disable backporting macro for now
- drop old/uneeded scriptlets

1 #if %mandriva_branch == Cooker
2 # Cooker
3 %define release %mkrel 2
4 #%else
5 # Old distros
6 #define subrel 2
7 #define release %mkrel 1
8 #endif
9 %define glib2_version 2.6.0
10 %define dbus_version 0.94
11
12 %define lib_major 2
13 %define lib_api 1
14 %define lib_name %mklibname dbus-glib- %{lib_api} %{lib_major}
15
16 %define git_url git://git.freedesktop.org/git/dbus/dbus-glib
17
18
19 Summary: D-Bus message bus
20 Name: dbus-glib
21 Version: 0.88
22 Release: %release
23 URL: http://www.freedesktop.org/Software/dbus
24 Source0: http://dbus.freedesktop.org/releases/%name/%{name}-%{version}.tar.gz
25 License: AFL and GPLv2
26 Group: System/Libraries
27 BuildRoot: %{_tmppath}/%{name}-%{version}-root
28 BuildRequires: glib2-devel >= %{glib2_version}
29 BuildRequires: dbus-devel >= %{dbus_version}
30 BuildRequires: libxml2-devel
31 BuildRequires: libexpat-devel
32 # needed by patch0
33 BuildRequires: gtk-doc
34
35 %description
36 D-Bus add-on library to integrate the standard D-Bus library with
37 the GLib thread abstraction and main loop.
38
39 %package -n %{lib_name}
40 Summary: GLib-based library for using D-Bus
41 Group: System/Libraries
42 Provides: dbus-glib = %{version}-%{release}
43 # keep this provides to be able Mdv 2007.0 using urpmi
44 Provides: libdbus-glib = %{version}-%{release}
45
46 %description -n %{lib_name}
47 D-Bus add-on library to integrate the standard D-Bus library with
48 the GLib thread abstraction and main loop.
49
50 %package -n %{lib_name}-devel
51 Summary: Libraries and headers for D-Bus
52 Group: Development/C
53 Requires: %{lib_name} = %{version}
54 Provides: lib%{name}-1-devel = %{version}-%{release}
55 Provides: lib%{name}-devel = %{version}-%{release}
56 Provides: %{name}-devel = %{version}-%{release}
57
58 %description -n %{lib_name}-devel
59 Headers and static libraries for D-Bus.
60
61
62 %prep
63 %setup -q
64
65 %build
66
67 %configure2_5x \
68 --disable-tests \
69 --disable-verbose-mode \
70 --disable-asserts
71
72 %make
73
74 %check
75 make check
76
77 %install
78 rm -rf %{buildroot}
79
80 %makeinstall_std
81
82 #remove unpackaged file
83 rm -f %{buildroot}%{_libdir}/*.la
84
85 %clean
86 rm -rf %{buildroot}
87
88 %files -n %{lib_name}
89 %defattr(-,root,root)
90 %{_libdir}/*glib*.so.%{lib_major}*
91
92 %files -n %{lib_name}-devel
93 %defattr(-,root,root)
94 %{_bindir}/dbus-binding-tool
95 %{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
96 %{_libdir}/dbus-bash-completion-helper
97 %{_libdir}/libdbus-glib-%{lib_api}.a
98 %{_libdir}/libdbus-glib-%{lib_api}.so
99 %{_libdir}/pkgconfig/dbus-glib-%{lib_api}.pc
100 %{_includedir}/dbus-1.0/dbus/dbus-glib-bindings.h
101 %{_includedir}/dbus-1.0/dbus/dbus-gtype-specialized.h
102 %{_includedir}/dbus-1.0/dbus/dbus-glib-error-enum.h
103 %{_includedir}/dbus-1.0/dbus/dbus-glib-lowlevel.h
104 %{_includedir}/dbus-1.0/dbus/dbus-glib.h
105 %{_datadir}/gtk-doc/html/dbus-glib/
106 %{_mandir}/man1/*
107
108

  ViewVC Help
Powered by ViewVC 1.1.28