eet-vl.spec 3.6 KB

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