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