 |
libgee.spec |
|
%define majver %(echo %version | cut -d. -f 1-2)
Name: libgee
Version: 0.6.1
Release: 1mamba
Summary: GObject collection library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@...>
URL: http://live.gnome.org/Libgee
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libgee/%{majver}/libgee-%{version}.tar.gz
License: LGPL
BuildRequires: gobject-introspection-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRequires: vala-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* 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.
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
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: vala
%description devel
Libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures.
This package contains libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
Libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures.
This package contains static libraries need for development.
%prep
%setup -q
%build
%configure
%make
%check
make check
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgee.so.*
%{_libdir}/girepository-?.?/Gee-?.?.typelib
%doc AUTHORS COPYING ChangeLog* NEWS README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gee-?.?
%{_includedir}/gee-?.?/*.h
%{_libdir}/libgee.so
%{_exec_prefix}/lib/pkgconfig/gee-?.?.pc
%{_datadir}/gir-?.?/Gee-?.?.gir
%{_datadir}/vala/vapi/gee-?.?.vapi
%files static
%defattr(-,root,root)
%{_libdir}/libgee.*a
%changelog
* Mon Jan 31 2011 Silvan Calarco <silvan.calarco@...> 0.6.1-1mamba
- automatic port from devel-gil
* Tue Oct 19 2010 gil <puntogil@...> 0.6.0-1mamba
- update to 0.6.0
* Tue Dec 16 2008 gil <puntogil@...> 0.1.4-1mamba
- package created by autospec
|
|
|