eet-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Name: eet
  2. Summary: Library for speedy data storage, retrieval, and compression
  3. Version: 1.4.0
  4. Release: 1%{?_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/releases/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: chrpath
  11. BuildRequires: doxygen
  12. BuildRequires: libeina-devel
  13. BuildRequires: libjpeg-turbo-devel
  14. BuildRequires: openssl-devel
  15. BuildRequires: pkgconfig
  16. BuildRequires: zlib-devel
  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. It also can encode and decode data structures in memory, as well as
  24. image data for saving to eet files or sending across the network to
  25. other machines, or just writing to arbitary files on the system. All
  26. data is encoded in a platform independent way and can be written and
  27. read by any architecture.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. %description devel
  33. The %{name}-devel package contains libraries and header files for
  34. developing applications that use %{name}.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. pushd doc
  41. make doc %{?_smp_mflags}
  42. popd
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  46. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
  47. find $RPM_BUILD_ROOT -name '*.la' -delete
  48. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version}
  49. # remove unfinished manpages
  50. find doc/man/man3 -size -100c -delete
  51. for l in todo %{name}.dox
  52. do
  53. rm -f doc/man/man3/$l.3
  54. done
  55. chmod -x doc/html/*
  56. install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
  57. install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %files
  63. %defattr(-,root,root,-)
  64. %doc AUTHORS ChangeLog COPYING README
  65. %{_bindir}/%{name}
  66. %{_libdir}/*.so.*
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %doc doc/html
  70. %{_mandir}/man3/*
  71. %{_includedir}/*
  72. %{_libdir}/*.so
  73. %{_libdir}/pkgconfig/%{name}.pc
  74. %changelog
  75. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
  76. - new upstream release
  77. - added BR: libeina-devel
  78. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6
  79. - rebuild with openssl-1.0.0c
  80. - add BuildRequires: openssl-devel
  81. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5
  82. - rebuilt with rpm-4.8.1 for pkg-config
  83. * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4
  84. - Initial build for Vine Linux
  85. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  87. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1
  90. - New upstream snapshot
  91. * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1
  92. - New upstream snapshot
  93. * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1
  94. - New upstream release, eet is out of beta now
  95. - Fixed pkg-config file
  96. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4
  97. - Added workaround for bug in eet.pc. Proper fix is commited upstream
  98. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3
  99. - Cleaned up documentation installation
  100. - Removed unneded dependency on zlib-devel from eet-devel
  101. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2
  102. - Fixed timestamp of source tarball
  103. - Preserve timestamps of installed files
  104. - Added pkgconfig to -devel dependencies
  105. - Added html docs
  106. * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1
  107. - Initial specfile for Eet