libgee-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: libgee
  2. Version: 0.5.1
  3. Release: 1%{?_dist_release}
  4. Summary: GObject collection library
  5. Summary(ja): GObject コレクションライブラリ
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://live.gnome.org/Libgee
  9. Source0: http://download.gnome.org/sources/libgee/0.5/libgee-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. %description
  13. libgee is a collection library providing GObject-based interfaces and
  14. classes for commonly used data structures.
  15. libgee provides the following interfaces:
  16. * Iterable
  17. * Collection
  18. * List
  19. * Set
  20. * Iterator
  21. * Map
  22. The ArrayList, HashSet, and HashMap classes provide a reasonable sample
  23. implementation of the List, Set, and Map interfaces. ReadOnlyCollection,
  24. ReadOnlyList, ReadOnlySet, and ReadOnlyMap are read-only wrapper classes
  25. that prevent modification of the underlying collection.
  26. libgee is written in Vala and can be used like any GObject-based C library.
  27. It's planned to provide bindings for further languages.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Summary(ja): %{name} の開発ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: gobject-introspection-devel
  34. # The Vala API binding is only one file; seems superfluous to have a subpackage
  35. Requires: vala, pkgconfig
  36. %description devel
  37. The %{name}-devel package contains libraries and header files for
  38. developing applications that use %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. make %{?_smp_mflags}
  44. %check
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/*
  60. %{_libdir}/*.so
  61. %{_libdir}/pkgconfig/gee-1.0.pc
  62. %{_datadir}/gir-1.0/Gee-1.0.gir
  63. %{_datadir}/vala/vapi/gee-1.0.vapi
  64. %changelog
  65. * Sun Jun 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1
  66. - new upstream release
  67. * Wed Dec 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  68. - intial build for VineSeed
  69. * Sat Oct 3 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.0-1
  70. - Update to 0.5.0
  71. * Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.3.0-1
  72. - Update to 0.3.0
  73. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  75. * Mon Mar 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.1.5-1
  76. - Update to 0.1.5
  77. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-2
  80. - Run unit tests only on releases with glib2 >= 2.16
  81. * Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-1
  82. - Update to 0.1.4
  83. * Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.3-1
  84. - Update to 0.1.3
  85. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.1-3
  86. - Autorebuild for GCC 4.3
  87. * Sun Jan 27 2008 Michel Salim <michel.sylvan@gmail.com> - 0.1.1-2
  88. - Move pkgconfig requirement to -devel subpackage
  89. * Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 0.1.1-1
  90. - Initial Fedora package