summaryrefslogtreecommitdiffstats
path: root/gnome
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-20 21:43:15 -0400
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-20 21:43:15 -0400
commit12feb9b0875297dd586ec9e8a711f91ef2f11303 (patch)
tree23a46fefef2aa992fb574f4bfef253227a68e119 /gnome
parent1a600b71340fe36774030be0c19f63aa7f384a82 (diff)
downloadspecs-12feb9b0875297dd586ec9e8a711f91ef2f11303.tar.gz
specs-12feb9b0875297dd586ec9e8a711f91ef2f11303.tar.xz
specs-12feb9b0875297dd586ec9e8a711f91ef2f11303.zip
compat-libgee01.spec: compatibility package to build rygel against,
since it strictly requires libgee 0.1.5
Diffstat (limited to 'gnome')
-rw-r--r--gnome/compat-libgee01.spec123
1 files changed, 123 insertions, 0 deletions
diff --git a/gnome/compat-libgee01.spec b/gnome/compat-libgee01.spec
new file mode 100644
index 0000000..f324b46
--- /dev/null
+++ b/gnome/compat-libgee01.spec
@@ -0,0 +1,123 @@
+Name: compat-libgee01
+Version: 0.1.5
+Release: 1%{?dist}
+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
+Patch0: libgee-0.1.4-notest.diff
+Patch1: libgee-0.1.5-gee01.patch
+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 -n libgee-%{version}
+%if 0%{?fedora} < 9
+%patch0 -p1 -b .notest
+%endif
+%patch1 -p1 -b .gee01
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%check
+%if 0%{?fedora} >= 9
+make check
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+# Move files to make parallel-installable with libgee
+mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gee-{1.0,0.1}.pc
+mv $RPM_BUILD_ROOT%{_includedir}/gee-{1.0,0.1}
+mv $RPM_BUILD_ROOT%{_libdir}/libgee{,01}.so
+mv $RPM_BUILD_ROOT%{_datadir}/vala/vapi/gee-{1.0,0.1}.vapi
+
+
+%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-0.1.pc
+%{_datadir}/vala/vapi/gee-0.1.vapi
+
+
+%changelog
+* Mon Mar 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.1.5-1
+- Update to 0.1.5
+
+* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-2
+- Run unit tests only on releases with glib2 >= 2.16
+
+* Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.4-1
+- Update to 0.1.4
+
+* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.3-1
+- Update to 0.1.3
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.1-3
+- Autorebuild for GCC 4.3
+
+* 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