libgee-vl.spec 3.8 KB

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