Blame SPECS/grilo.spec

f73e2e
# first two digits of version
f73e2e
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
f73e2e
f73e2e
Name:           grilo
f73e2e
Version:        0.3.6
f73e2e
Release:        2%{?dist}
f73e2e
Summary:        Content discovery framework
f73e2e
f73e2e
License:        LGPLv2+
f73e2e
URL:            https://wiki.gnome.org/Projects/Grilo
f73e2e
Source0:        https://download.gnome.org/sources/grilo/%{release_version}/grilo-%{version}.tar.xz
f73e2e
Patch0001:      0001-Include-file-to-build-docs-with-meson.patch
f73e2e
f73e2e
BuildRequires:  meson
f73e2e
BuildRequires:  chrpath
f73e2e
BuildRequires:  gnome-common
f73e2e
BuildRequires:  intltool
f73e2e
BuildRequires:  vala >= 0.27.1
f73e2e
BuildRequires:  gtk-doc
f73e2e
BuildRequires:  gobject-introspection-devel >= 0.9.0
f73e2e
BuildRequires:  libxml2-devel
f73e2e
BuildRequires:  libsoup-devel
f73e2e
BuildRequires:  glib2-devel
f73e2e
# For the test UI
f73e2e
BuildRequires:  gtk3-devel
f73e2e
BuildRequires:  liboauth-devel
f73e2e
BuildRequires:  totem-pl-parser-devel
f73e2e
f73e2e
%description
f73e2e
Grilo is a framework that provides access to different sources of
f73e2e
multimedia content, using a pluggable system.
f73e2e
This package contains the core library and elements.
f73e2e
f73e2e
%package devel
f73e2e
Summary:        Libraries/include files for Grilo framework
f73e2e
Requires:       %{name}%{?_isa} = %{version}-%{release}
f73e2e
# Provide upgrade path for -vala subpackage that was merged into -devel during
f73e2e
# the F23 cycle
f73e2e
Obsoletes:      grilo-vala < 0.2.13
f73e2e
f73e2e
%description devel
f73e2e
Grilo is a framework that provides access to different sources of
f73e2e
multimedia content, using a pluggable system.
f73e2e
This package contains the core library and elements, as well as
f73e2e
general and API documentation.
f73e2e
f73e2e
%prep
f73e2e
%autosetup -p1
f73e2e
f73e2e
%build
f73e2e
%meson -Denable-gtk-doc=true
f73e2e
f73e2e
%meson_build
f73e2e
f73e2e
%install
f73e2e
%meson_install
f73e2e
f73e2e
mkdir -p $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/
f73e2e
mkdir -p $RPM_BUILD_ROOT%{_datadir}/grilo-%{release_version}/plugins/
f73e2e
f73e2e
# Remove rpath
f73e2e
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grl-inspect-%{release_version}
f73e2e
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grl-launch-%{release_version}
f73e2e
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grilo-test-ui-%{release_version}
f73e2e
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlnet-%{release_version}.so.*
f73e2e
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlpls-%{release_version}.so
f73e2e
f73e2e
# Remove files that will not be packaged
f73e2e
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
f73e2e
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
f73e2e
rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist
f73e2e
f73e2e
%find_lang grilo
f73e2e
f73e2e
%ldconfig_scriptlets
f73e2e
f73e2e
%files -f grilo.lang
f73e2e
%license COPYING
f73e2e
%doc AUTHORS NEWS README TODO
f73e2e
%{_libdir}/*.so.*
f73e2e
%{_libdir}/girepository-1.0/
f73e2e
%{_bindir}/grl-inspect-%{release_version}
f73e2e
%{_bindir}/grl-launch-%{release_version}
f73e2e
%{_bindir}/grilo-test-ui-%{release_version}
f73e2e
%{_libdir}/grilo-%{release_version}/
f73e2e
%{_datadir}/grilo-%{release_version}/
f73e2e
%{_mandir}/man1/grilo-test-ui-%{release_version}.1*
f73e2e
%{_mandir}/man1/grl-inspect-%{release_version}.1*
f73e2e
%{_mandir}/man1/grl-launch-%{release_version}.1*
f73e2e
f73e2e
%files devel
f73e2e
%{_datadir}/gtk-doc/html/%{name}
f73e2e
%{_includedir}/%{name}-%{release_version}/
f73e2e
%{_libdir}/*.so
f73e2e
%{_libdir}/pkgconfig/*.pc
f73e2e
%{_datadir}/gir-1.0/
f73e2e
%{_datadir}/vala/
f73e2e
f73e2e
%changelog
f73e2e
* Sat Jul 28 2018 Victor Toso <victortoso@redhat.com> - 0.3.6-2
f73e2e
- Switch to meson build system
f73e2e
f73e2e
* Fri Jul 27 2018 Victor Toso <victortoso@redhat.com> - 0.3.6-1
f73e2e
- Update to 0.3.6
f73e2e
f73e2e
* Wed Jul 18 2018 Victor Toso <victortoso@redhat.com> - 0.3.5-1
f73e2e
- Update to 0.3.5
f73e2e
f73e2e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f73e2e
f73e2e
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-2
f73e2e
- Switch to %%ldconfig_scriptlets
f73e2e
f73e2e
* Thu Aug 24 2017 Bastien Nocera <bnocera@redhat.com> - 0.3.4-1
f73e2e
+ grilo-0.3.4-1
f73e2e
- Update to 0.3.4
f73e2e
f73e2e
* Thu Aug 10 2017 Kalev Lember <klember@redhat.com> - 0.3.3-4
f73e2e
- Rebuilt for libtotem-plparser soname bump
f73e2e
f73e2e
* Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 0.3.3-3
f73e2e
- Rebuilt for libtotem-plparser soname bump
f73e2e
f73e2e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f73e2e
f73e2e
* Tue Feb 14 2017 Kalev Lember <klember@redhat.com> - 0.3.3-1
f73e2e
- Update to 0.3.3
f73e2e
f73e2e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f73e2e
f73e2e
* Mon Oct 17 2016 Kalev Lember <klember@redhat.com> - 0.3.2-4
f73e2e
- Stop providing grilo 0.2 ABI compatibility
f73e2e
f73e2e
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.3.2-3
f73e2e
- BR vala instead of obsolete vala-tools subpackage
f73e2e
f73e2e
* Wed Sep 21 2016 Bastien Nocera <bnocera@redhat.com> - 0.3.2-2
f73e2e
+ grilo-0.3.2-1
f73e2e
- Take ownership of /usr/share/grilo-0.3 not just its plugins subdir
f73e2e
f73e2e
* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 0.3.2-1
f73e2e
- Update to 0.3.2
f73e2e
- Don't set group tags
f73e2e
- Avoid requiring gobject-introspection for directory ownership
f73e2e
- Use make_install macro
f73e2e
f73e2e
* Wed Jun 22 2016 Richard Hughes <rhughes@redhat.com> - 0.3.1-1
f73e2e
- Update to 0.3.1
f73e2e
f73e2e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f73e2e
f73e2e
* Fri Dec 18 2015 Kalev Lember <klember@redhat.com> - 0.3.0-1
f73e2e
- Update to 0.3.0
f73e2e
- Update project URL
f73e2e
- Include previous ABI version for temporary binary compatibility
f73e2e
f73e2e
* Wed Sep 09 2015 Kalev Lember <klember@redhat.com> - 0.2.15-1
f73e2e
- Update to 0.2.15
f73e2e
f73e2e
* Tue Sep 08 2015 Kalev Lember <klember@redhat.com> - 0.2.13-1
f73e2e
- Update to 0.2.13
f73e2e
- Merge -vala subpackage into -devel
f73e2e
- Tighten -devel subpackage deps with the _isa macro
f73e2e
- Don't duplicate %%doc-marked files in -devel
f73e2e
- Mark COPYING as %%license
f73e2e
f73e2e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.12-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f73e2e
f73e2e
* Thu Feb 19 2015 Richard Hughes <rhughes@redhat.com> - 0.2.12-1
f73e2e
- Update to 0.2.12
f73e2e
f73e2e
* Sun Aug 24 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.11-1
f73e2e
- Update to 0.2.11
f73e2e
f73e2e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-4
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f73e2e
f73e2e
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.10-3
f73e2e
- Rebuilt for gobject-introspection 1.41.4
f73e2e
f73e2e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f73e2e
f73e2e
* Wed Mar 19 2014 Richard Hughes <rhughes@redhat.com> - 0.2.10-1
f73e2e
- Update to 0.2.10
f73e2e
f73e2e
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-2
f73e2e
- Build with totem-pl-parser and oauth support
f73e2e
f73e2e
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-1
f73e2e
- Update to 0.2.9
f73e2e
f73e2e
* Wed Feb 05 2014 Adam Williamson <awilliam@redhat.com> - 0.2.7-2
f73e2e
- backport some patches from upstream that are needed for totem
f73e2e
f73e2e
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.7-1
f73e2e
- Update to 0.2.7
f73e2e
f73e2e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f73e2e
f73e2e
* Sat May 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-1
f73e2e
- Update to 0.2.6
f73e2e
- Drop the vala sed hack, 0.2.6 now works with recent vala
f73e2e
- Include man pages
f73e2e
f73e2e
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.5-1
f73e2e
- Update to 0.2.5
f73e2e
f73e2e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f73e2e
f73e2e
* Tue Dec 04 2012 Bastien Nocera <bnocera@redhat.com> 0.2.4-1
f73e2e
- Update to 0.2.4
f73e2e
f73e2e
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> 0.2.3-1
f73e2e
- Update to 0.2.3
f73e2e
f73e2e
* Fri Oct 05 2012 Bastien Nocera <bnocera@redhat.com> 0.2.2-1
f73e2e
- Update to 0.2.2
f73e2e
f73e2e
* Wed Oct 03 2012 Bastien Nocera <bnocera@redhat.com> 0.2.1-1
f73e2e
- Update to 0.2.1
f73e2e
f73e2e
* Fri Aug 31 2012 Debarshi Ray <rishi@fedoraproject.org> 0.2.0-1
f73e2e
- update to 0.2.0
f73e2e
f73e2e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.19-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f73e2e
f73e2e
* Fri May 25 2012 Bastien Nocera <bnocera@redhat.com> 0.1.19-1
f73e2e
- Update to 0.1.19
f73e2e
f73e2e
* Wed Mar  7 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.18-3
f73e2e
- fix build with vala 0.15/0.16
f73e2e
f73e2e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.18-2
f73e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f73e2e
f73e2e
* Mon Dec 12 2011 Bastien Nocera <bnocera@redhat.com> 0.1.18-1
f73e2e
- Update to 0.1.18
f73e2e
f73e2e
* Fri Oct 14 2011 Adam Williamson <awilliam@redhat.com> 0.1.17-1
f73e2e
- update to 0.1.17
f73e2e
f73e2e
* Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 0.1.16-1
f73e2e
- Update to 0.1.16
f73e2e
f73e2e
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-3
f73e2e
- Own the grilo plugins directories
f73e2e
f73e2e
* Wed Apr 27 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-2
f73e2e
- Update with review comments
f73e2e
f73e2e
* Thu Apr 21 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-1
f73e2e
- Fist package, based on upstream work by Juan A.
f73e2e
  Suarez Romero <jasuarez@igalia.com>
f73e2e