]> git.pld-linux.org Git - packages/eldbus.git/blame - eldbus.spec
- x32 rebuild
[packages/eldbus.git] / eldbus.spec
CommitLineData
06bd72de 1# NOTE: for versions >= 1.8 see efl.spec
35b68602
JB
2#
3# Conditional build:
4%bcond_without static_libs # don't build static library
5#
e40d086c
JB
6%define ecore_ver 1.7.10
7%define eina_ver 1.7.10
35b68602
JB
8
9Summary: Easy access to D-Bus from EFL applications
10Summary(pl.UTF-8): Łatwy dostęp do usługi D-Bus z aplikacji EFL
11Name: eldbus
e40d086c 12Version: 1.7.10
711c5551 13Release: 2
35b68602
JB
14License: LGPL v2.1+
15Group: Libraries
16Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
e40d086c
JB
17# Source0-md5: 61fa0a1e555fa8eba3e6f24f8af80618
18Patch0: %{name}-link.patch
35b68602
JB
19URL: http://git.enlightenment.org/legacy/eldbus.git/
20BuildRequires: autoconf >= 2.60
21BuildRequires: automake >= 1.6
22BuildRequires: dbus-devel
23BuildRequires: ecore-devel >= %{ecore_ver}
24BuildRequires: eina-devel >= %{eina_ver}
25BuildRequires: libtool
26BuildRequires: pkgconfig >= 1:0.22
27Requires: ecore >= %{ecore_ver}
28Requires: eina >= %{eina_ver}
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%undefine __cxx
32
33%description
34Eldbus provides easy access to D-Bus from EFL applications.
35
36Eldbus allows connecting to both system and session buses acting as
37both client and service roles.
38
39%description -l pl.UTF-8
40Eldbus zapewnia łatwy dostęp do usługi D-Bus z aplikacji EFL.
41
42Eldbus pozwala na łączenie się z szyną systemową lub sesyjną, zarówno
43w roli klienta, jak i usługi.
44
45%package devel
46Summary: Header files for eldbus library
47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki eldbus
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: dbus-devel
51Requires: ecore-devel >= %{ecore_ver}
52Requires: eina-devel >= %{eina_ver}
53
54%description devel
55Header files for eldbus library.
56
57%description devel -l pl.UTF-8
58Pliki nagłówkowe biblioteki eldbus.
59
60%package static
61Summary: Static eldbus library
62Summary(pl.UTF-8): Statyczna biblioteka eldbus
63Group: Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
65
66%description static
67Static eldbus library.
68
69%description static -l pl.UTF-8
70Statyczna biblioteka eldbus.
71
72%prep
73%setup -q
e40d086c 74%patch0 -p1
35b68602
JB
75
76%build
77%{__libtoolize}
78%{__aclocal} -I m4
79%{__autoconf}
80%{__autoheader}
81%{__automake}
82%configure \
83 --disable-silent-rules \
84 %{?with_static_libs:--enable-static}
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
93# obsoleted by pkg-config
94%{__rm} $RPM_BUILD_ROOT%{_libdir}/libeldbus.la
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
101
102%files
103%defattr(644,root,root,755)
104%doc AUTHORS COPYING README
105%attr(755,root,root) %{_libdir}/libeldbus.so.*.*.*
106%attr(755,root,root) %ghost %{_libdir}/libeldbus.so.1
107
108%files devel
109%defattr(644,root,root,755)
110%attr(755,root,root) %{_bindir}/eldbus-codegen
111%attr(755,root,root) %{_libdir}/libeldbus.so
112%{_includedir}/eldbus-1
113%{_pkgconfigdir}/eldbus.pc
114
115%if %{with static_libs}
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libeldbus.a
119%endif
This page took 0.102797 seconds and 4 git commands to generate.