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