libeina-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. %global _missing_doc_files_terminate_build 0
  2. Summary: Data Type Library
  3. Name: libeina
  4. Version: 1.0.1
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.enlightenment.org/
  9. Source: http://download.enlightenment.org/releases/eina-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: chrpath
  12. BuildRequires: pkgconfig
  13. BuildRequires: doxygen
  14. BuildRequires: check-devel
  15. %description
  16. Eina is a multi-platform library that provides optimized data types
  17. and useful tools for projects.
  18. %package devel
  19. Summary: Eina headers, documentation and test programs
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. Headers, test programs and documentation for %{name}.
  25. %prep
  26. %setup -q -n eina-%{version}
  27. # Avoid lib64 rpaths
  28. %if "%{_libdir}" != "/usr/lib"
  29. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  30. %endif
  31. %build
  32. %configure --disable-static
  33. ## Tested export for tests
  34. ## export LD_LIBRARY_PATH=$( pwd )/src/lib/.libs/libeina.so
  35. make %{?_smp_mflags}
  36. make doc %{?_smp_mflags}
  37. %install
  38. rm -rf %{buildroot}
  39. make install DESTDIR=%{buildroot}
  40. # remove unfinished manpages
  41. find doc/man/man3 -size -100c -delete
  42. for l in todo %{name}.dox
  43. do
  44. rm -f doc/man/man3/$l.3
  45. done
  46. mkdir -p %{buildroot}%{_mandir}/man3
  47. install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
  48. # remove libtool archive along with stripping
  49. find %{buildroot}/ -type f -iname '*.la' -exec rm {} \;
  50. find %{buildroot}/ -type f -iname '*.a' -exec rm {} \;
  51. ## Can be enabled when upstream fixed the tests
  52. ## needs --enable-tests with %%configure
  53. ## %check
  54. ## make check
  55. %clean
  56. rm -rf %{buildroot}
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %files
  60. %defattr(-,root,root,-)
  61. # No ChangeLog included. Zero byte.
  62. %doc AUTHORS COPYING
  63. %{_libdir}/*.so.*
  64. #%{_libdir}/eina
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_includedir}/*
  68. %{_mandir}/man3/*
  69. %{_libdir}/*.so
  70. %{_libdir}/pkgconfig/*
  71. %changelog
  72. * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1
  73. - new upstream release
  74. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3
  75. - Initial build for Vine Linux
  76. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  78. * Mon Jan 31 2011 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-1
  79. - final 1.0.0 release
  80. * Wed Dec 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta3
  81. - beta 3 release
  82. * Tue Nov 16 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta2
  83. - beta 2 release
  84. * Fri Nov 05 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta1
  85. - beta 1 release
  86. * Fri Jul 02 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49898-1
  87. - libeina 0.9.9.49898 snapshot release
  88. * Fri Jun 11 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49539-1
  89. - libeina 0.9.9.49539 snapshot release
  90. * Tue Feb 23 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-6
  91. - Disabled tests again until they are fixed
  92. * Mon Feb 22 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-5
  93. - Added missing BR doxygen check
  94. * Sun Feb 21 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-4
  95. - added Requires for -devel
  96. - corrected license
  97. - enabled tests
  98. * Fri Feb 19 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-3
  99. - name changed from eina-0 to libeina
  100. - spec fixes
  101. * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-2
  102. - added missing man pages
  103. * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-1
  104. - Initial Fedora release