]> git.pld-linux.org Git - packages/eet.git/blobdiff - eet.spec
- release 2 (by relup.sh)
[packages/eet.git] / eet.spec
index 94d40a9a94d482ccc61b3768f709990c5c7b0958..63ed1301a02021ad5aaec7defccb948b562c05f2 100644 (file)
--- a/eet.spec
+++ b/eet.spec
@@ -1,3 +1,4 @@
+# NOTE: for versions >= 1.8 see efl.spec
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static library
@@ -5,22 +6,27 @@
 Summary:       Library for speedy data storage, retrieval, and compression
 Summary(pl.UTF-8):     Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
 Name:          eet
-Version:       0.9.10.036
+Version:       1.7.9
 Release:       2
 License:       BSD
 Group:         Libraries
-Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz 
-# Source0-md5: 78baeaec84bd0b773bb8d6c68fdc9053
-URL:           http://enlightenment.org/Libraries/Eet/
-BuildRequires: autoconf
-BuildRequires: automake
+Source0:       http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: cb2ba528bda53014439481d51c7c4427
+URL:           http://trac.enlightenment.org/e/wiki/Eet
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
+BuildRequires: eina-devel >= 1.7.9
+BuildRequires: gnutls-devel >= 1.7.6
+BuildRequires: libgcrypt-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libtool
+BuildRequires: pkgconfig >= 1:0.22
+BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
+Requires:      eina >= 1.7.9
+Requires:      gnutls >= 1.7.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%undefine      __cxx
-
 %description
 Eet is a tiny library designed to write an arbitary set of chunks of
 data to a file and optionally compress each chunk (very much like a
@@ -53,6 +59,9 @@ Summary:      Header files for Eet library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Eet
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      eina-devel >= 1.7.9
+Requires:      gnutls-devel >= 1.7.6
+Requires:      libgcrypt-devel
 Requires:      libjpeg-devel
 Requires:      zlib-devel
 
@@ -79,11 +88,12 @@ Statyczna biblioteka Eet.
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -93,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+mv -f $RPM_BUILD_ROOT%{_datadir}/eet/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -101,16 +114,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING COPYING-PLAIN INSTALL README
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_bindir}/eet
 %attr(755,root,root) %{_libdir}/libeet.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libeet.so.1
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/eet-config
 %attr(755,root,root) %{_libdir}/libeet.so
 %{_libdir}/libeet.la
+%{_includedir}/eet-1
 %{_pkgconfigdir}/eet.pc
-%{_includedir}/Eet*
+%{_examplesdir}/%{name}-%{version}
 
 %if %{with static_libs}
 %files static
This page took 0.076466 seconds and 4 git commands to generate.