Blame SPECS/grilo.spec

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