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