]> git.pld-linux.org Git - packages/e_dbus.git/blame - e_dbus.spec
- simplified setup
[packages/e_dbus.git] / e_dbus.spec
CommitLineData
c873476a
BZ
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
e3df47ca 5%define ecore_ver 0.9.9.050
c873476a 6
5052e00f
JB
7Summary: EFL wrapper for DBus
8Summary(pl.UTF-8): Obudowanie EFL dla systemu DBus
c873476a 9Name: e_dbus
e3df47ca 10Version: 0.5.0.050
11Release: 0.1
c873476a
BZ
12License: BSD
13Group: Libraries
e3df47ca 14Source0: http://download.enlightenment.org/snapshots/2008-09-25/%{name}-%{version}.tar.bz2
15# Source0-md5: 7b1454d165f5cc42dd61d7acdd4719dd
5052e00f
JB
16URL: http://enlightenment.org/p.php?p=about/efl
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6
c873476a
BZ
19BuildRequires: dbus-devel >= 0.62
20BuildRequires: ecore-devel >= %{ecore_ver}
c873476a
BZ
21BuildRequires: libtool
22BuildRequires: pkgconfig
a6bb1636 23Obsoletes: ecore-dbus
c873476a
BZ
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%undefine __cxx
27
28%description
5052e00f 29EFL wrapper for DBus.
c873476a 30
5052e00f
JB
31%description -l pl.UTF-8
32Obudowanie EFL dla systemu DBus.
c873476a
BZ
33
34%package devel
35Summary: Header files for e_dbus library
36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki e_dbus
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
c873476a
BZ
39
40%description devel
41Header files for e_dbus library.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki e_dbus.
45
46%package static
5052e00f
JB
47Summary: Static e_dbus library
48Summary(pl.UTF-8): Statyczna biblioteka e_dbus
c873476a
BZ
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static e_dbus library.
54
55%description static -l pl.UTF-8
56Statyczna biblioteka e_dbus.
57
58%prep
495bf7b0 59%setup -q
c873476a
BZ
60
61%build
62%{__libtoolize}
63%{__aclocal}
64%{__autoconf}
65%{__autoheader}
66%{__automake}
67%configure \
68 %{!?with_static_libs:--disable-static}
69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(644,root,root,755)
5052e00f
JB
85%doc AUTHORS COPYING README
86%attr(755,root,root) %{_bindir}/e-notify-send
87%attr(755,root,root) %{_bindir}/e_dbus_hal
88%attr(755,root,root) %{_bindir}/e_dbus_nm
89%attr(755,root,root) %{_bindir}/e_dbus_notification_daemon
90%attr(755,root,root) %{_bindir}/e_dbus_notify
91%attr(755,root,root) %{_bindir}/e_dbus_test
92%attr(755,root,root) %{_bindir}/e_dbus_test_client
93%attr(755,root,root) %{_libdir}/libedbus.so.*.*.*
94%attr(755,root,root) %ghost %{_libdir}/libedbus.so.0
95%attr(755,root,root) %{_libdir}/libehal.so.*.*.*
96%attr(755,root,root) %ghost %{_libdir}/libehal.so.0
97%attr(755,root,root) %{_libdir}/libenm.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libenm.so.0
99%attr(755,root,root) %{_libdir}/libenotify.so.*.*.*
100%attr(755,root,root) %ghost %{_libdir}/libenotify.so.0
c873476a
BZ
101
102%files devel
103%defattr(644,root,root,755)
5052e00f
JB
104%attr(755,root,root) %{_libdir}/libedbus.so
105%attr(755,root,root) %{_libdir}/libehal.so
106%attr(755,root,root) %{_libdir}/libenm.so
107%attr(755,root,root) %{_libdir}/libenotify.so
108%{_libdir}/libedbus.la
109%{_libdir}/libehal.la
110%{_libdir}/libenm.la
111%{_libdir}/libenotify.la
112%{_includedir}/E_DBus.h
113%{_includedir}/E_Hal.h
114%{_includedir}/E_Nm.h
115%{_includedir}/E_Notification_Daemon.h
116%{_includedir}/E_Notify.h
117%{_pkgconfigdir}/edbus.pc
118%{_pkgconfigdir}/ehal.pc
119%{_pkgconfigdir}/enm.pc
120%{_pkgconfigdir}/enotify.pc
c873476a
BZ
121
122%if %{with static_libs}
123%files static
124%defattr(644,root,root,755)
5052e00f
JB
125%{_libdir}/libedbus.a
126%{_libdir}/libehal.a
127%{_libdir}/libenm.a
128%{_libdir}/libenotify.a
c873476a 129%endif
This page took 0.078679 seconds and 4 git commands to generate.