916fc30
Name:		xplayer-plparser
916fc30
Version:	1.0.2
102c071
Release:	6%{?dist}
916fc30
Summary:	Xplayer play-list parser
916fc30
916fc30
License:	LGPLv2+
916fc30
URL:		https://github.com/linuxmint/%{name}
916fc30
Source0:	%{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
102c071
Patch0:     %{url}/commit/600ec3dd3705e1968f219ff8ea96aada51ab2f04.patch#/port_to_meson.patch
916fc30
102c071
BuildRequires:	meson
916fc30
BuildRequires:	gettext
916fc30
BuildRequires:	libgcrypt-devel
916fc30
BuildRequires:	pkgconfig(gio-2.0)
916fc30
BuildRequires:	pkgconfig(glib-2.0)
916fc30
BuildRequires:	pkgconfig(gmime-2.6)
916fc30
BuildRequires:	pkgconfig(gobject-2.0)
916fc30
BuildRequires:	pkgconfig(gobject-introspection-1.0)
916fc30
BuildRequires:	pkgconfig(gthread-2.0)
916fc30
BuildRequires:	pkgconfig(libarchive)
65bdb3f
%if 0%{?fedora} || 0%{?rhel} >= 8
916fc30
BuildRequires:	pkgconfig(libquvi-0.9)
65bdb3f
%endif
916fc30
BuildRequires:	pkgconfig(libsoup-2.4)
916fc30
BuildRequires:	pkgconfig(libxml-2.0)
916fc30
916fc30
%description
916fc30
Xplayer-pl-parser is a simple GObject-based library to
916fc30
parse a host of play-list formats, as well as save those.
916fc30
916fc30
916fc30
%package devel
916fc30
Summary:	Development files for %{name}
916fc30
Requires:	%{name}%{?_isa}				== %{version}-%{release}
916fc30
916fc30
%description devel
916fc30
This package contains the development files for %{name}.
916fc30
916fc30
916fc30
%package doc
916fc30
Summary:	Documentation files for %{name}
916fc30
916fc30
BuildArch:	noarch
916fc30
BuildRequires:	gtk-doc
916fc30
916fc30
%description doc
916fc30
This package contains the documentation files for %{name}.
916fc30
916fc30
916fc30
%prep
916fc30
%autosetup -p 1
916fc30
916fc30
916fc30
%build
102c071
%meson -Denable-gtk-doc=true
102c071
%meson_build
916fc30
916fc30
916fc30
%install
102c071
%meson_install
916fc30
%{_bindir}/find %{buildroot} -name '*.a' -print -delete
916fc30
%{_bindir}/find %{buildroot} -name '*.la' -print -delete
916fc30
%find_lang xplayer-pl-parser
916fc30
916fc30
102c071
%ldconfig_scriptlets
916fc30
916fc30
916fc30
%files -f xplayer-pl-parser.lang
916fc30
%license AUTHORS COPYING* MAINTAINERS debian/copyright
916fc30
%doc ChangeLog NEWS README debian/changelog
916fc30
%{_libdir}/girepository-1.0/*.typelib
916fc30
%{_libdir}/lib%{name}*.so.*
65bdb3f
%if 0%{?fedora} || 0%{?rhel} >= 8
916fc30
%{_libexecdir}/xplayer-pl-parser-videosite
65bdb3f
%endif
916fc30
916fc30
916fc30
%files devel
916fc30
%{_datadir}/gir-1.0/*.gir
916fc30
%{_includedir}/xplayer-pl-parser
916fc30
%{_libdir}/lib%{name}*.so
916fc30
%{_libdir}/pkgconfig/%{name}*.pc
916fc30
916fc30
916fc30
%files doc
65bdb3f
%license %{_datadir}/licenses/%{name}*
65bdb3f
%doc %{_datadir}/doc/%{name}*
916fc30
%doc %{_datadir}/gtk-doc
916fc30
916fc30
916fc30
%changelog
102c071
* Tue Feb 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-6
102c071
- Add upstream meson port patch
102c071
4beae0e
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-5
4beae0e
- Escape macros in %%changelog
4beae0e
65bdb3f
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-4
65bdb3f
- Adaptions for EPEL7
65bdb3f
3e51ed1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
3e51ed1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3e51ed1
d25ae88
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
d25ae88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d25ae88
916fc30
* Tue Feb 21 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-1
916fc30
- Initial import (rhbz#1424851)
916fc30
916fc30
* Tue Feb 21 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-0.2
916fc30
- Move '%%{_libdir}/girepository-1.0/*.typelib' to main-pkg
4beae0e
- Move '%%{_datadir}/gir-1.0/*.gir' to devel-pkg
916fc30
916fc30
* Sun Feb 19 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-0.1
916fc30
- Initial rpm-release (rhbz#1424851)