/[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 398678 - (hide annotations) (download)
Sat Feb 16 17:09:41 2013 UTC (11 years, 2 months ago) by luigiwalser
File size: 2482 byte(s)
add upstream patch to fix CVE-2013-0292
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 luigiwalser 398678 %define subrel 1
13 fwang 147229 Release: %mkrel 1
14 ahmad 8498 URL: http://www.freedesktop.org/Software/dbus
15     Source0: http://dbus.freedesktop.org/releases/%name/%{name}-%{version}.tar.gz
16 luigiwalser 398678 Patch0: dbus-glib-CVE-2013-0292.patch
17 ahmad 8498 License: AFL and GPLv2
18     Group: System/Libraries
19 fwang 147229 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 ahmad 8498
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 fwang 147229 Obsoletes: %{_lib}dbus-glib-1_2 < 0.96
34 ahmad 8498
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 fwang 147229 %package -n %{develname}
40 ahmad 8498 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 fwang 147229 Obsoletes: %{_lib}dbus-glib-1_2-devel < 0.96
47 ahmad 8498
48 fwang 147229 %description -n %{develname}
49 ahmad 8498 Headers and static libraries for D-Bus.
50    
51    
52     %prep
53     %setup -q
54 ahmad 131896 %apply_patches
55 ahmad 8498
56     %build
57 fwang 147230 %configure2_5x --disable-static \
58 ahmad 8498 --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 fwang 147229 %files -n %{develname}
83 ahmad 8498 %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 cjw 126688 %{_includedir}/dbus-1.0/dbus/dbus-gvalue-parse-variant.h
94 ahmad 8498 %{_datadir}/gtk-doc/html/dbus-glib/
95     %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30