]> git.pld-linux.org Git - packages/eeze.git/blame - eeze.spec
- updated to 1.0.0.beta3
[packages/eeze.git] / eeze.spec
CommitLineData
1f22bc91 1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
5%define ecore_ver 1.0.0
1f22bc91 6
7Summary: Library for manipulating devices through udev
8Summary(pl.UTF-8): Biblioteka do operowania urządzeniami korzystająca z udev
9Name: eeze
a786efc1 10%define subver beta3
1f22bc91 11Version: 1.0.0
12Release: 0.%{subver}.1
a786efc1 13License: BSD
1f22bc91 14Group: X11/Libraries
15Source0: http://download.enlightenment.org/releases/%{name}-%{version}.%{subver}.tar.bz2
a786efc1
JB
16# Source0-md5: e24260aed69402c966e84d231935b261
17URL: http://trac.enlightenment.org/e/wiki/Eeze
1f22bc91 18BuildRequires: autoconf >= 2.52
19BuildRequires: automake >= 1.6
1f22bc91 20BuildRequires: ecore-devel >= %{ecore_ver}
21BuildRequires: libtool
a786efc1
JB
22BuildRequires: udev-devel >= 148
23BuildRequires: pkgconfig >= 1:0.22
24Requires: ecore >= %{ecore_ver}
25Requires: udev-libs >= 148
1f22bc91 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
a786efc1
JB
29Eeze is a library for manipulating devices through udev with a simple
30and fast API. It interfaces directly with libudev, avoiding such
31middleman daemons as udisks/upower or hal, to immediately gather device
32information the instant it becomes known to the system. This can be
33used to determine such things as:
34 - If a CD-ROM has a disk inserted
35 - The temperature of a cpu core
36 - The remaining power left in a battery
37 - The current power consumption of various parts
38 - Monitor in realtime the status of peripheral devices.
1f22bc91 39
40Each of the above examples can be performed by using only a single eeze
41function, as one of the primary focuses of the library is to reduce the
42complexity of managing devices.
43
a786efc1
JB
44%description -l pl.UTF-8
45Eeze to bibliotek do operowania urządzeniami poprzez udev z prostym i
46szybkim API. Działa bezpośrednio z libudev, bez pośrednich demonów,
47takich jak udisks, upower czy hal, aby zebrać informacje z urządzeń
48natychmiast, kiedy staną się znane w systemie. Może to służyć do
49określania rzeczy takich jak:
50 - włożenie płyty CD
51 - termperatura rdzenia procesora
52 - pozostała pojemność baterii
53 - aktualne zużycie energii przez różne elementy
54 - monitorowanie stanu urządzeń peryferyjnych w czasie rzeczywistym.
55
56Każde z tych zapytań może być wykonane przy użyciu jedynie pojedynczej
57funkcji eeze, jako że jedną z głównych idei biblioteki jest
58ograniczenie skomplikowania zarządzania urządzeniami.
59
1f22bc91 60%package devel
61Summary: Eeze header files
62Summary(pl.UTF-8): Pliki nagłówkowe Eeze
63Group: Development/Libraries
64Requires: %{name} = %{version}-%{release}
a786efc1
JB
65Requires: ecore-devel >= %{ecore_ver}
66Requires: udev-devel >= 148
1f22bc91 67
68%description devel
a786efc1 69Header files for Eeze.
1f22bc91 70
71%description devel -l pl.UTF-8
a786efc1 72Pliki nagłówkowe Eeze.
1f22bc91 73
74%package static
a786efc1
JB
75Summary: Static Eeze library
76Summary(pl.UTF-8): Statyczna biblioteka Eeze
1f22bc91 77Group: Development/Libraries
78Requires: %{name}-devel = %{version}-%{release}
79
80%description static
a786efc1 81Static Eeze library.
1f22bc91 82
83%description static -l pl.UTF-8
a786efc1 84Statyczna biblioteka Eeze.
1f22bc91 85
86%prep
87%setup -q -n %{name}-%{version}.%{subver}
88
1f22bc91 89%build
90%{__libtoolize}
91%{__aclocal} -I m4
92%{__autoconf}
93%{__autoheader}
94%{__automake}
95%configure \
a786efc1 96 --disable-silent-rules \
1f22bc91 97 %{!?with_static_libs:--disable-static}
a786efc1 98%{__make}
1f22bc91 99
100%install
101rm -rf $RPM_BUILD_ROOT
102
103%{__make} install \
104 DESTDIR=$RPM_BUILD_ROOT
105
a786efc1 106%{__rm} $RPM_BUILD_ROOT%{_bindir}/eeze_udev_test
1f22bc91 107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%post -p /sbin/ldconfig
112%postun -p /sbin/ldconfig
113
114%files
115%defattr(644,root,root,755)
a786efc1
JB
116%doc AUTHORS COPYING README TODO
117%attr(755,root,root) %{_libdir}/libeeze.so.*.*.*
118%attr(755,root,root) %ghost %{_libdir}/libeeze.so.1
1f22bc91 119
120%files devel
121%defattr(644,root,root,755)
122%attr(755,root,root) %{_libdir}/libeeze.so
123%{_libdir}/libeeze.la
a786efc1 124%{_includedir}/eeze-1
1f22bc91 125%{_pkgconfigdir}/eeze.pc
126
127%if %{with static_libs}
128%files static
129%defattr(644,root,root,755)
130%{_libdir}/libeeze.a
131%endif
This page took 0.087989 seconds and 4 git commands to generate.