summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2010-02-23 18:00:50 +0100
committerJuan A. Suarez Romero <jasuarez@igalia.com>2010-03-01 14:33:43 +0100
commit1b5ea554e127b336c2114ed12dfab770bb7113aa (patch)
tree8146038e3bdd02a4aca1639a4dd06b323144dd9a
parent1c0aabf59cfc2f55f20412bb83c772490999e649 (diff)
Add rpm packaging branchgrilo-0.1.3-1rpm
This branch is intended to build RPM packages. It has been tested with Fedora 12.
-rw-r--r--configure.ac1
-rw-r--r--grilo.spec.in101
2 files changed, 102 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a7583c0..c620a52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,6 +159,7 @@ AC_SUBST([builddir])
# ----------------------------------------------------------
AC_CONFIG_FILES([
+ grilo.spec
Makefile
grilo-0.1-uninstalled.pc
grilo-0.1.pc
diff --git a/grilo.spec.in b/grilo.spec.in
new file mode 100644
index 0000000..2b79f45
--- /dev/null
+++ b/grilo.spec.in
@@ -0,0 +1,101 @@
+Name: grilo
+Version: @VERSION@
+Release: 1
+Summary: Grilo framework
+
+Group: Applications/Multimedia
+License: LGPLv2+
+Source0: grilo-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gnome-common
+BuildRequires: vala-devel >= 0.7.2
+BuildRequires: gtk-doc
+#Requires:
+
+%description
+Grilo is a framework that provides access to different sources of
+multimedia content, using a pluggable system.
+This package contains the core library and elements.
+
+%package devel
+Summary: Libraries/include files for Grilo framework
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel
+
+%description devel
+Grilo is a framework that provides access to different sources of
+multimedia content, using a pluggable system.
+This package contains the core library and elements, as well as
+general and API documentation.
+
+%package vala
+Summary: Vala language bindings for Grilo framework
+Group: Development/Other
+
+Requires: %{name} = %{version}-%{release}
+Requires: vala >= 0.7.2
+
+%description vala
+Grilo is a framework that provides access to different sources of
+multimedia content, using a pluggable system.
+This package contains the Vala language bindings.
+
+%prep
+%setup -q
+
+
+%build
+%configure \
+ --enable-vala \
+ --enable-gtk-doc
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Remove files that will not be packaged
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+rm -f $RPM_BUILD_ROOT%{_bindir}/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README TODO
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README TODO
+%{_includedir}/%{name}-@GRL_MAJORMINOR@/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%doc %{_datadir}/gtk-doc/html/%{name}/*
+
+%files vala
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README TODO
+%{_datadir}/vala/vapi/%{name}-@GRL_MAJORMINOR@.vapi
+
+%changelog
+* Mon Mar 01 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.3-1
+- Added ranks to plugins
+- Added functions to search sources by capabilities
+- Gtk-doc for GrlMediaPlugin and GrlMetadataSource
+
+* Fri Feb 19 2010 Juan A. suarez Romero <jasuarez@igalia.com> - 0.1.2-1
+- Improved Vala bindings
+- Fixed some bugs
+- Started initial support for gtk-doc
+
+* Tue Feb 16 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.1-1
+- Initial release