]> git.pld-linux.org Git - packages/e_dbus.git/blame - e_dbus.spec
- small clean up
[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#
a6bb1636 5%define ecore_ver 0.9.9.043
c873476a 6
a6bb1636
BZ
7Summary: Ecore DBus Library
8Summary(pl.UTF-8): Biblioteka Ecore DBus
c873476a
BZ
9Name: e_dbus
10Version: 0.5.0.043
a6bb1636 11Release: 1
c873476a
BZ
12License: BSD
13Group: Libraries
14Source0: http://download.enlightenment.org/snapshots/2008-05-19/%{name}-%{version}.tar.bz2
15# Source0-md5: 68a80552d85b800079387e1008166db4
16URL: http://enlightenment.org/p.php?p=about/libs/eet
17BuildRequires: autoconf
18BuildRequires: automake >= 1.4
19BuildRequires: dbus-devel >= 0.62
20BuildRequires: ecore-devel >= %{ecore_ver}
c873476a
BZ
21BuildRequires: libtool
22BuildRequires: pkgconfig
a6bb1636
BZ
23Obsoletes: ecore-dbus
24#Conflicts: ecore-libs ??
c873476a
BZ
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%undefine __cxx
28
29%description
a6bb1636 30Ecore DBus Library.
c873476a 31
a6bb1636
BZ
32% description -l pl.UTF-8
33Biblioteka Ecore DBus.
c873476a
BZ
34
35%package devel
36Summary: Header files for e_dbus library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki e_dbus
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
c873476a
BZ
40
41%description devel
42Header files for e_dbus library.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki e_dbus.
46
47%package static
48Summary: Static Eet library
49Summary(pl.UTF-8): Statyczna biblioteka Eet
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static e_dbus library.
55
56%description static -l pl.UTF-8
57Statyczna biblioteka e_dbus.
58
59%prep
60%setup -q
61
62%build
63%{__libtoolize}
64%{__aclocal}
65%{__autoconf}
66%{__autoheader}
67%{__automake}
68%configure \
69 %{!?with_static_libs:--disable-static}
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post -p /sbin/ldconfig
82%postun -p /sbin/ldconfig
83
84%files
85%defattr(644,root,root,755)
a6bb1636
BZ
86%doc AUTHORS COPYING ChangeLog NEWS README
87%attr(755,root,root) %{_bindir}/e*
88%attr(755,root,root) %{_libdir}/libe*.so.*
c873476a
BZ
89
90%files devel
91%defattr(644,root,root,755)
92%attr(755,root,root) %{_libdir}/*.so
a6bb1636
BZ
93%{_libdir}/libe*.la
94%{_pkgconfigdir}/e*.pc
95%{_includedir}/E_*.h
c873476a
BZ
96
97%if %{with static_libs}
98%files static
99%defattr(644,root,root,755)
a6bb1636 100%{_libdir}/lib*.a
c873476a 101%endif
This page took 0.232578 seconds and 4 git commands to generate.