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