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

  ViewVC Help
Powered by ViewVC 1.1.28