[521] | 1 | Name: eet |
---|
[1916] | 2 | Summary: Library for speedy data storage, retrieval, and compression |
---|
[2784] | 3 | Version: 1.4.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: MIT |
---|
| 8 | URL: http://web.enlightenment.org/p.php?p=about/efl/eet |
---|
[1916] | 9 | |
---|
[2784] | 10 | Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 |
---|
[521] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[1916] | 13 | BuildRequires: chrpath |
---|
[2784] | 14 | BuildRequires: doxygen |
---|
| 15 | BuildRequires: libeina-devel |
---|
[1916] | 16 | BuildRequires: libjpeg-turbo-devel |
---|
[2608] | 17 | BuildRequires: openssl-devel |
---|
[521] | 18 | BuildRequires: pkgconfig |
---|
[2784] | 19 | BuildRequires: zlib-devel |
---|
[521] | 20 | |
---|
| 21 | %description |
---|
| 22 | Eet is a tiny library designed to write an arbitary set of chunks of |
---|
| 23 | data to a file and optionally compress each chunk (very much like a |
---|
| 24 | zip file) and allow fast random-access reading of the file later |
---|
| 25 | on. It does not do zip as a zip itself has more complexity than is |
---|
| 26 | needed, and it was much simpler to implement this once here. |
---|
| 27 | |
---|
| 28 | It also can encode and decode data structures in memory, as well as |
---|
| 29 | image data for saving to eet files or sending across the network to |
---|
| 30 | other machines, or just writing to arbitary files on the system. All |
---|
| 31 | data is encoded in a platform independent way and can be written and |
---|
| 32 | read by any architecture. |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development files for %{name} |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | The %{name}-devel package contains libraries and header files for |
---|
| 41 | developing applications that use %{name}. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-static |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
[2784] | 51 | pushd doc |
---|
| 52 | make doc %{?_smp_mflags} |
---|
| 53 | popd |
---|
[521] | 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 58 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name} |
---|
| 59 | find $RPM_BUILD_ROOT -name '*.la' -delete |
---|
[2784] | 60 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version} |
---|
| 61 | |
---|
[521] | 62 | # remove unfinished manpages |
---|
| 63 | find doc/man/man3 -size -100c -delete |
---|
[2784] | 64 | |
---|
| 65 | for l in todo %{name}.dox |
---|
| 66 | do |
---|
| 67 | rm -f doc/man/man3/$l.3 |
---|
| 68 | done |
---|
| 69 | |
---|
| 70 | chmod -x doc/html/* |
---|
| 71 | |
---|
[521] | 72 | install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
[2784] | 73 | install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
[521] | 74 | |
---|
| 75 | %clean |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | |
---|
| 78 | %post -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | %postun -p /sbin/ldconfig |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %files |
---|
| 84 | %defattr(-,root,root,-) |
---|
[2784] | 85 | %doc AUTHORS ChangeLog COPYING README |
---|
[521] | 86 | %{_bindir}/%{name} |
---|
| 87 | %{_libdir}/*.so.* |
---|
| 88 | |
---|
| 89 | %files devel |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | %doc doc/html |
---|
| 92 | %{_mandir}/man3/* |
---|
| 93 | %{_includedir}/* |
---|
| 94 | %{_libdir}/*.so |
---|
| 95 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %changelog |
---|
[2784] | 99 | * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1 |
---|
| 100 | - new upstream release |
---|
| 101 | - added BR: libeina-devel |
---|
| 102 | |
---|
[2608] | 103 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6 |
---|
| 104 | - rebuild with openssl-1.0.0c |
---|
| 105 | - add BuildRequires: openssl-devel |
---|
| 106 | |
---|
[1916] | 107 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5 |
---|
| 108 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 109 | |
---|
[521] | 110 | * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4 |
---|
| 111 | - Initial build for Vine Linux |
---|
| 112 | |
---|
| 113 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3 |
---|
| 114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 115 | |
---|
| 116 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2 |
---|
| 117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 118 | |
---|
| 119 | * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1 |
---|
| 120 | - New upstream snapshot |
---|
| 121 | |
---|
| 122 | * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1 |
---|
| 123 | - New upstream snapshot |
---|
| 124 | |
---|
| 125 | * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1 |
---|
| 126 | - New upstream release, eet is out of beta now |
---|
| 127 | - Fixed pkg-config file |
---|
| 128 | |
---|
| 129 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4 |
---|
| 130 | - Added workaround for bug in eet.pc. Proper fix is commited upstream |
---|
| 131 | |
---|
| 132 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3 |
---|
| 133 | - Cleaned up documentation installation |
---|
| 134 | - Removed unneded dependency on zlib-devel from eet-devel |
---|
| 135 | |
---|
| 136 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2 |
---|
| 137 | - Fixed timestamp of source tarball |
---|
| 138 | - Preserve timestamps of installed files |
---|
| 139 | - Added pkgconfig to -devel dependencies |
---|
| 140 | - Added html docs |
---|
| 141 | |
---|
| 142 | * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1 |
---|
| 143 | - Initial specfile for Eet |
---|