2008-01-30 04:19:14 +00:00
|
|
|
Name: libgee
|
2012-01-31 00:58:30 +00:00
|
|
|
Version: 0.7.2
|
2012-07-19 19:51:26 +00:00
|
|
|
Release: 2%{?dist}
|
2008-01-30 04:19:14 +00:00
|
|
|
Summary: GObject collection library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://live.gnome.org/Libgee
|
2010-06-25 21:19:14 +00:00
|
|
|
#VCS: git:git://git.gnome.org/libgee
|
2011-09-01 16:07:20 +00:00
|
|
|
Source0: http://download.gnome.org/sources/libgee/0.7/libgee-%{version}.tar.xz
|
2012-01-12 17:16:55 +00:00
|
|
|
# manually fix the generated code otherwise 32-to-64 bit conversion is done and
|
|
|
|
# bad things happen for values >= 0x8000000, probably a Vala compiler bug, seems
|
|
|
|
# like something with abstract classes/methods, but needs a Vala expert, found
|
|
|
|
# on s390x, search for "implicit declaration of function ..." in build.log
|
|
|
|
Patch0: %{name}-0.7.1-declaration.patch
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
2010-08-26 00:51:36 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2010-12-12 23:10:45 +00:00
|
|
|
# Bootstrap requirements
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
BuildRequires: vala
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libgee is a collection library providing GObject-based interfaces and
|
|
|
|
classes for commonly used data structures.
|
|
|
|
|
|
|
|
libgee provides the following interfaces:
|
|
|
|
|
2010-09-17 10:40:33 +00:00
|
|
|
* Iterable
|
|
|
|
* Collection
|
|
|
|
* List
|
|
|
|
* Set
|
|
|
|
* MultiSet
|
|
|
|
* Queue
|
|
|
|
* Deque
|
|
|
|
* Iterator
|
|
|
|
* Map
|
|
|
|
* MultiMap
|
|
|
|
|
|
|
|
The ArrayList, HashSet, HashMap, HashMultiSet, HashMultiMap,
|
|
|
|
LinkedList, PriorityQueue, TreeSet, TreeMap, TreeMultiSet, and
|
|
|
|
TreeMultiMap classes provide a reasonable sample implementation of
|
|
|
|
those interfaces. In addition, a set of abstract classes are provided
|
|
|
|
to ease the implementation of new collections.
|
|
|
|
|
|
|
|
Around that, the API provide means to retrieve read-only views,
|
|
|
|
efficient sort algorithms, simple, bi-directional or index-based
|
|
|
|
mutable iterators depending on the collection type.
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
libgee is written in Vala and can be used like any GObject-based C library.
|
|
|
|
It's planned to provide bindings for further languages.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2011-09-01 15:34:40 +00:00
|
|
|
Requires: pkgconfig
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-01-12 17:16:55 +00:00
|
|
|
%patch0 -p1 -b .declaration
|
2011-09-01 16:07:20 +00:00
|
|
|
# ChangeLog not UTF8
|
|
|
|
iconv -f iso88591 -t utf8 ChangeLog -o ChangeLog.new
|
|
|
|
touch -r ChangeLog ChangeLog.new
|
|
|
|
mv ChangeLog.new ChangeLog
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-12-12 23:10:45 +00:00
|
|
|
(if ! test -x configure; then
|
|
|
|
NOCONFIGURE=1 ./autogen.sh;
|
|
|
|
CONFIGFLAGS=--enable-gtk-doc;
|
|
|
|
fi;
|
|
|
|
%configure --disable-static $CONFIGFLAGS
|
|
|
|
)
|
2008-01-30 04:19:14 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
2008-08-25 05:58:36 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
2008-01-30 04:19:14 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
|
|
|
%{_libdir}/*.so.*
|
2011-09-01 15:34:40 +00:00
|
|
|
%dir %{_libdir}/girepository-1.0
|
2011-09-01 16:07:20 +00:00
|
|
|
%{_libdir}/girepository-1.0/Gee-0.8.typelib
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
2011-09-01 16:07:20 +00:00
|
|
|
%{_libdir}/pkgconfig/gee-0.8.pc
|
2011-09-01 15:34:40 +00:00
|
|
|
%dir %{_datadir}/gir-1.0
|
2011-09-01 16:07:20 +00:00
|
|
|
%{_datadir}/gir-1.0/Gee-0.8.gir
|
2011-09-01 15:34:40 +00:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2011-09-01 16:07:20 +00:00
|
|
|
%{_datadir}/vala/vapi/gee-0.8.vapi
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-07-19 19:51:26 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-31 00:58:30 +00:00
|
|
|
* Tue Jan 31 2012 Michel Salim <salimma@fedoraproject.org> - 0.7.2-1
|
|
|
|
- Update to 0.7.2
|
|
|
|
|
2012-01-12 17:16:55 +00:00
|
|
|
* Thu Jan 12 2012 Dan Horák <dan[at]danny.cz> - 0.7.1-2
|
|
|
|
- fix build, see patch comment for details
|
|
|
|
|
2011-09-29 01:13:56 +00:00
|
|
|
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 0.7.1-1
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
2011-09-01 16:07:20 +00:00
|
|
|
* Thu Sep 1 2011 Michel Salim <salimma@fedoraproject.org> - 0.7.0-1
|
|
|
|
- Update to 0.7.0
|
|
|
|
|
2011-09-01 15:34:40 +00:00
|
|
|
* Thu Sep 1 2011 Michel Salim <salimma@fedoraproject.org> - 0.6.1-3
|
|
|
|
- Move typelib file to main package (# 735081)
|
|
|
|
- Re-enable unit tests on all Fedora releases
|
|
|
|
- -devel subpackage no longer depends on vala and gobject-introspection-devel
|
|
|
|
|
2011-02-08 06:00:06 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-02 08:49:46 +00:00
|
|
|
* Wed Feb 2 2011 Christopher Aillon <caillon@redhat.com> - 0.6.1-1
|
|
|
|
- Update to 0.6.1
|
|
|
|
|
2010-12-12 23:10:45 +00:00
|
|
|
* Sun Dec 12 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.0-2
|
|
|
|
- Update spec to support snapshot builds (# 609294)
|
|
|
|
|
2010-10-28 11:37:06 +00:00
|
|
|
* Thu Oct 28 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.0-1
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
2010-09-29 21:38:34 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 0.5.3-2
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-23 06:49:59 +00:00
|
|
|
* Thu Sep 23 2010 Michel Salim <salimma@fedoraproject.org> - 0.5.3-1
|
2010-09-17 10:40:33 +00:00
|
|
|
- Update to 0.5.3
|
2010-09-22 15:45:45 +00:00
|
|
|
- Rebuild against newer gobject-introspection
|
2010-09-17 10:40:33 +00:00
|
|
|
|
2010-08-26 00:51:36 +00:00
|
|
|
* Wed Aug 25 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.5.2-2
|
|
|
|
- Add BR on gobject-introspection-devel.
|
|
|
|
|
2010-08-26 00:38:29 +00:00
|
|
|
* Wed Aug 25 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.5.2-1
|
|
|
|
- Update to 0.5.2.
|
|
|
|
- Remove buildroot & clean section. No longer needed.
|
|
|
|
|
2010-06-17 21:05:09 +00:00
|
|
|
* Thu Jun 17 2010 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
|
|
|
|
- Update to 0.5.1
|
|
|
|
|
2009-10-03 10:50:25 +00:00
|
|
|
* Sat Oct 3 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.0-1
|
|
|
|
- Update to 0.5.0
|
|
|
|
|
2009-08-20 21:27:11 +00:00
|
|
|
* Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.3.0-1
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
2009-07-25 05:43:30 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-02 15:53:09 +00:00
|
|
|
* Mon Mar 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.1.5-1
|
|
|
|
- Update to 0.1.5
|
|
|
|
|
2009-02-25 15:05:57 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-14 06:26:31 +00:00
|
|
|
* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-2
|
|
|
|
- Run unit tests only on releases with glib2 >= 2.16
|
|
|
|
|
2008-12-13 07:15:56 +00:00
|
|
|
* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-1
|
|
|
|
- Update to 0.1.4
|
|
|
|
|
2008-08-25 05:17:18 +00:00
|
|
|
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.3-1
|
|
|
|
- Update to 0.1.3
|
|
|
|
|
2008-02-19 23:18:10 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.1-3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-30 04:19:14 +00:00
|
|
|
* Sun Jan 27 2008 Michel Salim <michel.sylvan@gmail.com> - 0.1.1-2
|
|
|
|
- Move pkgconfig requirement to -devel subpackage
|
|
|
|
|
|
|
|
* Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 0.1.1-1
|
|
|
|
- Initial Fedora package
|