X-Git-Url: http://git.pld-linux.org/?p=packages%2Feeze.git;a=blobdiff_plain;f=eeze.spec;h=da486bdfc7649377d87fbcb167bdc0f039c06d77;hp=9127df002759d1cfa974fb7fb3372e1a5aaa7a48;hb=d868083e6acc5948cbb96f4d91733691e01b0763;hpb=71aa546499062124a61f6fd99cd1de2f48ffa73c diff --git a/eeze.spec b/eeze.spec index 9127df0..da486bd 100644 --- a/eeze.spec +++ b/eeze.spec @@ -2,43 +2,52 @@ # Conditional build: %bcond_without static_libs # don't build static library # -%define ecore_ver 1.0.0 +%define ecore_ver 1.1.0 +%define eet_ver 1.5.0 +%define eina_ver 1.1.0 Summary: Library for manipulating devices through udev Summary(pl.UTF-8): Biblioteka do operowania urządzeniami korzystająca z udev Name: eeze -Version: 1.0.0 +Version: 1.1.0 Release: 2 License: BSD Group: X11/Libraries Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 -# Source0-md5: 49123331a173f687e67a3a9c6a2115f2 +# Source0-md5: 04bd5202e12b57e0dddbcca2acc52df9 URL: http://trac.enlightenment.org/e/wiki/Eeze BuildRequires: autoconf >= 2.52 BuildRequires: automake >= 1.6 +BuildRequires: ecore-con-devel >= %{ecore_ver} BuildRequires: ecore-devel >= %{ecore_ver} +BuildRequires: ecore-file-devel >= %{ecore_ver} +BuildRequires: eet-devel >= %{eet_ver} +BuildRequires: eina-devel >= %{eina_ver} +BuildRequires: libmount-devel >= 2.18.0 BuildRequires: libtool BuildRequires: udev-devel >= 148 BuildRequires: pkgconfig >= 1:0.22 Requires: ecore >= %{ecore_ver} +Requires: eet >= %{eet_ver} +Requires: eina >= %{eina_ver} Requires: udev-libs >= 148 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Eeze is a library for manipulating devices through udev with a simple and fast API. It interfaces directly with libudev, avoiding such -middleman daemons as udisks/upower or hal, to immediately gather device -information the instant it becomes known to the system. This can be -used to determine such things as: +middleman daemons as udisks/upower or hal, to immediately gather +device information the instant it becomes known to the system. This +can be used to determine such things as: - If a CD-ROM has a disk inserted - The temperature of a cpu core - The remaining power left in a battery - The current power consumption of various parts - Monitor in realtime the status of peripheral devices. -Each of the above examples can be performed by using only a single eeze -function, as one of the primary focuses of the library is to reduce the -complexity of managing devices. +Each of the above examples can be performed by using only a single +eeze function, as one of the primary focuses of the library is to +reduce the complexity of managing devices. %description -l pl.UTF-8 Eeze to bibliotek do operowania urządzeniami poprzez udev z prostym i @@ -62,6 +71,7 @@ Summary(pl.UTF-8): Pliki nagłówkowe Eeze Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: ecore-devel >= %{ecore_ver} +Requires: eina-devel >= %{eina_ver} Requires: udev-devel >= 148 %description devel @@ -93,7 +103,10 @@ Statyczna biblioteka Eeze. %{__automake} %configure \ --disable-silent-rules \ - %{!?with_static_libs:--disable-static} + %{!?with_static_libs:--disable-static} \ + --with-eject=/usr/bin/eject \ + --with-mount=/bin/mount \ + --with-umount=/bin/umount %{__make} %install @@ -102,8 +115,6 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%{__rm} $RPM_BUILD_ROOT%{_bindir}/eeze_udev_test - %clean rm -rf $RPM_BUILD_ROOT @@ -112,9 +123,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS COPYING ChangeLog README TODO +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/eeze_disk_ls +%attr(755,root,root) %{_bindir}/eeze_mount +%attr(755,root,root) %{_bindir}/eeze_umount %attr(755,root,root) %{_libdir}/libeeze.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libeeze.so.1 +%attr(755,root,root) %{_libdir}/enlightenment/utils/eeze_scanner %files devel %defattr(644,root,root,755)