]> git.pld-linux.org Git - packages/eet.git/blobdiff - eet.spec
- updated to 1.7.6
[packages/eet.git] / eet.spec
index 45b94a7606ed3608e9d9df6e562abad14c747e2c..dd1d47ddc15a38e8fdcfd6adad5b54c74ae971d9 100644 (file)
--- a/eet.spec
+++ b/eet.spec
@@ -2,27 +2,30 @@
 # Conditional build:
 %bcond_without static_libs     # don't build static library
 #
-%define                _snap   20080813
-
 Summary:       Library for speedy data storage, retrieval, and compression
 Summary(pl.UTF-8):     Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
 Name:          eet
-Version:       1.0.2
-Release:       0.%{_snap}.1
+Version:       1.7.6
+Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       %{name}-%{version}-%{_snap}.tar.bz2 
-# Source0-md5: 23057f3f9062a079fc4c905fc4ebe971
-URL:           http://enlightenment.org/p.php?p=about/efl/eet
+Source0:       http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 24cb0f2c33bfcc403bd0ce2860bd3633
+URL:           http://trac.enlightenment.org/e/wiki/Eet
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake >= 1.6
+BuildRequires: eina-devel >= 1.2.0
+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.2.0
+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
@@ -55,6 +58,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.2.0
+Requires:      gnutls-devel >= 1.7.6
+Requires:      libgcrypt-devel
 Requires:      libjpeg-devel
 Requires:      zlib-devel
 
@@ -77,15 +83,16 @@ Static Eet library.
 Statyczna biblioteka Eet.
 
 %prep
-%setup -q -n %{name}-%{version}-%{_snap}
+%setup -q
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -95,6 +102,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
 
@@ -103,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING COPYING-PLAIN 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
@@ -112,8 +122,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libeet.so
 %{_libdir}/libeet.la
+%{_includedir}/eet-1
 %{_pkgconfigdir}/eet.pc
-%{_includedir}/Eet.h
+%{_examplesdir}/%{name}-%{version}
 
 %if %{with static_libs}
 %files static
This page took 0.035021 seconds and 4 git commands to generate.