grilo/grilo.spec

234 lines
7.6 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
2016-06-22 11:59:59 +00:00
Version: 0.3.1
Release: 1%{?dist}
2011-05-04 14:02:04 +00:00
Summary: Content discovery framework
Group: Applications/Multimedia
License: LGPLv2+
2015-12-18 19:33:46 +00:00
URL: https://wiki.gnome.org/Projects/Grilo
Source0: https://download.gnome.org/sources/grilo/%{release_version}/grilo-%{version}.tar.xz
2011-05-04 14:02:04 +00:00
2012-08-31 19:11:14 +00:00
BuildRequires: chrpath
2011-05-04 14:02:04 +00:00
BuildRequires: gnome-common
2015-02-21 22:30:24 +00:00
BuildRequires: vala-devel >= 0.27.1
BuildRequires: vala-tools >= 0.27.1
2011-05-04 14:02:04 +00:00
BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel >= 0.9.0
BuildRequires: libxml2-devel
BuildRequires: libsoup-devel
BuildRequires: glib2-devel
2011-05-04 14:02:04 +00:00
# For the test UI
2012-05-25 14:40:42 +00:00
BuildRequires: gtk3-devel
BuildRequires: liboauth-devel
BuildRequires: totem-pl-parser-devel
# For previous ABI version
BuildRequires: grilo
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}%{?_isa} = %{version}-%{release}
2011-05-04 14:02:04 +00:00
Requires: glib2-devel gobject-introspection-devel
# Provide upgrade path for -vala subpackage that was merged into -devel during
# the F23 cycle
Obsoletes: grilo-vala < 0.2.13
2011-05-04 14:02:04 +00:00
%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.
%prep
%setup -q
%build
%configure \
--enable-vala \
--enable-gtk-doc \
--enable-introspection \
--enable-grl-net \
--disable-debug \
2011-05-04 14:02:04 +00:00
--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}
2014-08-24 18:31:58 +00:00
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grl-launch-%{release_version}
2012-08-31 19:11:14 +00:00
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grilo-test-ui-%{release_version}
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlnet-%{release_version}.so.*
2014-08-24 18:31:58 +00:00
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlpls-%{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
# Include previous ABI version for temporary binary compatibility until
# everything is rebuilt
cp -a %{_libdir}/libgrilo-0.2.so.1* $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libgrlnet-0.2.so.0* $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libgrlpls-0.2.so.0* $RPM_BUILD_ROOT%{_libdir}
%find_lang grilo
2011-05-04 14:02:04 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f grilo.lang
2015-09-08 20:22:03 +00:00
%license COPYING
%doc AUTHORS NEWS README TODO
2011-05-04 14:02:04 +00:00
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
2012-08-31 19:11:14 +00:00
%{_bindir}/grl-inspect-%{release_version}
2014-08-24 18:31:58 +00:00
%{_bindir}/grl-launch-%{release_version}
2012-08-31 19:11:14 +00:00
%{_bindir}/grilo-test-ui-%{release_version}
%{_libdir}/grilo-%{release_version}/
%{_datadir}/grilo-%{release_version}/plugins/
2015-02-21 22:30:24 +00:00
%{_mandir}/man1/grilo-test-ui-%{release_version}.1*
%{_mandir}/man1/grl-inspect-%{release_version}.1*
%{_mandir}/man1/grl-launch-%{release_version}.1*
2011-05-04 14:02:04 +00:00
%files devel
%{_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
%{_datadir}/vala/
2011-05-04 14:02:04 +00:00
%changelog
2016-06-22 11:59:59 +00:00
* Wed Jun 22 2016 Richard Hughes <rhughes@redhat.com> - 0.3.1-1
- Update to 0.3.1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-12-18 19:31:47 +00:00
* Fri Dec 18 2015 Kalev Lember <klember@redhat.com> - 0.3.0-1
- Update to 0.3.0
2015-12-18 19:33:46 +00:00
- Update project URL
- Include previous ABI version for temporary binary compatibility
2015-12-18 19:31:47 +00:00
2015-09-09 13:13:11 +00:00
* Wed Sep 09 2015 Kalev Lember <klember@redhat.com> - 0.2.15-1
- Update to 0.2.15
2015-09-08 20:11:59 +00:00
* Tue Sep 08 2015 Kalev Lember <klember@redhat.com> - 0.2.13-1
- Update to 0.2.13
- Merge -vala subpackage into -devel
- Tighten -devel subpackage deps with the _isa macro
- Don't duplicate %%doc-marked files in -devel
2015-09-08 20:22:03 +00:00
- Mark COPYING as %%license
2015-09-08 20:11:59 +00:00
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-19 13:07:38 +00:00
* Thu Feb 19 2015 Richard Hughes <rhughes@redhat.com> - 0.2.12-1
- Update to 0.2.12
2014-08-24 18:31:58 +00:00
* Sun Aug 24 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.11-1
- Update to 0.2.11
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.10-3
- Rebuilt for gobject-introspection 1.41.4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-03-19 14:35:40 +00:00
* Wed Mar 19 2014 Richard Hughes <rhughes@redhat.com> - 0.2.10-1
- Update to 0.2.10
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-2
- Build with totem-pl-parser and oauth support
2014-02-19 08:48:25 +00:00
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-1
- Update to 0.2.9
* Wed Feb 05 2014 Adam Williamson <awilliam@redhat.com> - 0.2.7-2
- backport some patches from upstream that are needed for totem
2013-09-18 21:46:13 +00:00
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.7-1
- Update to 0.2.7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* 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>