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