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