grilo/grilo.spec

171 lines
5.1 KiB
RPMSpec
Raw Normal View History

2012-08-31 19:11:14 +00:00
# first two digits of version
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
2011-05-04 14:02:04 +00:00
Name: grilo
Version: 0.2.6
2013-03-20 18:50:48 +00:00
Release: 1%{?dist}
2011-05-04 14:02:04 +00:00
Summary: Content discovery framework
Group: Applications/Multimedia
License: LGPLv2+
2012-08-31 19:11:14 +00:00
Source0: http://ftp.gnome.org/pub/GNOME/sources/grilo/%{release_version}/grilo-%{version}.tar.xz
2011-05-04 14:02:04 +00:00
Url: http://live.gnome.org/Grilo
2012-08-31 19:11:14 +00:00
BuildRequires: chrpath
2011-05-04 14:02:04 +00:00
BuildRequires: gnome-common
BuildRequires: vala-devel >= 0.7.2
BuildRequires: vala-tools >= 0.7.2
BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel >= 0.9.0
BuildRequires: libxml2-devel
BuildRequires: libsoup-devel
# For the test UI
2012-05-25 14:40:42 +00:00
BuildRequires: gtk3-devel
2011-05-04 14:02:04 +00:00
Requires: gobject-introspection
%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 gobject-introspection-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/Libraries
Requires: %{name}-devel = %{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 \
--enable-introspection \
--enable-grl-net \
--disable-tests
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
2012-08-31 19:11:14 +00:00
mkdir -p $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/grilo-%{release_version}/plugins/
# Remove rpath
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grl-inspect-%{release_version}
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grilo-test-ui-%{release_version}
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlnet-%{release_version}.so.*
2011-05-04 14:02:04 +00:00
# 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}/grilo-simple-playlist
%find_lang grilo
2011-05-04 14:02:04 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f grilo.lang
2011-05-04 14:02:04 +00:00
%doc AUTHORS COPYING NEWS README TODO
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
2012-08-31 19:11:14 +00:00
%{_bindir}/grl-inspect-%{release_version}
%{_bindir}/grilo-test-ui-%{release_version}
%{_libdir}/grilo-%{release_version}/
%{_datadir}/grilo-%{release_version}/plugins/
2011-07-04 10:07:34 +00:00
%{_mandir}/man1/grl-inspect.1.gz
2011-05-04 14:02:04 +00:00
%files devel
%doc AUTHORS COPYING NEWS README TODO
%{_datadir}/gtk-doc/html/%{name}
2012-08-31 19:11:14 +00:00
%{_includedir}/%{name}-%{release_version}/
2011-05-04 14:02:04 +00:00
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%files vala
%doc AUTHORS COPYING NEWS README TODO
2012-08-31 19:11:14 +00:00
%{_datadir}/vala/vapi/*
2011-05-04 14:02:04 +00:00
%changelog
* Sat May 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-1
- Update to 0.2.6
- Drop the vala sed hack, 0.2.6 now works with recent vala
- Include man pages
2013-03-20 18:50:48 +00:00
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.5-1
- Update to 0.2.5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-12-04 08:55:31 +00:00
* Tue Dec 04 2012 Bastien Nocera <bnocera@redhat.com> 0.2.4-1
- Update to 0.2.4
2012-11-13 21:47:02 +00:00
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> 0.2.3-1
- Update to 0.2.3
2012-10-05 07:32:15 +00:00
* Fri Oct 05 2012 Bastien Nocera <bnocera@redhat.com> 0.2.2-1
- Update to 0.2.2
2012-10-03 08:32:58 +00:00
* Wed Oct 03 2012 Bastien Nocera <bnocera@redhat.com> 0.2.1-1
- Update to 0.2.1
2012-08-31 19:11:14 +00:00
* Fri Aug 31 2012 Debarshi Ray <rishi@fedoraproject.org> 0.2.0-1
- update to 0.2.0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-05-25 14:02:24 +00:00
* Fri May 25 2012 Bastien Nocera <bnocera@redhat.com> 0.1.19-1
- Update to 0.1.19
2012-08-31 19:11:14 +00:00
* Wed Mar 7 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.18-3
2012-03-07 15:12:18 +00:00
- fix build with vala 0.15/0.16
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-12 11:50:43 +00:00
* Mon Dec 12 2011 Bastien Nocera <bnocera@redhat.com> 0.1.18-1
- Update to 0.1.18
2011-10-15 06:19:47 +00:00
* Fri Oct 14 2011 Adam Williamson <awilliam@redhat.com> 0.1.17-1
- update to 0.1.17
2011-07-04 09:56:29 +00:00
* Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 0.1.16-1
- Update to 0.1.16
2011-05-20 14:14:29 +00:00
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-3
- Own the grilo plugins directories
2011-05-04 14:02:04 +00:00
* Wed Apr 27 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-2
- Update with review comments
* Thu Apr 21 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-1
- Fist package, based on upstream work by Juan A.
Suarez Romero <jasuarez@igalia.com>