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

  ViewVC Help
Powered by ViewVC 1.1.28