]>
Commit | Line | Data |
---|---|---|
6f693484 | 1 | # NOTE: deprecated package, EFL 1.7.x specific; EFL 1.8 uses new eldbus APIs instead |
c873476a BZ |
2 | # |
3 | # Conditional build: | |
4 | %bcond_without static_libs # don't build static library | |
5 | # | |
dfd102f7 JB |
6 | %define ecore_ver 1.7.10 |
7 | %define eina_ver 1.7.10 | |
8 | %define evas_ver 1.7.10 | |
c873476a | 9 | |
5052e00f JB |
10 | Summary: EFL wrapper for DBus |
11 | Summary(pl.UTF-8): Obudowanie EFL dla systemu DBus | |
c873476a | 12 | Name: e_dbus |
dfd102f7 | 13 | Version: 1.7.10 |
6d0fe916 | 14 | Release: 2 |
e585b8e7 | 15 | License: BSD |
c873476a | 16 | Group: Libraries |
86dc8e44 | 17 | Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 |
dfd102f7 | 18 | # Source0-md5: f91fed0d720b21310c270ea8b0b80565 |
97cdd9ce | 19 | URL: http://trac.enlightenment.org/e/wiki/E_Dbus |
5052e00f JB |
20 | BuildRequires: autoconf >= 2.52 |
21 | BuildRequires: automake >= 1.6 | |
c873476a BZ |
22 | BuildRequires: dbus-devel >= 0.62 |
23 | BuildRequires: ecore-devel >= %{ecore_ver} | |
7d1ce20b | 24 | BuildRequires: ecore-evas-devel >= %{ecore_ver} |
33202218 | 25 | BuildRequires: eina-devel >= %{eina_ver} |
e585b8e7 | 26 | BuildRequires: evas-devel >= %{ecore_ver} |
c873476a | 27 | BuildRequires: libtool |
e24a72da | 28 | BuildRequires: pkgconfig >= 1:0.22 |
e585b8e7 | 29 | Requires: dbus-libs >= 0.62 |
a99fde7a | 30 | Requires: ecore >= %{ecore_ver} |
7d1ce20b | 31 | Requires: ecore-evas >= %{ecore_ver} |
33202218 | 32 | Requires: eina >= %{eina_ver} |
e585b8e7 | 33 | Requires: evas >= %{evas_ver} |
a6bb1636 | 34 | Obsoletes: ecore-dbus |
c873476a BZ |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %undefine __cxx | |
38 | ||
39 | %description | |
5052e00f | 40 | EFL wrapper for DBus. |
c873476a | 41 | |
5052e00f JB |
42 | %description -l pl.UTF-8 |
43 | Obudowanie EFL dla systemu DBus. | |
c873476a BZ |
44 | |
45 | %package devel | |
46 | Summary: Header files for e_dbus library | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki e_dbus | |
48 | Group: Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
e585b8e7 JB |
50 | Requires: dbus-devel >= 0.62 |
51 | Requires: ecore-devel >= %{ecore_ver} | |
33202218 | 52 | Requires: eina-devel >= %{eina_ver} |
e585b8e7 | 53 | Requires: evas-devel >= %{evas_ver} |
c873476a BZ |
54 | |
55 | %description devel | |
56 | Header files for e_dbus library. | |
57 | ||
58 | %description devel -l pl.UTF-8 | |
59 | Pliki nagłówkowe biblioteki e_dbus. | |
60 | ||
61 | %package static | |
5052e00f JB |
62 | Summary: Static e_dbus library |
63 | Summary(pl.UTF-8): Statyczna biblioteka e_dbus | |
c873476a BZ |
64 | Group: Development/Libraries |
65 | Requires: %{name}-devel = %{version}-%{release} | |
66 | ||
67 | %description static | |
68 | Static e_dbus library. | |
69 | ||
70 | %description static -l pl.UTF-8 | |
71 | Statyczna biblioteka e_dbus. | |
72 | ||
73 | %prep | |
86dc8e44 | 74 | %setup -q |
c873476a BZ |
75 | |
76 | %build | |
77 | %{__libtoolize} | |
c67e204b | 78 | %{__aclocal} -I m4 |
c873476a BZ |
79 | %{__autoconf} |
80 | %{__autoheader} | |
81 | %{__automake} | |
82 | %configure \ | |
e585b8e7 | 83 | --disable-silent-rules \ |
c873476a | 84 | %{!?with_static_libs:--disable-static} |
29022024 | 85 | %{__make} |
c873476a BZ |
86 | |
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT | |
92 | ||
6f693484 JB |
93 | # obsoleted by pkg-config |
94 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
95 | ||
c873476a BZ |
96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %post -p /sbin/ldconfig | |
100 | %postun -p /sbin/ldconfig | |
101 | ||
102 | %files | |
103 | %defattr(644,root,root,755) | |
33202218 | 104 | %doc AUTHORS COPYING ChangeLog NEWS README |
5052e00f | 105 | %attr(755,root,root) %{_bindir}/e-notify-send |
e57c0588 JB |
106 | %attr(755,root,root) %{_bindir}/e_dbus_async_client_test |
107 | %attr(755,root,root) %{_bindir}/e_dbus_async_server_test | |
c67e204b | 108 | %attr(755,root,root) %{_bindir}/e_dbus_bluez_test |
33202218 | 109 | %attr(755,root,root) %{_bindir}/e_dbus_connman0_7x_test |
5052e00f JB |
110 | %attr(755,root,root) %{_bindir}/e_dbus_notification_daemon |
111 | %attr(755,root,root) %{_bindir}/e_dbus_notify | |
c67e204b | 112 | %attr(755,root,root) %{_bindir}/e_dbus_ofono_test |
5052e00f JB |
113 | %attr(755,root,root) %{_bindir}/e_dbus_test |
114 | %attr(755,root,root) %{_bindir}/e_dbus_test_client | |
c67e204b | 115 | %attr(755,root,root) %{_bindir}/e_dbus_ukit_test |
2c5ae3e0 | 116 | %attr(755,root,root) %{_libdir}/libebluez.so.*.*.* |
e585b8e7 | 117 | %attr(755,root,root) %ghost %{_libdir}/libebluez.so.1 |
33202218 JB |
118 | %attr(755,root,root) %{_libdir}/libeconnman0_7x.so.*.*.* |
119 | %attr(755,root,root) %ghost %{_libdir}/libeconnman0_7x.so.1 | |
2c5ae3e0 | 120 | %attr(755,root,root) %{_libdir}/libedbus.so.*.*.* |
e585b8e7 | 121 | %attr(755,root,root) %ghost %{_libdir}/libedbus.so.1 |
2c5ae3e0 | 122 | %attr(755,root,root) %{_libdir}/libehal.so.*.*.* |
e585b8e7 | 123 | %attr(755,root,root) %ghost %{_libdir}/libehal.so.1 |
2c5ae3e0 | 124 | %attr(755,root,root) %{_libdir}/libenotify.so.*.*.* |
e585b8e7 | 125 | %attr(755,root,root) %ghost %{_libdir}/libenotify.so.1 |
2c5ae3e0 | 126 | %attr(755,root,root) %{_libdir}/libeofono.so.*.*.* |
e585b8e7 | 127 | %attr(755,root,root) %ghost %{_libdir}/libeofono.so.1 |
2c5ae3e0 | 128 | %attr(755,root,root) %{_libdir}/libeukit.so.*.*.* |
e585b8e7 | 129 | %attr(755,root,root) %ghost %{_libdir}/libeukit.so.1 |
33202218 | 130 | %{_datadir}/e_dbus |
c873476a BZ |
131 | |
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
c67e204b | 134 | %attr(755,root,root) %{_libdir}/libebluez.so |
33202218 | 135 | %attr(755,root,root) %{_libdir}/libeconnman0_7x.so |
5052e00f JB |
136 | %attr(755,root,root) %{_libdir}/libedbus.so |
137 | %attr(755,root,root) %{_libdir}/libehal.so | |
5052e00f | 138 | %attr(755,root,root) %{_libdir}/libenotify.so |
c67e204b | 139 | %attr(755,root,root) %{_libdir}/libeofono.so |
140 | %attr(755,root,root) %{_libdir}/libeukit.so | |
e585b8e7 | 141 | %{_includedir}/e_dbus-1 |
c67e204b | 142 | %{_pkgconfigdir}/ebluez.pc |
33202218 | 143 | %{_pkgconfigdir}/econnman-0.7x.pc |
5052e00f JB |
144 | %{_pkgconfigdir}/edbus.pc |
145 | %{_pkgconfigdir}/ehal.pc | |
5052e00f | 146 | %{_pkgconfigdir}/enotify.pc |
c67e204b | 147 | %{_pkgconfigdir}/eofono.pc |
148 | %{_pkgconfigdir}/eukit.pc | |
c873476a BZ |
149 | |
150 | %if %{with static_libs} | |
151 | %files static | |
152 | %defattr(644,root,root,755) | |
c67e204b | 153 | %{_libdir}/libebluez.a |
33202218 | 154 | %{_libdir}/libeconnman0_7x.a |
5052e00f JB |
155 | %{_libdir}/libedbus.a |
156 | %{_libdir}/libehal.a | |
5052e00f | 157 | %{_libdir}/libenotify.a |
c67e204b | 158 | %{_libdir}/libeofono.a |
159 | %{_libdir}/libeukit.a | |
c873476a | 160 | %endif |