eet-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Name: eet
  2. Summary: Library for speedy data storage, retrieval, and compression
  3. Version: 1.4.1
  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 >= 1.0.1
  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. Summary(ja): %{name} の開発用ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description devel
  34. The %{name}-devel package contains libraries and header files for
  35. developing applications that use %{name}.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure --disable-static
  40. make %{?_smp_mflags}
  41. pushd doc
  42. make doc %{?_smp_mflags}
  43. popd
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  47. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
  48. find $RPM_BUILD_ROOT -name '*.la' -delete
  49. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version}
  50. # remove unfinished manpages
  51. find doc/man/man3 -size -100c -delete
  52. for l in todo %{name}.dox
  53. do
  54. rm -f doc/man/man3/$l.3
  55. done
  56. chmod -x doc/html/*
  57. install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
  58. install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
  59. # Rename overly generic manpage
  60. mv $RPM_BUILD_ROOT%{_mandir}/man3/deprecated.3 $RPM_BUILD_ROOT%{_mandir}/man3/eet-deprecated.3
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root,-)
  67. %doc AUTHORS ChangeLog COPYING README
  68. %{_bindir}/%{name}
  69. %{_libdir}/*.so.*
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %doc doc/html
  73. %{_mandir}/man3/*
  74. %{_includedir}/*
  75. %{_libdir}/*.so
  76. %{_libdir}/pkgconfig/%{name}.pc
  77. %changelog
  78. * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.1-1
  79. - new upstream release
  80. - resolve manpage conflict due to generic naming
  81. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
  82. - new upstream release
  83. - added BR: libeina-devel
  84. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6
  85. - rebuild with openssl-1.0.0c
  86. - add BuildRequires: openssl-devel
  87. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5
  88. - rebuilt with rpm-4.8.1 for pkg-config
  89. * Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4
  90. - Initial build for Vine Linux
  91. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  93. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  95. * Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1
  96. - New upstream snapshot
  97. * Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1
  98. - New upstream snapshot
  99. * Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1
  100. - New upstream release, eet is out of beta now
  101. - Fixed pkg-config file
  102. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4
  103. - Added workaround for bug in eet.pc. Proper fix is commited upstream
  104. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3
  105. - Cleaned up documentation installation
  106. - Removed unneded dependency on zlib-devel from eet-devel
  107. * Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2
  108. - Fixed timestamp of source tarball
  109. - Preserve timestamps of installed files
  110. - Added pkgconfig to -devel dependencies
  111. - Added html docs
  112. * Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1
  113. - Initial specfile for Eet