eet-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Name: eet
  2. Summary: Library for speedy data storage, retrieval, and compression
  3. Version: 1.1.0
  4. Release: 6%{?_dist_release}
  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: chrpath
  11. BuildRequires: libjpeg-turbo-devel
  12. BuildRequires: zlib-devel
  13. BuildRequires: openssl-devel
  14. BuildRequires: pkgconfig
  15. %description
  16. Eet is a tiny library designed to write an arbitary set of chunks of
  17. data to a file and optionally compress each chunk (very much like a
  18. zip file) and allow fast random-access reading of the file later
  19. on. It does not do zip as a zip itself has more complexity than is
  20. needed, and it was much simpler to implement this once here.
  21. It also can encode and decode data structures in memory, as well as
  22. image data for saving to eet files or sending across the network to
  23. other machines, or just writing to arbitary files on the system. All
  24. data is encoded in a platform independent way and can be written and
  25. read by any architecture.
  26. %package devel
  27. Summary: Development files for %{name}
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  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. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6
  66. - rebuild with openssl-1.0.0c
  67. - add BuildRequires: openssl-devel
  68. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5
  69. - rebuilt with rpm-4.8.1 for pkg-config
  70. * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4
  71. - Initial build for Vine Linux
  72. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1
  77. - New upstream snapshot
  78. * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1
  79. - New upstream snapshot
  80. * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1
  81. - New upstream release, eet is out of beta now
  82. - Fixed pkg-config file
  83. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4
  84. - Added workaround for bug in eet.pc. Proper fix is commited upstream
  85. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3
  86. - Cleaned up documentation installation
  87. - Removed unneded dependency on zlib-devel from eet-devel
  88. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2
  89. - Fixed timestamp of source tarball
  90. - Preserve timestamps of installed files
  91. - Added pkgconfig to -devel dependencies
  92. - Added html docs
  93. * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1
  94. - Initial specfile for Eet