[521] | 1 | Name: eet |
---|
[1916] | 2 | Summary: Library for speedy data storage, retrieval, and compression |
---|
[4454] | 3 | Version: 1.4.1 |
---|
[2784] | 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 |
---|
[4454] | 15 | BuildRequires: libeina-devel >= 1.0.1 |
---|
[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} |
---|
[4454] | 36 | Summary(ja): %{name} の開発用ファイル |
---|
[521] | 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | The %{name}-devel package contains libraries and header files for |
---|
| 42 | developing applications that use %{name}. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | %configure --disable-static |
---|
| 50 | make %{?_smp_mflags} |
---|
| 51 | |
---|
[2784] | 52 | pushd doc |
---|
| 53 | make doc %{?_smp_mflags} |
---|
| 54 | popd |
---|
[521] | 55 | |
---|
| 56 | %install |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 59 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name} |
---|
| 60 | find $RPM_BUILD_ROOT -name '*.la' -delete |
---|
[2784] | 61 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version} |
---|
| 62 | |
---|
[521] | 63 | # remove unfinished manpages |
---|
| 64 | find doc/man/man3 -size -100c -delete |
---|
[2784] | 65 | |
---|
| 66 | for l in todo %{name}.dox |
---|
| 67 | do |
---|
| 68 | rm -f doc/man/man3/$l.3 |
---|
| 69 | done |
---|
| 70 | |
---|
| 71 | chmod -x doc/html/* |
---|
| 72 | |
---|
[521] | 73 | install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
[2784] | 74 | install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
[521] | 75 | |
---|
[4454] | 76 | # Rename overly generic manpage |
---|
| 77 | mv $RPM_BUILD_ROOT%{_mandir}/man3/deprecated.3 $RPM_BUILD_ROOT%{_mandir}/man3/eet-deprecated.3 |
---|
| 78 | |
---|
[521] | 79 | %clean |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | %post -p /sbin/ldconfig |
---|
| 83 | |
---|
| 84 | %postun -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %files |
---|
| 88 | %defattr(-,root,root,-) |
---|
[2784] | 89 | %doc AUTHORS ChangeLog COPYING README |
---|
[521] | 90 | %{_bindir}/%{name} |
---|
| 91 | %{_libdir}/*.so.* |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %doc doc/html |
---|
| 96 | %{_mandir}/man3/* |
---|
| 97 | %{_includedir}/* |
---|
| 98 | %{_libdir}/*.so |
---|
| 99 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[4454] | 103 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | - resolve manpage conflict due to generic naming |
---|
| 106 | |
---|
[2784] | 107 | * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - added BR: libeina-devel |
---|
| 110 | |
---|
[2608] | 111 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6 |
---|
| 112 | - rebuild with openssl-1.0.0c |
---|
| 113 | - add BuildRequires: openssl-devel |
---|
| 114 | |
---|
[1916] | 115 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5 |
---|
| 116 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 117 | |
---|
[521] | 118 | * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4 |
---|
| 119 | - Initial build for Vine Linux |
---|
| 120 | |
---|
| 121 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1 |
---|
| 128 | - New upstream snapshot |
---|
| 129 | |
---|
| 130 | * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1 |
---|
| 131 | - New upstream snapshot |
---|
| 132 | |
---|
| 133 | * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1 |
---|
| 134 | - New upstream release, eet is out of beta now |
---|
| 135 | - Fixed pkg-config file |
---|
| 136 | |
---|
| 137 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4 |
---|
| 138 | - Added workaround for bug in eet.pc. Proper fix is commited upstream |
---|
| 139 | |
---|
| 140 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3 |
---|
| 141 | - Cleaned up documentation installation |
---|
| 142 | - Removed unneded dependency on zlib-devel from eet-devel |
---|
| 143 | |
---|
| 144 | * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2 |
---|
| 145 | - Fixed timestamp of source tarball |
---|
| 146 | - Preserve timestamps of installed files |
---|
| 147 | - Added pkgconfig to -devel dependencies |
---|
| 148 | - Added html docs |
---|
| 149 | |
---|
| 150 | * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1 |
---|
| 151 | - Initial specfile for Eet |
---|