libeina-vl.spec 3.5 KB

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