eet-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: eet
  2. Summary: Library for speedy data storage, retrieval, and compression
  3. Version: 1.1.0
  4. Release: 5%{?_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: 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. %description devel
  30. The %{name}-devel package contains libraries and header files for
  31. developing applications that use %{name}.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  40. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
  41. find $RPM_BUILD_ROOT -name '*.la' -delete
  42. # remove unfinished manpages
  43. find doc/man/man3 -size -100c -delete
  44. rm -f doc/man/man3/todo.3 # remove todo
  45. install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
  46. install -p -m 644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc AUTHORS COPYING COPYING-PLAIN README
  54. %{_bindir}/%{name}
  55. %{_libdir}/*.so.*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %doc doc/html
  59. %{_mandir}/man3/*
  60. %{_includedir}/*
  61. %{_libdir}/*.so
  62. %{_libdir}/pkgconfig/%{name}.pc
  63. %changelog
  64. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5
  65. - rebuilt with rpm-4.8.1 for pkg-config
  66. * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4
  67. - Initial build for Vine Linux
  68. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1
  73. - New upstream snapshot
  74. * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1
  75. - New upstream snapshot
  76. * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1
  77. - New upstream release, eet is out of beta now
  78. - Fixed pkg-config file
  79. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4
  80. - Added workaround for bug in eet.pc. Proper fix is commited upstream
  81. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3
  82. - Cleaned up documentation installation
  83. - Removed unneded dependency on zlib-devel from eet-devel
  84. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2
  85. - Fixed timestamp of source tarball
  86. - Preserve timestamps of installed files
  87. - Added pkgconfig to -devel dependencies
  88. - Added html docs
  89. * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1
  90. - Initial specfile for Eet