2008-01-30 04:19:14 +00:00
|
|
|
Name: libgee
|
2009-03-02 15:53:09 +00:00
|
|
|
Version: 0.1.5
|
|
|
|
Release: 1%{?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
|
|
|
|
Source0: http://download.gnome.org/sources/libgee/0.1/libgee-%{version}.tar.bz2
|
2008-12-14 06:26:31 +00:00
|
|
|
Patch0: libgee-0.1.4-notest.diff
|
2008-01-30 04:19:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
libgee is a collection library providing GObject-based interfaces and
|
|
|
|
classes for commonly used data structures.
|
|
|
|
|
|
|
|
libgee provides the following interfaces:
|
|
|
|
|
|
|
|
* Iterable
|
|
|
|
* Collection
|
|
|
|
* List
|
|
|
|
* Set
|
|
|
|
* Iterator
|
|
|
|
* Map
|
|
|
|
|
|
|
|
The ArrayList, HashSet, and HashMap classes provide a reasonable sample
|
|
|
|
implementation of the List, Set, and Map interfaces. ReadOnlyCollection,
|
|
|
|
ReadOnlyList, ReadOnlySet, and ReadOnlyMap are read-only wrapper classes
|
|
|
|
that prevent modification of the underlying collection.
|
|
|
|
|
|
|
|
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}
|
|
|
|
# The Vala API binding is only one file; seems superfluous to have a subpackage
|
|
|
|
Requires: vala, pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-12-14 06:26:31 +00:00
|
|
|
%if 0%{?fedora} < 9
|
|
|
|
%patch0 -p1 -b .notest
|
|
|
|
%endif
|
2008-01-30 04:19:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
2008-08-25 05:58:36 +00:00
|
|
|
%check
|
2008-12-14 06:26:31 +00:00
|
|
|
%if 0%{?fedora} >= 9
|
2008-08-25 05:58:36 +00:00
|
|
|
make check
|
2008-12-14 06:26:31 +00:00
|
|
|
%endif
|
2008-08-25 05:58:36 +00:00
|
|
|
|
|
|
|
|
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 {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/gee-1.0.pc
|
|
|
|
%{_datadir}/vala/vapi/gee-1.0.vapi
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|