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